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.000799/0.000799, allocations: 86.8 kB / 15.06 MB, free: 1.09 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.0009939/0.0009939, allocations: 168.7 kB / 15.95 MB, free: 204 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.656/1.656, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.828/1.828, allocations: 292.7 MB / 0.5499 GB, free: 14.55 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.0006148/0.0006149, allocations: 16.61 kB / 0.6738 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.282/0.2826, allocations: 116.3 MB / 0.7874 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads): time 0.03612/0.3188, allocations: 33.9 MB / 0.8205 GB, free: 9.855 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02065/0.3395, allocations: 12.87 MB / 0.8331 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00335/0.3429, allocations: 99.62 kB / 0.8332 GB, free: 12.85 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.00178/0.3447, allocations: 0.5855 MB / 0.8338 GB, free: 12.26 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.003252/0.3479, allocations: 1.081 MB / 0.8348 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004802/0.3527, allocations: 1.523 MB / 0.8363 GB, free: 9.652 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.007602/0.3604, allocations: 7.269 MB / 0.8434 GB, free: 2.363 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01521/0.3756, allocations: 10.06 MB / 0.8532 GB, free: 8.223 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003868/0.3795, allocations: 1.865 MB / 0.855 GB, free: 6.352 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004761/0.3843, allocations: 2.648 MB / 0.8576 GB, free: 3.695 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0007022/0.385, allocations: 252 kB / 0.8579 GB, free: 3.449 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001623/0.3867, allocations: 0.5425 MB / 0.8584 GB, free: 2.906 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001966/0.3886, allocations: 1.992 MB / 0.8603 GB, free: 0.9102 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001224/0.3899, allocations: 0.8161 MB / 0.8611 GB, free: 88 kB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.009821/0.3997, allocations: 7.648 MB / 0.8686 GB, free: 8.414 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 1.193e-05/0.3998, allocations: 0 / 0.8686 GB, free: 8.414 MB / 0.6856 GB Notification: Performance of FrontEnd: time 6.211e-06/0.3998, allocations: 0 / 0.8686 GB, free: 8.414 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0004233/0.4002, allocations: 4 kB / 0.8686 GB, free: 8.41 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.009756/0.41, allocations: 3.436 MB / 0.872 GB, free: 4.91 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.222e-05/0.4101, allocations: 12.03 kB / 0.872 GB, free: 4.898 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001868/0.4119, allocations: 0.6324 MB / 0.8726 GB, free: 4.254 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004498/0.4165, allocations: 0.9511 MB / 0.8735 GB, free: 3.297 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004682/0.4212, allocations: 2.151 MB / 0.8756 GB, free: 1.098 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002885/0.4215, allocations: 324.6 kB / 0.8759 GB, free: 0.7773 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001452/0.4229, allocations: 435.9 kB / 0.8764 GB, free: 360 kB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01876/0.4417, allocations: 7.33 MB / 0.8835 GB, free: 8.785 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001166/0.4419, allocations: 15.8 kB / 0.8835 GB, free: 8.77 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005933/0.4425, allocations: 180 kB / 0.8837 GB, free: 8.594 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000333/0.4428, allocations: 290.9 kB / 0.884 GB, free: 8.309 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01191/0.4547, allocations: 5.932 MB / 0.8898 GB, free: 2.367 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4876/0.9424, allocations: 32.61 MB / 0.9216 GB, free: 120.6 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003627/0.946, allocations: 2.106 MB / 0.9237 GB, free: 120.5 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001726/0.9478, allocations: 1.237 MB / 0.9249 GB, free: 120.4 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000165/0.948, allocations: 103.6 kB / 0.925 GB, free: 120.3 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.281e-05/0.948, allocations: 53.66 kB / 0.925 GB, free: 120.3 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=98): time 2.885e-06/0.948, allocations: 1.75 kB / 0.925 GB, free: 120.3 MB / 0.7325 GB Notification: Performance of matching and sorting (n=101): time 0.00653/0.9546, allocations: 5.226 MB / 0.9301 GB, free: 118.7 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.021e-05/0.9547, allocations: 146.1 kB / 0.9303 GB, free: 118.5 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002084/0.9567, allocations: 1.44 MB / 0.9317 GB, free: 118.3 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001048/0.9569, allocations: 46.05 kB / 0.9317 GB, free: 118.3 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001201/0.9581, allocations: 1.859 MB / 0.9335 GB, free: 117.1 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003459/0.9584, allocations: 383.2 kB / 0.9339 GB, free: 116.8 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001165/0.9586, allocations: 40.75 kB / 0.9339 GB, free: 116.8 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001654/0.9587, allocations: 390.4 kB / 0.9343 GB, free: 116.5 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001639/0.9604, allocations: 1.102 MB / 0.9354 GB, free: 116.1 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002249/0.9626, allocations: 2.18 MB / 0.9375 GB, free: 114.3 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002386/0.965, allocations: 1.518 MB / 0.939 GB, free: 113.8 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.223e-05/0.9651, allocations: 9.531 kB / 0.939 GB, free: 113.8 MB / 0.7325 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.006221/0.9713, allocations: 3.296 MB / 0.9422 GB, free: 112.6 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006364/0.972, allocations: 1.088 MB / 0.9433 GB, free: 111.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.282e-05/0.9721, allocations: 37.69 kB / 0.9433 GB, free: 111.1 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001248/0.9722, allocations: 52.5 kB / 0.9434 GB, free: 111.1 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002254/0.9745, allocations: 0.6251 MB / 0.944 GB, free: 111 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.817e-05/0.9746, allocations: 71.2 kB / 0.9441 GB, free: 111 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001993/0.9766, allocations: 309.1 kB / 0.9444 GB, free: 110.9 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002131/0.9768, allocations: 114 kB / 0.9445 GB, free: 110.9 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/0.9768, allocations: 3.938 kB / 0.9445 GB, free: 110.9 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004418/0.9812, allocations: 2.734 MB / 0.9471 GB, free: 109.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.673e-05/0.9813, allocations: 34.58 kB / 0.9472 GB, free: 109.9 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.847e-05/0.9814, allocations: 56.38 kB / 0.9472 GB, free: 109.9 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00175/0.9832, allocations: 0.5551 MB / 0.9478 GB, free: 109.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.708e-05/0.9833, allocations: 70.25 kB / 0.9478 GB, free: 109.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001452/0.9847, allocations: 224 kB / 0.948 GB, free: 109.7 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001624/0.9849, allocations: 110.5 kB / 0.9482 GB, free: 109.7 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.002769/0.9877, allocations: 1.711 MB / 0.9498 GB, free: 108.9 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003954/0.9881, allocations: 159.3 kB / 0.95 GB, free: 108.8 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003246/0.9913, allocations: 2.224 MB / 0.9521 GB, free: 108 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-05/0.9914, allocations: 15.14 kB / 0.9522 GB, free: 108 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.173e-05/0.9914, allocations: 4.922 kB / 0.9522 GB, free: 108 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.181e-05/0.9914, allocations: 4.938 kB / 0.9522 GB, free: 108 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01442/1.006, allocations: 10.97 MB / 0.9629 GB, free: 102.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.458e-05/1.006, allocations: 14.44 kB / 0.9629 GB, free: 102.9 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001238/1.007, allocations: 386.1 kB / 0.9633 GB, free: 102.7 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.856e-05/1.007, allocations: 17.44 kB / 0.9633 GB, free: 102.7 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.993e-05/1.007, allocations: 35.27 kB / 0.9633 GB, free: 102.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.819e-05/1.007, allocations: 23.08 kB / 0.9633 GB, free: 102.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.177e-05/1.007, allocations: 27.06 kB / 0.9634 GB, free: 102.7 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00285/1.01, allocations: 2.747 MB / 0.966 GB, free: 100.8 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006839/1.011, allocations: 471.2 kB / 0.9665 GB, free: 100.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002007/1.011, allocations: 33.73 kB / 0.9665 GB, free: 100.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001103/1.012, allocations: 172.5 kB / 0.9667 GB, free: 100.4 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001585/1.012, allocations: 98 kB / 0.9668 GB, free: 100.3 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.455e-05/1.012, allocations: 42.25 kB / 0.9668 GB, free: 100.3 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.00108/1.014, allocations: 0.9603 MB / 0.9678 GB, free: 99.8 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/1.014, allocations: 0 / 0.9678 GB, free: 99.8 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003786/1.017, allocations: 1.13 MB / 0.9689 GB, free: 99.73 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.00266/1.02, allocations: 3.343 MB / 0.9721 GB, free: 97.27 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004768/1.025, allocations: 3.961 MB / 0.976 GB, free: 95.11 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/1.025, allocations: 0 / 0.976 GB, free: 95.11 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001111/1.026, allocations: 1.06 MB / 0.977 GB, free: 94.06 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002055/1.028, allocations: 401.8 kB / 0.9774 GB, free: 93.68 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01984/1.048, allocations: 16.76 MB / 0.9938 GB, free: 75.97 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002522/1.05, allocations: 2.869 MB / 0.9966 GB, free: 73.07 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.003074/1.054, allocations: 1.204 MB / 0.9978 GB, free: 71.88 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00188/1.055, allocations: 1.288 MB / 0.999 GB, free: 70.59 MB / 0.7325 GB Notification: Performance of SimCode: time 2.073e-06/1.055, allocations: 0 / 0.999 GB, free: 70.59 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05438/1.11, allocations: 45.92 MB / 1.044 GB, free: 25.11 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001469/1.11, allocations: 212 kB / 1.044 GB, free: 24.86 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.744/3.854, allocations: 0 / 1.044 GB, free: 24.86 MB / 0.7325 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: