Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP,fileNamePrefix="BuildingSystems_BuildingSystems_Technologies_Photovoltaics_Examples_PVModuleSimpleMPP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP,fileNamePrefix="BuildingSystems_BuildingSystems_Technologies_Photovoltaics_Examples_PVModuleSimpleMPP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7607/0.7607, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 178.3 kB / 187.3 MB, free: 11.88 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 221.3 MB / 441.4 MB, free: 4.598 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009371/0.0009374, allocations: 90.14 kB / 0.5124 GB, free: 24.2 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001742/0.001742, allocations: 283.2 kB / 0.594 GB, free: 7.945 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.144e-05/4.155e-05, allocations: 7.984 kB / 0.6835 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4897/0.4897, allocations: 82.77 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1428/0.6326, allocations: 123.2 MB / 0.8847 GB, free: 1.262 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003046/0.633, allocations: 81.67 kB / 0.8848 GB, free: 1.184 MB / 0.5417 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Interfaces/RadiationPort.mo:2:1-11:18:writable] Warning: Connector .BuildingSystems.Interfaces.RadiationPort is not balanced: The number of potential variables (5) is not equal to the number of flow variables (0). Notification: Performance of FrontEnd - DAE generated: time 0.05738/0.6904, allocations: 19.81 MB / 0.9041 GB, free: 13.27 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.784e-06/0.6904, allocations: 0 / 0.9041 GB, free: 13.27 MB / 0.573 GB Notification: Performance of Transformations before backend: time 4.301e-05/0.6905, allocations: 12 kB / 0.9041 GB, free: 13.26 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.001898/0.6924, allocations: 0.8591 MB / 0.905 GB, free: 12.35 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 5.335e-05/0.6924, allocations: 8.031 kB / 0.905 GB, free: 12.34 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001227/0.6926, allocations: 94.45 kB / 0.9051 GB, free: 12.24 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00293/0.6955, allocations: 0.5416 MB / 0.9056 GB, free: 11.7 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008316/0.6964, allocations: 452.8 kB / 0.906 GB, free: 11.21 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001553/0.6965, allocations: 118 kB / 0.9061 GB, free: 11.08 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000107/0.6966, allocations: 40 kB / 0.9062 GB, free: 11.04 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001201/0.6979, allocations: 0.6481 MB / 0.9068 GB, free: 10.38 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.6979, allocations: 0 / 0.9068 GB, free: 10.38 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.953e-05/0.698, allocations: 20 kB / 0.9068 GB, free: 10.36 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.264e-05/0.698, allocations: 12 kB / 0.9068 GB, free: 10.34 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00125/0.6992, allocations: 0.6988 MB / 0.9075 GB, free: 9.645 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004386/0.7036, allocations: 2.062 MB / 0.9095 GB, free: 7.531 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002116/0.7058, allocations: 0.8139 MB / 0.9103 GB, free: 6.707 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006321/0.7065, allocations: 346.4 kB / 0.9107 GB, free: 6.367 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002001/0.7085, allocations: 1.765 MB / 0.9124 GB, free: 4.211 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007506/0.7092, allocations: 426.9 kB / 0.9128 GB, free: 3.781 MB / 0.573 GB Notification: Performance of pre-optimization done (n=57): time 3.707e-06/0.7092, allocations: 0 / 0.9128 GB, free: 3.781 MB / 0.573 GB Notification: Performance of matching and sorting (n=57): time 0.003066/0.7123, allocations: 0.9092 MB / 0.9137 GB, free: 2.863 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000108/0.7124, allocations: 141 kB / 0.9138 GB, free: 2.691 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007293/0.7132, allocations: 423.2 kB / 0.9142 GB, free: 2.27 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 8.095e-05/0.7133, allocations: 37.7 kB / 0.9143 GB, free: 2.227 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002499/0.7135, allocations: 258.3 kB / 0.9145 GB, free: 1.973 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001929/0.7137, allocations: 189.2 kB / 0.9147 GB, free: 1.785 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.506e-05/0.7138, allocations: 16 kB / 0.9147 GB, free: 1.77 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001804/0.714, allocations: 362.8 kB / 0.915 GB, free: 1.406 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005133/0.7145, allocations: 277 kB / 0.9153 GB, free: 1.137 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006061/0.7151, allocations: 387.5 kB / 0.9157 GB, free: 0.7266 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005134/0.7156, allocations: 287.1 kB / 0.9159 GB, free: 460 kB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.7156, allocations: 0 / 0.9159 GB, free: 460 kB / 0.573 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.4604/1.176, allocations: 0.9725 MB / 0.9169 GB, free: 134.5 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 3.409e-05/1.176, allocations: 6.219 kB / 0.9169 GB, free: 134.5 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.402e-05/1.176, allocations: 5.969 kB / 0.9169 GB, free: 134.5 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007729/1.177, allocations: 159.8 kB / 0.9171 GB, free: 134.5 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001113/1.178, allocations: 181.2 kB / 0.9172 GB, free: 134.5 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003865/1.182, allocations: 1.981 MB / 0.9192 GB, free: 133.3 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00121/1.183, allocations: 146.5 kB / 0.9193 GB, free: 133.3 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.122e-05/1.183, allocations: 31.58 kB / 0.9193 GB, free: 133.3 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$PRE.weatherData.weatherData.conTim.tNext,weatherData.weatherData.conTim.tNext,radiation.outsidePolarCircle) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002008/1.183, allocations: 138.5 kB / 0.9195 GB, free: 133.2 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001259/1.184, allocations: 58.31 kB / 0.9195 GB, free: 133.2 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003717/1.187, allocations: 1.123 MB / 0.9206 GB, free: 133.1 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.239e-05/1.187, allocations: 10.09 kB / 0.9206 GB, free: 133.1 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/1.187, allocations: 0.5156 kB / 0.9206 GB, free: 133.1 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.406e-05/1.187, allocations: 4.562 kB / 0.9206 GB, free: 133.1 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005086/1.192, allocations: 1.939 MB / 0.9225 GB, free: 132.8 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.654e-06/1.192, allocations: 2.094 kB / 0.9225 GB, free: 132.8 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009786/1.193, allocations: 179.6 kB / 0.9227 GB, free: 132.8 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006424/1.194, allocations: 143.4 kB / 0.9228 GB, free: 132.8 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.397e-05/1.194, allocations: 23.16 kB / 0.9229 GB, free: 132.8 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003753/1.198, allocations: 2.012 MB / 0.9248 GB, free: 131.5 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/1.198, allocations: 0 / 0.9248 GB, free: 131.5 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003369/1.201, allocations: 1.077 MB / 0.9259 GB, free: 131.3 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004977/1.202, allocations: 243.5 kB / 0.9261 GB, free: 131.2 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.363e-05/1.202, allocations: 14.88 kB / 0.9261 GB, free: 131.2 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008269/1.203, allocations: 107.3 kB / 0.9262 GB, free: 131.2 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001654/1.203, allocations: 52.66 kB / 0.9263 GB, free: 131.2 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.223e-05/1.203, allocations: 33.95 kB / 0.9263 GB, free: 131.2 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0005582/1.204, allocations: 331 kB / 0.9266 GB, free: 131.1 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.6e-07/1.204, allocations: 0 / 0.9266 GB, free: 131.1 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001188/1.205, allocations: 286.2 kB / 0.9269 GB, free: 131.1 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,weatherData.weatherData.conTim.tNext) * Number of discrete states: 1 (weatherData.weatherData.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.004943/1.21, allocations: 2.043 MB / 0.9289 GB, free: 130.3 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001802/1.212, allocations: 0.8259 MB / 0.9297 GB, free: 130.2 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/1.212, allocations: 0 / 0.9297 GB, free: 130.2 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0007073/1.212, allocations: 0.5084 MB / 0.9302 GB, free: 129.9 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004763/1.213, allocations: 50.34 kB / 0.9302 GB, free: 129.9 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002068/1.215, allocations: 1.045 MB / 0.9313 GB, free: 129.4 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002959/1.215, allocations: 0.8953 MB / 0.9321 GB, free: 128.7 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.000664/1.216, allocations: 148.6 kB / 0.9323 GB, free: 128.7 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003751/1.216, allocations: 214.3 kB / 0.9325 GB, free: 128.6 MB / 0.573 GB Notification: Performance of SimCode: time 9.32e-07/1.216, allocations: 0 / 0.9325 GB, free: 128.6 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03485/1.251, allocations: 17.1 MB / 0.9492 GB, free: 123.6 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001741/1.251, allocations: 237.2 kB / 0.9494 GB, free: 123.3 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.68/3.931, allocations: 0 / 0.9494 GB, free: 123.3 MB / 0.573 GB (rm -f BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP.pipe ; mkfifo BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP.pipe >> ../files/BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Technologies_Photovoltaics_Examples_PVModuleSimpleMPP_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Technologies_Photovoltaics_Examples_PVModuleSimpleMPP.fmu > BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP.pipe 2>&1)