Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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) 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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.293/2.293, allocations: 393.5 MB / 408.4 MB, free: 11.05 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001622/0.001622, allocations: 183.9 kB / 0.4901 GB, free: 2.25 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.501/1.501, allocations: 223.1 MB / 0.7992 GB, free: 15.74 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009259/0.0009259, allocations: 98.36 kB / 0.9396 GB, free: 2.906 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003711/0.0003712, allocations: 9.219 kB / 1.09 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.28/0.2804, allocations: 143 MB / 1.229 GB, free: 85.42 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.498/4.778, allocations: 1.78 GB / 3.009 GB, free: 148.2 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003363/4.779, allocations: 109.4 kB / 3.009 GB, free: 148.1 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.35/6.128, allocations: 198.5 MB / 3.203 GB, free: 334.5 MB / 1.167 GB Notification: Performance of FrontEnd: time 5.911e-06/6.129, allocations: 0 / 3.203 GB, free: 334.5 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0008064/6.129, allocations: 107.3 kB / 3.203 GB, free: 334.5 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1152 * Number of variables: 1152 Notification: Performance of Generate backend data structure: time 0.02248/6.152, allocations: 3.984 MB / 3.207 GB, free: 332.7 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001122/6.152, allocations: 9.25 kB / 3.207 GB, free: 332.7 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005926/6.158, allocations: 0.6113 MB / 3.208 GB, free: 332.6 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01547/6.173, allocations: 1.873 MB / 3.21 GB, free: 332.4 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009471/6.183, allocations: 2.422 MB / 3.212 GB, free: 331.9 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005691/6.184, allocations: 330.2 kB / 3.212 GB, free: 331.8 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002702/6.186, allocations: 426.4 kB / 3.213 GB, free: 331.8 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02672/6.213, allocations: 6.573 MB / 3.219 GB, free: 331.2 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004484/6.214, allocations: 9.578 kB / 3.219 GB, free: 331.2 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002903/6.217, allocations: 188.3 kB / 3.219 GB, free: 331.2 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003958/6.217, allocations: 226.7 kB / 3.22 GB, free: 331.2 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01998/6.237, allocations: 6.604 MB / 3.226 GB, free: 331.1 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05412/6.291, allocations: 26.45 MB / 3.252 GB, free: 318.7 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01074/6.302, allocations: 4.252 MB / 3.256 GB, free: 318.5 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000983/6.303, allocations: 0.5149 MB / 3.256 GB, free: 318 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006083/6.309, allocations: 2.266 MB / 3.259 GB, free: 317.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=256): time 9.708e-06/6.309, allocations: 2.531 kB / 3.259 GB, free: 317.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=259): time 0.02316/6.332, allocations: 7.855 MB / 3.266 GB, free: 315.9 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002092/6.333, allocations: 458 kB / 3.267 GB, free: 315.4 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003889/6.336, allocations: 1.612 MB / 3.268 GB, free: 315.1 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0008395/6.337, allocations: 74.95 kB / 3.268 GB, free: 315.1 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.002135/6.339, allocations: 1.725 MB / 3.27 GB, free: 314.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.001497/6.341, allocations: 0.8603 MB / 3.271 GB, free: 313.7 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006491/6.342, allocations: 55.59 kB / 3.271 GB, free: 313.7 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0002891/6.342, allocations: 415 kB / 3.271 GB, free: 313.4 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004704/6.347, allocations: 1.699 MB / 3.273 GB, free: 313.4 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005314/6.352, allocations: 2.409 MB / 3.275 GB, free: 312.6 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005177/6.357, allocations: 1.979 MB / 3.277 GB, free: 312.5 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.789e-05/6.357, allocations: 3.812 kB / 3.277 GB, free: 312.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=348) (initialization): time 0.01295/6.37, allocations: 4.43 MB / 3.282 GB, free: 311.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.002577/6.373, allocations: 6.855 MB / 3.288 GB, free: 303.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.974e-05/6.373, allocations: 18.84 kB / 3.288 GB, free: 303.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001057/6.373, allocations: 30.06 kB / 3.288 GB, free: 303.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005332/6.378, allocations: 0.861 MB / 3.289 GB, free: 303.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001061/6.379, allocations: 37.92 kB / 3.289 GB, free: 303.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00476/6.383, allocations: 407.1 kB / 3.29 GB, free: 303.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008795/6.384, allocations: 143.8 kB / 3.29 GB, free: 303.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/6.384, allocations: 3.281 kB / 3.29 GB, free: 303.7 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01197/6.396, allocations: 3.904 MB / 3.294 GB, free: 302.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.831e-05/6.396, allocations: 19.56 kB / 3.294 GB, free: 302.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.978e-05/6.396, allocations: 33.81 kB / 3.294 GB, free: 302.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004628/6.401, allocations: 0.7914 MB / 3.294 GB, free: 302.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.883e-05/6.401, allocations: 45.73 kB / 3.295 GB, free: 302.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00443/6.406, allocations: 363.5 kB / 3.295 GB, free: 302.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006928/6.406, allocations: 137.4 kB / 3.295 GB, free: 302.1 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 76 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (348): * Single equations (assignments): 348 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004616/6.411, allocations: 1.325 MB / 3.296 GB, free: 301.4 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001325/6.412, allocations: 246.7 kB / 3.297 GB, free: 301.3 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01361/6.426, allocations: 4.613 MB / 3.301 GB, free: 299.5 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.235e-05/6.426, allocations: 25.31 kB / 3.301 GB, free: 299.5 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.253e-05/6.426, allocations: 3.938 kB / 3.301 GB, free: 299.5 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.831e-05/6.426, allocations: 11.34 kB / 3.301 GB, free: 299.5 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02551/6.452, allocations: 9.634 MB / 3.31 GB, free: 295.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.699e-05/6.452, allocations: 16.73 kB / 3.311 GB, free: 295.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004675/6.456, allocations: 0.7903 MB / 3.311 GB, free: 295.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.518e-05/6.457, allocations: 15.09 kB / 3.311 GB, free: 295.3 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005819/6.457, allocations: 75.09 kB / 3.311 GB, free: 295.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.28e-05/6.457, allocations: 11.53 kB / 3.311 GB, free: 295.2 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.626e-06/6.457, allocations: 7.312 kB / 3.311 GB, free: 295.2 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01162/6.469, allocations: 4.538 MB / 3.316 GB, free: 293 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002837/6.472, allocations: 0.8369 MB / 3.317 GB, free: 292.5 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00127/6.473, allocations: 48.66 kB / 3.317 GB, free: 292.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004016/6.477, allocations: 305.2 kB / 3.317 GB, free: 292.4 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004678/6.478, allocations: 166.5 kB / 3.317 GB, free: 292.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003644/6.478, allocations: 94.28 kB / 3.317 GB, free: 292.4 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.003576/6.482, allocations: 1.33 MB / 3.319 GB, free: 291.9 MB / 1.167 GB Notification: Performance of sort global known variables: time 6.22e-07/6.482, allocations: 0 / 3.319 GB, free: 291.9 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.01038/6.492, allocations: 1.436 MB / 3.32 GB, free: 291.7 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (279): * Single equations (assignments): 277 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01697/6.509, allocations: 6.265 MB / 3.326 GB, free: 286.1 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.01907/6.528, allocations: 6.179 MB / 3.332 GB, free: 280.9 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.825e-05/6.528, allocations: 4 kB / 3.332 GB, free: 280.9 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.005435/6.534, allocations: 2.052 MB / 3.334 GB, free: 279.2 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004626/6.538, allocations: 0.584 MB / 3.335 GB, free: 278.8 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06311/6.601, allocations: 33.46 MB / 3.367 GB, free: 246.4 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005351/6.607, allocations: 2.703 MB / 3.37 GB, free: 244.2 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.008802/6.616, allocations: 1.29 MB / 3.371 GB, free: 243.4 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004091/6.62, allocations: 1.625 MB / 3.373 GB, free: 241.9 MB / 1.167 GB Notification: Performance of SimCode: time 2.024e-06/6.62, allocations: 0 / 3.373 GB, free: 241.9 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1267/6.747, allocations: 69.36 MB / 3.441 GB, free: 177.3 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001724/6.747, allocations: 249.7 kB / 3.441 GB, free: 177 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.961/10.71, allocations: 2.672 kB / 3.441 GB, free: 177 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_res.mat does not exist to compare? outputFormat=mat