Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001664/0.001664, allocations: 110.1 kB / 19.73 MB, free: 2.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002065/0.002065, allocations: 217.7 kB / 23.04 MB, free: 5.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.375/1.375, allocations: 230.6 MB / 256.8 MB, free: 7.973 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.991/2.991, allocations: 0.49 GB / 0.7959 GB, free: 33.29 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001957/0.001957, allocations: 70.73 kB / 1.155 GB, free: 25.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.338/0.3399, allocations: 176.1 MB / 1.327 GB, free: 1.984 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.02083/0.3608, allocations: 16.79 MB / 1.343 GB, free: 1.141 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.008788/0.3696, allocations: 5.011 MB / 1.348 GB, free: 12.11 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001209/0.3708, allocations: 87.38 kB / 1.348 GB, free: 12.03 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.002924/0.3737, allocations: 1.092 MB / 1.349 GB, free: 10.93 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.002033/0.3757, allocations: 0.7815 MB / 1.35 GB, free: 10.15 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002385/0.3781, allocations: 0.9563 MB / 1.351 GB, free: 9.191 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.004488/0.3826, allocations: 3.622 MB / 1.354 GB, free: 5.559 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003605/0.3862, allocations: 2.454 MB / 1.357 GB, free: 3.031 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002643/0.3888, allocations: 1.621 MB / 1.358 GB, free: 1.406 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003132/0.392, allocations: 1.881 MB / 1.36 GB, free: 15.52 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0005682/0.3925, allocations: 344 kB / 1.36 GB, free: 15.18 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001695/0.3942, allocations: 0.8153 MB / 1.361 GB, free: 14.37 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.001518/0.3958, allocations: 1.356 MB / 1.363 GB, free: 13.01 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001874/0.3976, allocations: 1.455 MB / 1.364 GB, free: 11.55 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.005959/0.4036, allocations: 5.148 MB / 1.369 GB, free: 6.383 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.4036, allocations: 0 / 1.369 GB, free: 6.383 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.184e-06/0.4036, allocations: 0 / 1.369 GB, free: 6.383 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0001373/0.4037, allocations: 4 kB / 1.369 GB, free: 6.379 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.006071/0.4098, allocations: 2.642 MB / 1.372 GB, free: 3.691 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/0.4099, allocations: 12.03 kB / 1.372 GB, free: 3.68 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 8.02e-05/0.4099, allocations: 60.97 kB / 1.372 GB, free: 3.617 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005461/0.4105, allocations: 374.5 kB / 1.372 GB, free: 3.242 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004011/0.4145, allocations: 0.842 MB / 1.373 GB, free: 2.398 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00346/0.418, allocations: 1.539 MB / 1.374 GB, free: 0.8281 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001679/0.4181, allocations: 177.1 kB / 1.375 GB, free: 0.6523 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005584/0.4187, allocations: 232.4 kB / 1.375 GB, free: 436 kB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007318/0.426, allocations: 4.153 MB / 1.379 GB, free: 12.13 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.777e-05/0.4261, allocations: 7.938 kB / 1.379 GB, free: 12.12 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002615/0.4263, allocations: 108 kB / 1.379 GB, free: 12.02 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002082/0.4265, allocations: 168.5 kB / 1.379 GB, free: 11.85 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005941/0.4325, allocations: 3.636 MB / 1.383 GB, free: 8.199 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01952/0.452, allocations: 15.61 MB / 1.398 GB, free: 7.312 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003107/0.4551, allocations: 1.487 MB / 1.399 GB, free: 5.805 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008724/0.456, allocations: 0.5509 MB / 1.4 GB, free: 5.242 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001009/0.4561, allocations: 20.59 kB / 1.4 GB, free: 5.223 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.774e-05/0.4561, allocations: 47.2 kB / 1.4 GB, free: 5.164 MB / 1.092 GB Notification: Performance of pre-optimization done (n=72): time 4.558e-06/0.4561, allocations: 3.984 kB / 1.4 GB, free: 5.16 MB / 1.092 GB Notification: Performance of matching and sorting (n=76): time 0.006/0.4621, allocations: 3.193 MB / 1.403 GB, free: 1.949 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.698e-05/0.4622, allocations: 115.5 kB / 1.403 GB, free: 1.812 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001509/0.4637, allocations: 1.026 MB / 1.404 GB, free: 0.7617 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 5.636e-05/0.4638, allocations: 41.77 kB / 1.404 GB, free: 0.7148 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008569/0.4646, allocations: 1.134 MB / 1.405 GB, free: 15.57 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002778/0.4649, allocations: 293.6 kB / 1.406 GB, free: 15.28 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004336/0.4653, allocations: 279.4 kB / 1.406 GB, free: 15 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0002454/0.4656, allocations: 414.7 kB / 1.406 GB, free: 14.58 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009857/0.4666, allocations: 0.6167 MB / 1.407 GB, free: 13.96 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001466/0.468, allocations: 1.185 MB / 1.408 GB, free: 12.52 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002461/0.4705, allocations: 1.864 MB / 1.41 GB, free: 10.39 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.591e-05/0.4705, allocations: 8 kB / 1.41 GB, free: 10.38 MB / 1.107 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003393/0.4739, allocations: 2.019 MB / 1.412 GB, free: 8.34 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.867e-05/0.4739, allocations: 12 kB / 1.412 GB, free: 8.328 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.14e-05/0.474, allocations: 20 kB / 1.412 GB, free: 8.309 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004588/0.4744, allocations: 168 kB / 1.412 GB, free: 8.133 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001162/0.4756, allocations: 343.4 kB / 1.412 GB, free: 7.797 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-05/0.4756, allocations: 39.86 kB / 1.412 GB, free: 7.758 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001002/0.4766, allocations: 127.7 kB / 1.413 GB, free: 7.633 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001167/0.4768, allocations: 71.98 kB / 1.413 GB, free: 7.562 MB / 1.107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (169): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001433/0.4782, allocations: 0.9709 MB / 1.414 GB, free: 6.582 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002732/0.4785, allocations: 119.3 kB / 1.414 GB, free: 6.465 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002223/0.4807, allocations: 1.23 MB / 1.415 GB, free: 5.211 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.24e-05/0.4807, allocations: 12 kB / 1.415 GB, free: 5.199 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.746e-06/0.4807, allocations: 0 / 1.415 GB, free: 5.199 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.588e-06/0.4807, allocations: 3.984 kB / 1.415 GB, free: 5.195 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006423/0.4871, allocations: 3.78 MB / 1.419 GB, free: 1.281 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.4871, allocations: 4 kB / 1.419 GB, free: 1.277 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006299/0.4878, allocations: 151.8 kB / 1.419 GB, free: 1.129 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003705/0.4881, allocations: 147.6 kB / 1.419 GB, free: 0.9727 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.059e-05/0.4882, allocations: 23.92 kB / 1.419 GB, free: 0.9492 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.077e-05/0.4882, allocations: 7.938 kB / 1.419 GB, free: 0.9414 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/0.4882, allocations: 4 kB / 1.419 GB, free: 0.9375 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002169/0.4904, allocations: 1.47 MB / 1.42 GB, free: 15.41 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005138/0.4909, allocations: 203.2 kB / 1.421 GB, free: 15.21 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001897/0.4911, allocations: 23.94 kB / 1.421 GB, free: 15.18 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006365/0.4917, allocations: 59.91 kB / 1.421 GB, free: 15.12 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001509/0.4919, allocations: 64.47 kB / 1.421 GB, free: 15.06 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.942e-05/0.4919, allocations: 24 kB / 1.421 GB, free: 15.04 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001019/0.4929, allocations: 0.6953 MB / 1.421 GB, free: 14.33 MB / 1.123 GB Notification: Performance of sort global known variables: time 8e-08/0.4929, allocations: 0 / 1.421 GB, free: 14.33 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001397/0.4943, allocations: 388 kB / 1.422 GB, free: 13.95 MB / 1.123 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002527/0.4969, allocations: 2.045 MB / 1.424 GB, free: 11.84 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.002374/0.4992, allocations: 1.359 MB / 1.425 GB, free: 10.47 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.4993, allocations: 4 kB / 1.425 GB, free: 10.47 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0008768/0.5001, allocations: 0.5281 MB / 1.426 GB, free: 9.934 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001509/0.5016, allocations: 269.1 kB / 1.426 GB, free: 9.672 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02073/0.5224, allocations: 12.92 MB / 1.438 GB, free: 12.02 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00242/0.5248, allocations: 1.92 MB / 1.44 GB, free: 10.07 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.001125/0.5259, allocations: 449.4 kB / 1.441 GB, free: 9.625 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001056/0.527, allocations: 0.7063 MB / 1.441 GB, free: 8.918 MB / 1.139 GB Notification: Performance of SimCode: time 1.292e-06/0.527, allocations: 0 / 1.441 GB, free: 8.918 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06573/0.5927, allocations: 29.2 MB / 1.47 GB, free: 12.04 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.16/13.75, allocations: 17.23 kB / 1.47 GB, free: 12.03 MB / 1.17 GB " [Timeout remaining time 286] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.fmu > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 20.129635369987227] Failed to read output from testmodel.py, exit status != 0: 13.921914865029976 13.936611185 13.529872555 Calling exit ...