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.001139/0.001139, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001119/0.00112, allocations: 188.4 kB / 16.62 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.395/1.395, allocations: 205.1 MB / 222.5 MB, free: 4.535 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.674/1.674, allocations: 292.3 MB / 0.549 GB, free: 12.72 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.002333/0.002334, allocations: 73.61 kB / 0.6718 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2827/0.2851, allocations: 114.5 MB / 0.7836 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads): time 0.04264/0.3278, allocations: 37.26 MB / 0.82 GB, free: 7.855 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02475/0.3526, allocations: 13.57 MB / 0.8333 GB, free: 10.24 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004246/0.3569, allocations: 119.6 kB / 0.8334 GB, free: 10.12 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.006535/0.3635, allocations: 2.277 MB / 0.8356 GB, free: 7.844 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.004322/0.3678, allocations: 1.408 MB / 0.837 GB, free: 6.43 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.009774/0.3776, allocations: 3.523 MB / 0.8404 GB, free: 2.906 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.007598/0.3852, allocations: 6.371 MB / 0.8466 GB, free: 12.52 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01427/0.3996, allocations: 9.894 MB / 0.8563 GB, free: 2.492 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005051/0.4047, allocations: 2.735 MB / 0.859 GB, free: 15.75 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006164/0.4109, allocations: 3.198 MB / 0.8621 GB, free: 12.54 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.002303/0.4132, allocations: 0.6211 MB / 0.8627 GB, free: 11.92 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0036/0.4169, allocations: 1.225 MB / 0.8639 GB, free: 10.7 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.003828/0.4207, allocations: 2.48 MB / 0.8663 GB, free: 8.211 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.005876/0.4266, allocations: 2.545 MB / 0.8688 GB, free: 5.656 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0122/0.4389, allocations: 9.15 MB / 0.8777 GB, free: 12.48 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.4389, allocations: 0 / 0.8777 GB, free: 12.48 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.374e-06/0.4389, allocations: 0 / 0.8777 GB, free: 12.48 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0003274/0.4393, allocations: 4 kB / 0.8778 GB, free: 12.48 MB / 0.7012 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.01515/0.4544, allocations: 4.299 MB / 0.882 GB, free: 8.109 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 6.14e-05/0.4545, allocations: 15.97 kB / 0.882 GB, free: 8.094 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002576/0.4571, allocations: 0.6326 MB / 0.8826 GB, free: 7.449 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005152/0.4623, allocations: 0.952 MB / 0.8835 GB, free: 6.492 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005357/0.4677, allocations: 2.226 MB / 0.8857 GB, free: 4.223 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003869/0.4681, allocations: 329 kB / 0.886 GB, free: 3.898 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002052/0.4702, allocations: 420.3 kB / 0.8864 GB, free: 3.488 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02102/0.4912, allocations: 7.362 MB / 0.8936 GB, free: 11.89 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002233/0.4915, allocations: 11.92 kB / 0.8936 GB, free: 11.88 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001743/0.4933, allocations: 191.9 kB / 0.8938 GB, free: 11.69 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004358/0.4937, allocations: 282.9 kB / 0.8941 GB, free: 11.41 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01326/0.507, allocations: 5.967 MB / 0.8999 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5006/1.008, allocations: 32.35 MB / 0.9315 GB, free: 114.3 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003783/1.011, allocations: 2.106 MB / 0.9335 GB, free: 114.2 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00167/1.013, allocations: 1.235 MB / 0.9347 GB, free: 114.2 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001931/1.013, allocations: 108.3 kB / 0.9348 GB, free: 114.1 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/1.013, allocations: 48.92 kB / 0.9349 GB, free: 114.1 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=98): time 4.989e-06/1.013, allocations: 0.5625 kB / 0.9349 GB, free: 114.1 MB / 0.7325 GB Notification: Performance of matching and sorting (n=101): time 0.00822/1.022, allocations: 5.23 MB / 0.94 GB, free: 111.5 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.437e-05/1.022, allocations: 148.4 kB / 0.9401 GB, free: 111.3 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002296/1.024, allocations: 1.454 MB / 0.9416 GB, free: 110.8 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0002858/1.024, allocations: 47.97 kB / 0.9416 GB, free: 110.7 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001406/1.026, allocations: 1.853 MB / 0.9434 GB, free: 109.3 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005342/1.026, allocations: 377.2 kB / 0.9438 GB, free: 109 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009525/1.027, allocations: 459.5 kB / 0.9442 GB, free: 108.8 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 5.86e-05/1.027, allocations: 308.4 kB / 0.9445 GB, free: 108.5 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001944/1.029, allocations: 1.116 MB / 0.9456 GB, free: 108.1 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003227/1.033, allocations: 2.184 MB / 0.9477 GB, free: 106.4 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004798/1.037, allocations: 3.402 MB / 0.9511 GB, free: 104 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.599e-05/1.038, allocations: 10.44 kB / 0.9511 GB, free: 104 MB / 0.7325 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.006362/1.044, allocations: 3.315 MB / 0.9543 GB, free: 102.8 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.418e-05/1.044, allocations: 22.3 kB / 0.9543 GB, free: 102.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-05/1.044, allocations: 35.25 kB / 0.9544 GB, free: 102.8 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.004e-05/1.044, allocations: 47.72 kB / 0.9544 GB, free: 102.8 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00217/1.046, allocations: 0.6206 MB / 0.955 GB, free: 102.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.662e-05/1.046, allocations: 75.27 kB / 0.9551 GB, free: 102.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001969/1.048, allocations: 308 kB / 0.9554 GB, free: 102.6 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002333/1.049, allocations: 114.7 kB / 0.9555 GB, free: 102.6 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003502/1.052, allocations: 2.402 MB / 0.9578 GB, free: 101.7 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001893/1.054, allocations: 2.021 MB / 0.9598 GB, free: 99.93 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003788/1.058, allocations: 3.024 MB / 0.9628 GB, free: 97.72 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.693e-05/1.058, allocations: 10.47 kB / 0.9628 GB, free: 97.72 MB / 0.7325 GB Notification: Performance of matching and sorting (n=264) (initialization_lambda0): time 0.006066/1.064, allocations: 2.926 MB / 0.9656 GB, free: 96.23 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.542e-05/1.064, allocations: 21.22 kB / 0.9656 GB, free: 96.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.256e-05/1.064, allocations: 37.91 kB / 0.9657 GB, free: 96.23 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.336e-05/1.064, allocations: 48.38 kB / 0.9657 GB, free: 96.23 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001656/1.066, allocations: 0.5545 MB / 0.9663 GB, free: 96.08 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-05/1.066, allocations: 71.28 kB / 0.9663 GB, free: 96.06 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001966/1.068, allocations: 249.2 kB / 0.9666 GB, free: 95.93 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002124/1.068, allocations: 114.4 kB / 0.9667 GB, free: 95.91 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007925/1.069, allocations: 334.7 kB / 0.967 GB, free: 95.61 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000435/1.069, allocations: 160.9 kB / 0.9672 GB, free: 95.52 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002889/1.072, allocations: 2.211 MB / 0.9693 GB, free: 94.25 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-05/1.072, allocations: 15.81 kB / 0.9693 GB, free: 94.25 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.115e-05/1.072, allocations: 9.75 kB / 0.9693 GB, free: 94.24 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.584e-05/1.072, allocations: 4.891 kB / 0.9693 GB, free: 94.24 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01351/1.086, allocations: 10.98 MB / 0.9801 GB, free: 87.71 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-05/1.086, allocations: 7.938 kB / 0.9801 GB, free: 87.71 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001453/1.088, allocations: 391.6 kB / 0.9804 GB, free: 87.56 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.26e-05/1.088, allocations: 16.72 kB / 0.9805 GB, free: 87.56 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001544/1.088, allocations: 32.28 kB / 0.9805 GB, free: 87.55 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.027e-05/1.088, allocations: 22.95 kB / 0.9805 GB, free: 87.54 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.859e-06/1.088, allocations: 16.5 kB / 0.9805 GB, free: 87.54 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003046/1.091, allocations: 2.759 MB / 0.9832 GB, free: 85.64 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001065/1.092, allocations: 451.5 kB / 0.9837 GB, free: 85.24 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005015/1.092, allocations: 39.89 kB / 0.9837 GB, free: 85.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001441/1.094, allocations: 163.7 kB / 0.9838 GB, free: 85.04 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000257/1.094, allocations: 100.2 kB / 0.9839 GB, free: 84.95 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001113/1.094, allocations: 36.88 kB / 0.984 GB, free: 84.91 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001513/1.096, allocations: 0.9781 MB / 0.9849 GB, free: 83.93 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/1.096, allocations: 0 / 0.9849 GB, free: 83.93 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.005758/1.102, allocations: 1.129 MB / 0.986 GB, free: 82.8 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003756/1.105, allocations: 3.343 MB / 0.9893 GB, free: 79.29 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005733/1.111, allocations: 4.01 MB / 0.9932 GB, free: 75.3 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.812e-05/1.111, allocations: 4.938 kB / 0.9932 GB, free: 75.3 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001335/1.113, allocations: 1.063 MB / 0.9943 GB, free: 74.24 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003542/1.116, allocations: 450.4 kB / 0.9947 GB, free: 73.85 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0355/1.152, allocations: 21.61 MB / 1.016 GB, free: 50.81 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00426/1.156, allocations: 2.864 MB / 1.019 GB, free: 47.92 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.003107/1.159, allocations: 1.209 MB / 1.02 GB, free: 46.71 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002026/1.161, allocations: 1.272 MB / 1.021 GB, free: 45.44 MB / 0.7325 GB Notification: Performance of SimCode: time 1.453e-06/1.161, allocations: 0 / 1.021 GB, free: 45.44 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06998/1.231, allocations: 45.92 MB / 1.066 GB, free: 15.97 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.9/11.13, allocations: 10.88 kB / 1.066 GB, free: 15.96 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/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)