Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.conf.json 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/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,fileNamePrefix="Buildings_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001625/0.001625, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.759/1.759, allocations: 205.4 MB / 222.1 MB, free: 5.547 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.887/1.887, allocations: 292.6 MB / 0.5497 GB, free: 14.62 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005368/0.0005368, allocations: 11.97 kB / 0.6737 GB, free: 25.97 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2915/0.292, allocations: 116.3 MB / 0.7872 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads): time 0.03861/0.3307, allocations: 33.21 MB / 0.8197 GB, free: 10.58 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02354/0.3543, allocations: 12.84 MB / 0.8322 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003811/0.3581, allocations: 91.62 kB / 0.8323 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002536/0.3607, allocations: 0.7219 MB / 0.833 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.006325/0.367, allocations: 1.468 MB / 0.8344 GB, free: 11.42 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.007039/0.3741, allocations: 2.116 MB / 0.8365 GB, free: 9.309 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.006058/0.3802, allocations: 2.948 MB / 0.8394 GB, free: 6.352 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01554/0.3957, allocations: 10.05 MB / 0.8492 GB, free: 12.22 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003365/0.3992, allocations: 1.523 MB / 0.8507 GB, free: 10.69 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003569/0.4028, allocations: 1.697 MB / 0.8523 GB, free: 8.988 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0007971/0.4036, allocations: 252 kB / 0.8526 GB, free: 8.742 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001788/0.4054, allocations: 0.5268 MB / 0.8531 GB, free: 8.215 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.002134/0.4075, allocations: 1.836 MB / 0.8549 GB, free: 6.375 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001333/0.4089, allocations: 0.8161 MB / 0.8557 GB, free: 5.551 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.008356/0.4172, allocations: 7.621 MB / 0.8631 GB, free: 13.91 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.4173, allocations: 0 / 0.8631 GB, free: 13.91 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.775e-06/0.4173, allocations: 0 / 0.8631 GB, free: 13.91 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0002878/0.4176, allocations: 0 / 0.8631 GB, free: 13.91 MB / 0.6856 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.008339/0.4259, allocations: 3.436 MB / 0.8665 GB, free: 10.41 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.426, allocations: 12.02 kB / 0.8665 GB, free: 10.39 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001566/0.4276, allocations: 0.6441 MB / 0.8671 GB, free: 9.738 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004433/0.432, allocations: 0.9979 MB / 0.8681 GB, free: 8.734 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005704/0.4377, allocations: 2.151 MB / 0.8702 GB, free: 6.535 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002967/0.4381, allocations: 328.6 kB / 0.8705 GB, free: 6.211 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001046/0.4391, allocations: 424 kB / 0.8709 GB, free: 5.797 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01419/0.4533, allocations: 7.299 MB / 0.878 GB, free: 14.26 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001077/0.4535, allocations: 19.8 kB / 0.8781 GB, free: 14.24 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004544/0.4539, allocations: 183.9 kB / 0.8782 GB, free: 14.06 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003452/0.4543, allocations: 290.9 kB / 0.8785 GB, free: 13.78 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01121/0.4655, allocations: 5.924 MB / 0.8843 GB, free: 7.844 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0402/0.5057, allocations: 32.61 MB / 0.9161 GB, free: 4.375 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003398/0.5092, allocations: 2.107 MB / 0.9182 GB, free: 2.23 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001673/0.5094, allocations: 110 kB / 0.9183 GB, free: 2.105 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.064e-05/0.5094, allocations: 47.52 kB / 0.9184 GB, free: 2.051 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=98): time 2.825e-06/0.5094, allocations: 0 / 0.9184 GB, free: 2.051 MB / 0.7325 GB Notification: Performance of matching and sorting (n=101): time 0.5742/1.084, allocations: 5.228 MB / 0.9235 GB, free: 124 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.921e-05/1.084, allocations: 145.1 kB / 0.9236 GB, free: 123.8 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003254/1.087, allocations: 1.44 MB / 0.925 GB, free: 123.6 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0003358/1.087, allocations: 46.2 kB / 0.925 GB, free: 123.6 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0015/1.089, allocations: 1.855 MB / 0.9269 GB, free: 122.5 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005482/1.089, allocations: 377.6 kB / 0.9272 GB, free: 122.3 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001281/1.09, allocations: 44.34 kB / 0.9273 GB, free: 122.3 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000171/1.09, allocations: 392.1 kB / 0.9276 GB, free: 122 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001773/1.092, allocations: 1.1 MB / 0.9287 GB, free: 121.8 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001844/1.093, allocations: 2.17 MB / 0.9308 GB, free: 120.1 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002026/1.095, allocations: 1.525 MB / 0.9323 GB, free: 119.5 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.581e-05/1.095, allocations: 10.44 kB / 0.9323 GB, free: 119.5 MB / 0.7325 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.005085/1.101, allocations: 3.296 MB / 0.9355 GB, free: 118.3 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.002715/1.103, allocations: 13.42 MB / 0.9487 GB, free: 103.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.477e-05/1.103, allocations: 33.88 kB / 0.9487 GB, free: 103.9 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.744e-05/1.103, allocations: 56.44 kB / 0.9487 GB, free: 103.9 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002473/1.106, allocations: 0.6178 MB / 0.9493 GB, free: 103.9 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.411e-05/1.106, allocations: 69.67 kB / 0.9494 GB, free: 103.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002273/1.108, allocations: 308.2 kB / 0.9497 GB, free: 103.8 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001965/1.109, allocations: 113.8 kB / 0.9498 GB, free: 103.8 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/1.109, allocations: 10.75 kB / 0.9498 GB, free: 103.7 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005166/1.114, allocations: 2.735 MB / 0.9525 GB, free: 102.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.476e-05/1.114, allocations: 34 kB / 0.9525 GB, free: 102.7 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.307e-05/1.114, allocations: 56.94 kB / 0.9526 GB, free: 102.7 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002211/1.116, allocations: 0.5489 MB / 0.9531 GB, free: 102.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001211/1.116, allocations: 74.27 kB / 0.9532 GB, free: 102.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001923/1.118, allocations: 224.7 kB / 0.9534 GB, free: 102.6 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002555/1.118, allocations: 110.5 kB / 0.9535 GB, free: 102.6 MB / 0.7325 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 () * Number of clocked 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.004268/1.123, allocations: 1.711 MB / 0.9552 GB, free: 101.8 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006206/1.123, allocations: 154.7 kB / 0.9553 GB, free: 101.7 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003911/1.127, allocations: 2.229 MB / 0.9575 GB, free: 100.8 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.619e-05/1.127, allocations: 14.94 kB / 0.9575 GB, free: 100.8 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.294e-05/1.127, allocations: 1.406 kB / 0.9575 GB, free: 100.8 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.531e-05/1.127, allocations: 7.703 kB / 0.9575 GB, free: 100.8 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02268/1.15, allocations: 10.97 MB / 0.9682 GB, free: 96.54 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.175e-05/1.15, allocations: 10.84 kB / 0.9682 GB, free: 96.54 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001558/1.152, allocations: 383.8 kB / 0.9686 GB, free: 96.52 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.242e-05/1.152, allocations: 21.52 kB / 0.9686 GB, free: 96.51 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001067/1.152, allocations: 29.94 kB / 0.9687 GB, free: 96.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.849e-05/1.152, allocations: 29.92 kB / 0.9687 GB, free: 96.49 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-05/1.152, allocations: 17.2 kB / 0.9687 GB, free: 96.49 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003675/1.156, allocations: 3.477 MB / 0.9721 GB, free: 93.7 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001103/1.157, allocations: 472.3 kB / 0.9726 GB, free: 93.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002436/1.157, allocations: 27.69 kB / 0.9726 GB, free: 93.37 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001203/1.158, allocations: 170.4 kB / 0.9727 GB, free: 93.29 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001811/1.158, allocations: 95.48 kB / 0.9728 GB, free: 93.23 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.55e-05/1.158, allocations: 43.42 kB / 0.9729 GB, free: 93.22 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001301/1.16, allocations: 0.9608 MB / 0.9738 GB, free: 92.69 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/1.16, allocations: 3.938 kB / 0.9738 GB, free: 92.69 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.005041/1.165, allocations: 1.131 MB / 0.9749 GB, free: 92.61 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 104 * 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.00427/1.169, allocations: 7.285 MB / 0.982 GB, free: 86.04 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00622/1.175, allocations: 3.957 MB / 0.9859 GB, free: 84.11 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.578e-05/1.175, allocations: 3.875 kB / 0.9859 GB, free: 84.11 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.00133/1.177, allocations: 1.057 MB / 0.9869 GB, free: 83.57 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002101/1.179, allocations: 387.4 kB / 0.9873 GB, free: 83.32 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03067/1.21, allocations: 39.82 MB / 1.026 GB, free: 42.32 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002822/1.213, allocations: 2.936 MB / 1.029 GB, free: 39.36 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002847/1.215, allocations: 1.204 MB / 1.03 GB, free: 38.16 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001471/1.217, allocations: 1.284 MB / 1.031 GB, free: 36.88 MB / 0.7325 GB Notification: Performance of SimCode: time 1.893e-06/1.217, allocations: 4 kB / 1.031 GB, free: 36.87 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0717/1.289, allocations: 45.88 MB / 1.076 GB, free: 7.43 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002921/1.289, allocations: 203 kB / 1.076 GB, free: 7.18 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.428/4.717, allocations: 0 / 1.076 GB, free: 7.18 MB / 0.7481 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe 2>&1) Environment - environmentSimulation: