Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001271/0.001271, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001405/0.001405, allocations: 214.9 kB / 23.04 MB, free: 5.07 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.423/1.423, allocations: 230.6 MB / 256.8 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.214/3.214, allocations: 0.5003 GB / 0.8061 GB, free: 26.75 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_latest_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.001939/0.001939, allocations: 62.97 kB / 1.171 GB, free: 19.85 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3381/0.34, allocations: 179 MB / 1.345 GB, free: 436 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.02113/0.3612, allocations: 16.8 MB / 1.362 GB, free: 15.56 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.008441/0.3696, allocations: 5.004 MB / 1.367 GB, free: 10.54 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001087/0.3707, allocations: 83.38 kB / 1.367 GB, free: 10.46 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.00286/0.3735, allocations: 1.095 MB / 1.368 GB, free: 9.359 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002051/0.3756, allocations: 0.7816 MB / 1.369 GB, free: 8.574 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002522/0.3781, allocations: 0.9578 MB / 1.369 GB, free: 7.617 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.004454/0.3826, allocations: 3.625 MB / 1.373 GB, free: 3.98 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003716/0.3863, allocations: 2.462 MB / 1.375 GB, free: 1.445 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002617/0.3889, allocations: 1.613 MB / 1.377 GB, free: 15.82 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003237/0.3921, allocations: 1.889 MB / 1.379 GB, free: 13.93 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0008299/0.393, allocations: 344 kB / 1.379 GB, free: 13.6 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001973/0.3949, allocations: 0.8036 MB / 1.38 GB, free: 12.79 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.001634/0.3966, allocations: 1.368 MB / 1.381 GB, free: 11.42 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.002351/0.3989, allocations: 1.455 MB / 1.383 GB, free: 9.961 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.005918/0.4048, allocations: 5.148 MB / 1.388 GB, free: 4.797 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.4049, allocations: 0 / 1.388 GB, free: 4.797 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.553e-06/0.4049, allocations: 0 / 1.388 GB, free: 4.797 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0001329/0.405, allocations: 0 / 1.388 GB, free: 4.797 MB / 1.076 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.00594/0.4109, allocations: 2.642 MB / 1.39 GB, free: 2.109 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.411, allocations: 8.031 kB / 1.39 GB, free: 2.102 MB / 1.076 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.17e-05/0.411, allocations: 64.97 kB / 1.39 GB, free: 2.035 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005817/0.4116, allocations: 370.5 kB / 1.391 GB, free: 1.664 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004123/0.4157, allocations: 0.8498 MB / 1.392 GB, free: 0.8125 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003426/0.4192, allocations: 1.531 MB / 1.393 GB, free: 15.25 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001548/0.4193, allocations: 177.1 kB / 1.393 GB, free: 15.08 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005527/0.4199, allocations: 228.4 kB / 1.393 GB, free: 14.86 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007412/0.4273, allocations: 4.165 MB / 1.398 GB, free: 10.55 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.4e-05/0.4273, allocations: 3.938 kB / 1.398 GB, free: 10.55 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002693/0.4276, allocations: 104 kB / 1.398 GB, free: 10.45 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001977/0.4278, allocations: 164.5 kB / 1.398 GB, free: 10.28 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006047/0.4339, allocations: 3.64 MB / 1.401 GB, free: 6.625 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01991/0.4538, allocations: 15.61 MB / 1.417 GB, free: 5.738 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003072/0.4568, allocations: 1.49 MB / 1.418 GB, free: 4.223 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008864/0.4577, allocations: 0.5431 MB / 1.419 GB, free: 3.672 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001058/0.4578, allocations: 20.64 kB / 1.419 GB, free: 3.652 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.383e-05/0.4579, allocations: 47.16 kB / 1.419 GB, free: 3.598 MB / 1.107 GB Notification: Performance of pre-optimization done (n=72): time 2.485e-06/0.4579, allocations: 0 / 1.419 GB, free: 3.598 MB / 1.107 GB Notification: Performance of matching and sorting (n=76): time 0.005614/0.4635, allocations: 3.205 MB / 1.422 GB, free: 380 kB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.658e-05/0.4636, allocations: 115.5 kB / 1.422 GB, free: 236 kB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001441/0.465, allocations: 1.014 MB / 1.423 GB, free: 15.19 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 7.994e-05/0.4651, allocations: 41.69 kB / 1.423 GB, free: 15.14 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008397/0.4659, allocations: 1.138 MB / 1.424 GB, free: 13.99 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002855/0.4662, allocations: 293.6 kB / 1.424 GB, free: 13.7 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004125/0.4666, allocations: 279.4 kB / 1.425 GB, free: 13.43 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0002329/0.4669, allocations: 414.7 kB / 1.425 GB, free: 13.01 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009722/0.4678, allocations: 0.6129 MB / 1.426 GB, free: 12.4 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001452/0.4693, allocations: 1.189 MB / 1.427 GB, free: 10.95 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002481/0.4718, allocations: 1.861 MB / 1.429 GB, free: 8.828 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.08e-05/0.4718, allocations: 8 kB / 1.429 GB, free: 8.82 MB / 1.123 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.00349/0.4753, allocations: 2.027 MB / 1.431 GB, free: 6.773 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.186e-05/0.4753, allocations: 12 kB / 1.431 GB, free: 6.762 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.262e-05/0.4753, allocations: 20 kB / 1.431 GB, free: 6.742 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004412/0.4758, allocations: 163.9 kB / 1.431 GB, free: 6.57 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001175/0.4769, allocations: 339.4 kB / 1.431 GB, free: 6.238 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.096e-05/0.477, allocations: 39.86 kB / 1.431 GB, free: 6.199 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001096/0.4781, allocations: 135.7 kB / 1.431 GB, free: 6.066 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001212/0.4782, allocations: 64 kB / 1.431 GB, free: 6.004 MB / 1.123 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.001685/0.4799, allocations: 0.989 MB / 1.432 GB, free: 5.008 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002924/0.4802, allocations: 111.3 kB / 1.432 GB, free: 4.898 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002226/0.4824, allocations: 1.233 MB / 1.434 GB, free: 3.637 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.04e-05/0.4824, allocations: 8 kB / 1.434 GB, free: 3.629 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.206e-06/0.4824, allocations: 0 / 1.434 GB, free: 3.629 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.235e-05/0.4824, allocations: 7.984 kB / 1.434 GB, free: 3.621 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005968/0.4884, allocations: 3.772 MB / 1.437 GB, free: 15.71 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.102e-06/0.4884, allocations: 3.938 kB / 1.437 GB, free: 15.7 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006259/0.489, allocations: 159.8 kB / 1.437 GB, free: 15.55 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003602/0.4894, allocations: 143.6 kB / 1.438 GB, free: 15.39 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.944e-05/0.4895, allocations: 19.94 kB / 1.438 GB, free: 15.38 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.707e-06/0.4895, allocations: 7.984 kB / 1.438 GB, free: 15.37 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.091e-06/0.4895, allocations: 7.938 kB / 1.438 GB, free: 15.36 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00208/0.4915, allocations: 1.466 MB / 1.439 GB, free: 13.84 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005072/0.4921, allocations: 203.1 kB / 1.439 GB, free: 13.64 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001398/0.4922, allocations: 27.94 kB / 1.439 GB, free: 13.61 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005901/0.4928, allocations: 59.91 kB / 1.439 GB, free: 13.55 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001327/0.4929, allocations: 64.48 kB / 1.439 GB, free: 13.49 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.787e-05/0.493, allocations: 23.98 kB / 1.439 GB, free: 13.46 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0009192/0.4939, allocations: 0.6953 MB / 1.44 GB, free: 12.76 MB / 1.139 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4939, allocations: 0 / 1.44 GB, free: 12.76 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001358/0.4952, allocations: 388 kB / 1.44 GB, free: 12.38 MB / 1.139 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.002498/0.4977, allocations: 2.044 MB / 1.442 GB, free: 10.27 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.002408/0.5001, allocations: 1.359 MB / 1.444 GB, free: 8.906 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.5002, allocations: 4 kB / 1.444 GB, free: 8.902 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0008874/0.501, allocations: 0.5276 MB / 1.444 GB, free: 8.363 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001478/0.5025, allocations: 267.8 kB / 1.444 GB, free: 8.102 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02023/0.5227, allocations: 12.93 MB / 1.457 GB, free: 10.44 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002089/0.5248, allocations: 1.924 MB / 1.459 GB, free: 8.484 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.001085/0.5259, allocations: 449.4 kB / 1.459 GB, free: 8.043 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009257/0.5268, allocations: 0.7063 MB / 1.46 GB, free: 7.336 MB / 1.154 GB Notification: Performance of SimCode: time 1.473e-06/0.5268, allocations: 0 / 1.46 GB, free: 7.336 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08116/0.608, allocations: 29.19 MB / 1.489 GB, free: 10.44 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.11/13.72, allocations: 13.12 kB / 1.489 GB, free: 10.43 MB / 1.186 GB " [Timeout remaining time 286] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 20.562481618020684] Failed to read output from testmodel.py, exit status != 0: 13.896614190016408 13.9237825 13.514150766 Calling exit ...