Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.581/1.581, allocations: 249.3 MB / 261.8 MB, free: 5.934 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001021/0.001021, allocations: 174.1 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.891/1.891, allocations: 205.2 MB / 0.572 GB, free: 10.71 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00111/0.001109, allocations: 90.48 kB / 0.6764 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.631e-05/3.633e-05, allocations: 0 / 0.788 GB, free: 97.01 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2491/0.2491, allocations: 106.3 MB / 0.8919 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8804/1.13, allocations: 174.7 MB / 1.062 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003571/1.13, allocations: 103.4 kB / 1.063 GB, free: 9.988 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.4031/1.533, allocations: 159.7 MB / 1.219 GB, free: 15.27 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.796e-06/1.533, allocations: 4 kB / 1.219 GB, free: 15.27 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0003679/1.534, allocations: 95.92 kB / 1.219 GB, free: 15.17 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1156 * Number of variables: 1156 Notification: Performance of Generate backend data structure: time 0.0132/1.547, allocations: 3.343 MB / 1.222 GB, free: 11.77 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.468e-05/1.547, allocations: 12.25 kB / 1.222 GB, free: 11.75 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003089/1.55, allocations: 0.6324 MB / 1.223 GB, free: 11.11 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007432/1.557, allocations: 0.9628 MB / 1.223 GB, free: 10.14 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007748/1.565, allocations: 2.291 MB / 1.226 GB, free: 7.801 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004794/1.566, allocations: 324.6 kB / 1.226 GB, free: 7.48 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002342/1.568, allocations: 427.9 kB / 1.226 GB, free: 7.062 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02312/1.591, allocations: 6.614 MB / 1.233 GB, free: 216 kB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002962/1.592, allocations: 11.88 kB / 1.233 GB, free: 204 kB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001971/1.594, allocations: 188 kB / 1.233 GB, free: 16 kB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004167/1.594, allocations: 251 kB / 1.233 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01439/1.608, allocations: 5.228 MB / 1.238 GB, free: 10.54 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6865/2.295, allocations: 32.46 MB / 1.27 GB, free: 212.4 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003942/2.299, allocations: 1.855 MB / 1.272 GB, free: 212.3 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001887/2.301, allocations: 1.074 MB / 1.273 GB, free: 212.2 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001951/2.301, allocations: 97.56 kB / 1.273 GB, free: 212.1 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.415e-05/2.301, allocations: 46.41 kB / 1.273 GB, free: 212.1 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=86): time 5.58e-06/2.301, allocations: 0 / 1.273 GB, free: 212.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=89): time 0.008114/2.309, allocations: 4.043 MB / 1.277 GB, free: 210.5 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.085e-05/2.31, allocations: 142.1 kB / 1.277 GB, free: 210.3 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002782/2.312, allocations: 1.451 MB / 1.279 GB, free: 210.1 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.00022/2.313, allocations: 45.36 kB / 1.279 GB, free: 210.1 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001512/2.314, allocations: 1.897 MB / 1.281 GB, free: 209.3 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004383/2.315, allocations: 337.3 kB / 1.281 GB, free: 209.1 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001162/2.315, allocations: 40.41 kB / 1.281 GB, free: 209.1 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001832/2.315, allocations: 390.9 kB / 1.281 GB, free: 208.8 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0018/2.317, allocations: 1.086 MB / 1.282 GB, free: 208.8 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00259/2.319, allocations: 2.15 MB / 1.284 GB, free: 207.4 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002657/2.322, allocations: 1.517 MB / 1.286 GB, free: 207.4 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.681e-05/2.322, allocations: 9.906 kB / 1.286 GB, free: 207.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.006311/2.328, allocations: 3.266 MB / 1.289 GB, free: 207.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.003872/2.332, allocations: 13.42 MB / 1.302 GB, free: 193.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001341/2.332, allocations: 34.09 kB / 1.302 GB, free: 193.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001434/2.333, allocations: 51.66 kB / 1.302 GB, free: 193.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003354/2.336, allocations: 0.6242 MB / 1.303 GB, free: 193.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000161/2.336, allocations: 79.97 kB / 1.303 GB, free: 193.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003647/2.34, allocations: 370.5 kB / 1.303 GB, free: 193.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006151/2.34, allocations: 116.1 kB / 1.303 GB, free: 193.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/2.34, allocations: 3.906 kB / 1.303 GB, free: 193.3 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006471/2.347, allocations: 2.712 MB / 1.306 GB, free: 193.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000177/2.347, allocations: 37.72 kB / 1.306 GB, free: 193.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000115/2.347, allocations: 52.06 kB / 1.306 GB, free: 193.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002497/2.35, allocations: 0.5551 MB / 1.307 GB, free: 193.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001584/2.35, allocations: 71.47 kB / 1.307 GB, free: 193.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002525/2.352, allocations: 249.1 kB / 1.307 GB, free: 193.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000504/2.353, allocations: 113.2 kB / 1.307 GB, free: 193.2 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (264): * Single equations (assignments): 264 * 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.001055/2.354, allocations: 249.1 kB / 1.307 GB, free: 193.1 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007875/2.355, allocations: 154.9 kB / 1.307 GB, free: 193 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004657/2.36, allocations: 1.891 MB / 1.309 GB, free: 192.9 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.961e-05/2.36, allocations: 13.5 kB / 1.309 GB, free: 192.9 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.358e-05/2.36, allocations: 2.266 kB / 1.309 GB, free: 192.9 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.049e-05/2.36, allocations: 5.812 kB / 1.309 GB, free: 192.9 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0185/2.378, allocations: 7.733 MB / 1.317 GB, free: 192 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.688e-05/2.378, allocations: 6.438 kB / 1.317 GB, free: 192 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001543/2.38, allocations: 336.9 kB / 1.317 GB, free: 192 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.705e-05/2.38, allocations: 11.53 kB / 1.317 GB, free: 192 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001644/2.38, allocations: 28.38 kB / 1.317 GB, free: 192 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.36e-05/2.38, allocations: 13.88 kB / 1.317 GB, free: 192 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.286e-05/2.38, allocations: 12.33 kB / 1.317 GB, free: 192 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004075/2.384, allocations: 2.715 MB / 1.32 GB, free: 190.7 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001467/2.386, allocations: 461 kB / 1.32 GB, free: 190.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006573/2.386, allocations: 21.84 kB / 1.32 GB, free: 190.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001648/2.388, allocations: 167.8 kB / 1.321 GB, free: 190.5 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002312/2.388, allocations: 78.27 kB / 1.321 GB, free: 190.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.659e-05/2.388, allocations: 35.47 kB / 1.321 GB, free: 190.5 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.002464/2.391, allocations: 1.071 MB / 1.322 GB, free: 190.4 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6.61e-07/2.391, allocations: 0 / 1.322 GB, free: 190.4 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.007053/2.398, allocations: 1.235 MB / 1.323 GB, free: 190.4 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (92): * Single equations (assignments): 92 * 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 Backend phase and start with SimCode phase: time 0.003698/2.402, allocations: 5.208 MB / 1.328 GB, free: 186.8 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.00569/2.407, allocations: 3.799 MB / 1.332 GB, free: 186.8 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.218e-05/2.407, allocations: 0 / 1.332 GB, free: 186.8 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001071/2.408, allocations: 0.8705 MB / 1.333 GB, free: 186.8 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002306/2.411, allocations: 379.1 kB / 1.333 GB, free: 186.8 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0173/2.428, allocations: 6.552 MB / 1.339 GB, free: 185.4 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005728/2.434, allocations: 2.932 MB / 1.342 GB, free: 184.6 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.004676/2.439, allocations: 1.255 MB / 1.343 GB, free: 184.6 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003223/2.442, allocations: 1.275 MB / 1.345 GB, free: 184.6 MB / 0.8698 GB Notification: Performance of SimCode: time 1.483e-06/2.442, allocations: 0 / 1.345 GB, free: 184.6 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08744/2.529, allocations: 47.32 MB / 1.391 GB, free: 182.4 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002492/2.53, allocations: 181.7 kB / 1.391 GB, free: 182.2 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.35/5.88, allocations: 0 / 1.391 GB, free: 182.2 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe 2>&1)