Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.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.001717/0.001717, allocations: 118.1 kB / 17.16 MB, free: 5.895 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.002148/0.002148, allocations: 212 kB / 20.13 MB, free: 2.949 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.476/1.476, allocations: 230.6 MB / 253.5 MB, free: 15.12 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 2.899/2.899, allocations: 0.5003 GB / 0.8026 GB, free: 6.672 MB / 0.6387 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.Loads_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N",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.001948/0.001948, allocations: 63.91 kB / 1.165 GB, free: 452 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8755/0.8774, allocations: 178.9 MB / 1.34 GB, free: 16.25 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.02057/0.898, allocations: 20.82 MB / 1.36 GB, free: 2.355 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01399/0.912, allocations: 7.823 MB / 1.368 GB, free: 13.06 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002299/0.9143, allocations: 73.09 kB / 1.368 GB, free: 13.04 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.004857/0.9192, allocations: 1.371 MB / 1.37 GB, free: 12.23 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.004418/0.9236, allocations: 1.018 MB / 1.371 GB, free: 11.64 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.006129/0.9297, allocations: 2.01 MB / 1.372 GB, free: 10.54 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.006964/0.9367, allocations: 4.324 MB / 1.377 GB, free: 8.676 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008987/0.9457, allocations: 4.5 MB / 1.381 GB, free: 6.918 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003985/0.9496, allocations: 1.888 MB / 1.383 GB, free: 6.062 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004721/0.9544, allocations: 2.329 MB / 1.385 GB, free: 5.109 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.001554/0.9559, allocations: 426.6 kB / 1.386 GB, free: 5.109 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003044/0.959, allocations: 0.9561 MB / 1.387 GB, free: 4.914 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.003833/0.9628, allocations: 1.69 MB / 1.388 GB, free: 4.203 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.005097/0.9679, allocations: 1.718 MB / 1.39 GB, free: 3.078 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.01094/0.9788, allocations: 6.202 MB / 1.396 GB, free: 0.918 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 8.977e-06/0.9788, allocations: 1.219 kB / 1.396 GB, free: 0.918 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.225e-06/0.9788, allocations: 0 / 1.396 GB, free: 0.918 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0002293/0.9791, allocations: 0 / 1.396 GB, free: 0.918 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: 776 * Number of variables: 776 Notification: Performance of Generate backend data structure: time 0.01221/0.9913, allocations: 3.115 MB / 1.399 GB, free: 14.77 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/0.9913, allocations: 9.625 kB / 1.399 GB, free: 14.77 MB / 1.092 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001271/0.9915, allocations: 81.67 kB / 1.399 GB, free: 14.75 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001827/0.9933, allocations: 448.3 kB / 1.399 GB, free: 14.44 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004942/0.9982, allocations: 0.7567 MB / 1.4 GB, free: 14.05 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004372/1.003, allocations: 1.584 MB / 1.402 GB, free: 13.02 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002767/1.003, allocations: 223.2 kB / 1.402 GB, free: 12.91 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001408/1.004, allocations: 281.5 kB / 1.402 GB, free: 12.82 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01149/1.016, allocations: 5.078 MB / 1.407 GB, free: 9.727 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-05/1.016, allocations: 11.34 kB / 1.407 GB, free: 9.719 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004019/1.016, allocations: 125.8 kB / 1.407 GB, free: 9.625 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002984/1.017, allocations: 209.9 kB / 1.408 GB, free: 9.57 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007967/1.025, allocations: 4.223 MB / 1.412 GB, free: 7.41 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02982/1.054, allocations: 22.96 MB / 1.434 GB, free: 2.398 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003187/1.058, allocations: 1.658 MB / 1.436 GB, free: 1.48 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001715/1.059, allocations: 1.089 MB / 1.437 GB, free: 0.8906 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001715/1.059, allocations: 103 kB / 1.437 GB, free: 0.7852 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.202e-05/1.059, allocations: 48.25 kB / 1.437 GB, free: 0.7344 MB / 1.107 GB Notification: Performance of pre-optimization done (n=84): time 3.467e-06/1.059, allocations: 4 kB / 1.437 GB, free: 0.7305 MB / 1.107 GB Notification: Performance of matching and sorting (n=87): time 0.007408/1.067, allocations: 4.111 MB / 1.441 GB, free: 14.16 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001139/1.067, allocations: 143.5 kB / 1.441 GB, free: 14 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00133/1.068, allocations: 0.8677 MB / 1.442 GB, free: 13.5 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0001051/1.068, allocations: 41.17 kB / 1.442 GB, free: 13.46 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009118/1.069, allocations: 1.201 MB / 1.443 GB, free: 12.4 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003768/1.07, allocations: 324 kB / 1.443 GB, free: 12.12 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005024/1.07, allocations: 274.7 kB / 1.444 GB, free: 11.84 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0002552/1.07, allocations: 418.6 kB / 1.444 GB, free: 11.43 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001391/1.072, allocations: 0.8179 MB / 1.445 GB, free: 10.6 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001835/1.074, allocations: 1.318 MB / 1.446 GB, free: 9.062 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003219/1.077, allocations: 2.163 MB / 1.448 GB, free: 6.711 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.684e-06/1.077, allocations: 4 kB / 1.448 GB, free: 6.707 MB / 1.123 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003924/1.081, allocations: 2.219 MB / 1.45 GB, free: 4.48 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.582e-05/1.081, allocations: 8 kB / 1.45 GB, free: 4.473 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.96e-05/1.081, allocations: 16 kB / 1.45 GB, free: 4.457 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.617e-05/1.081, allocations: 20 kB / 1.451 GB, free: 4.438 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001749/1.083, allocations: 415.3 kB / 1.451 GB, free: 4.031 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.457e-05/1.083, allocations: 36.14 kB / 1.451 GB, free: 3.996 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001436/1.084, allocations: 215.4 kB / 1.451 GB, free: 3.785 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001221/1.084, allocations: 59.98 kB / 1.451 GB, free: 3.727 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003076/1.087, allocations: 1.685 MB / 1.453 GB, free: 2.035 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001632/1.089, allocations: 1.194 MB / 1.454 GB, free: 0.6094 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002759/1.092, allocations: 1.898 MB / 1.456 GB, free: 14.5 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.835e-06/1.092, allocations: 4 kB / 1.456 GB, free: 14.5 MB / 1.139 GB Notification: Performance of matching and sorting (n=156) (initialization_lambda0): time 0.003455/1.095, allocations: 1.93 MB / 1.458 GB, free: 12.56 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.442e-05/1.095, allocations: 12 kB / 1.458 GB, free: 12.55 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.996e-05/1.095, allocations: 16.83 kB / 1.458 GB, free: 12.53 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.867e-05/1.095, allocations: 24 kB / 1.458 GB, free: 12.51 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001428/1.097, allocations: 371.3 kB / 1.458 GB, free: 12.14 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.197e-05/1.097, allocations: 31.92 kB / 1.458 GB, free: 12.11 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001366/1.098, allocations: 179.4 kB / 1.458 GB, free: 11.94 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001052/1.098, allocations: 59.98 kB / 1.458 GB, free: 11.88 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (156): * Single equations (assignments): 156 * 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.0004149/1.099, allocations: 271.7 kB / 1.459 GB, free: 11.61 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002714/1.099, allocations: 103.3 kB / 1.459 GB, free: 11.5 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00334/1.102, allocations: 1.851 MB / 1.461 GB, free: 9.637 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.85e-05/1.102, allocations: 15.98 kB / 1.461 GB, free: 9.621 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.837e-06/1.102, allocations: 0 / 1.461 GB, free: 9.621 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.303e-05/1.102, allocations: 3.984 kB / 1.461 GB, free: 9.617 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01551/1.118, allocations: 9.592 MB / 1.47 GB, free: 15.77 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.223e-05/1.118, allocations: 16 kB / 1.47 GB, free: 15.76 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001328/1.119, allocations: 320 kB / 1.47 GB, free: 15.45 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-05/1.119, allocations: 12 kB / 1.47 GB, free: 15.43 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.597e-05/1.119, allocations: 35.94 kB / 1.47 GB, free: 15.4 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-05/1.119, allocations: 27.86 kB / 1.47 GB, free: 15.37 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.449e-05/1.119, allocations: 15.94 kB / 1.47 GB, free: 15.36 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003326/1.123, allocations: 2.41 MB / 1.473 GB, free: 12.79 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007477/1.123, allocations: 380.1 kB / 1.473 GB, free: 12.4 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001733/1.124, allocations: 31.94 kB / 1.473 GB, free: 12.37 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001046/1.125, allocations: 143.8 kB / 1.473 GB, free: 12.23 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002092/1.125, allocations: 91.61 kB / 1.473 GB, free: 12.14 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.053e-05/1.125, allocations: 40 kB / 1.473 GB, free: 12.1 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001034/1.126, allocations: 0.6122 MB / 1.474 GB, free: 11.49 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.2e-07/1.126, allocations: 0 / 1.474 GB, free: 11.49 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.002979/1.129, allocations: 0.7578 MB / 1.475 GB, free: 10.73 MB / 1.154 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 (90): * Single equations (assignments): 90 * 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.003687/1.133, allocations: 2.986 MB / 1.478 GB, free: 7.578 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.004858/1.137, allocations: 2.757 MB / 1.48 GB, free: 4.828 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 1.239e-05/1.137, allocations: 8.062 kB / 1.48 GB, free: 4.82 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.001407/1.139, allocations: 0.8845 MB / 1.481 GB, free: 3.938 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002036/1.141, allocations: 302.8 kB / 1.482 GB, free: 3.656 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0273/1.168, allocations: 15.31 MB / 1.496 GB, free: 3.543 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003325/1.172, allocations: 2.12 MB / 1.499 GB, free: 1.391 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.002147/1.174, allocations: 0.754 MB / 1.499 GB, free: 0.6328 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001516/1.175, allocations: 0.8274 MB / 1.5 GB, free: 15.8 MB / 1.186 GB Notification: Performance of SimCode: time 1.673e-06/1.175, allocations: 0 / 1.5 GB, free: 15.8 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07008/1.245, allocations: 33.09 MB / 1.532 GB, free: 15.06 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.11/11.35, allocations: 18.83 kB / 1.532 GB, free: 15.05 MB / 1.217 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 17.698917804984376] Failed to read output from testmodel.py, exit status != 0: 11.494439089961816 11.508380392 10.526416031 Calling exit ...