Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.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.001306/0.001306, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001445/0.001445, allocations: 215 kB / 22.25 MB, free: 5.082 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.414/1.414, allocations: 230.6 MB / 256 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002521/0.002521, allocations: 277.4 kB / 312.7 MB, free: 2.828 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.195/1.195, allocations: 180.6 MB / 0.5369 GB, free: 12.88 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002862/0.002862, allocations: 96.02 kB / 0.7396 GB, free: 28.39 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1526/0.1555, allocations: 95.38 MB / 0.8327 GB, free: 8.539 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.007316/0.1628, allocations: 5.055 MB / 0.8377 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004434/0.1672, allocations: 2.588 MB / 0.8402 GB, free: 0.8633 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002687/0.1675, allocations: 43.56 kB / 0.8402 GB, free: 0.8203 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001237/0.1688, allocations: 419.4 kB / 0.8406 GB, free: 420 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0009513/0.1697, allocations: 473.6 kB / 0.8411 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008848/0.1706, allocations: 411 kB / 0.8415 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001137/0.1717, allocations: 0.9333 MB / 0.8424 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005013/0.1722, allocations: 322.6 kB / 0.8427 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004841/0.1727, allocations: 362.6 kB / 0.843 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004939/0.1732, allocations: 366.4 kB / 0.8434 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 6.524e-05/0.1733, allocations: 36 kB / 0.8434 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006362/0.1739, allocations: 419 kB / 0.8438 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001967/0.1741, allocations: 187.3 kB / 0.844 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003033/0.1744, allocations: 314.3 kB / 0.8443 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001064/0.1755, allocations: 0.8986 MB / 0.8452 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.1755, allocations: 0 / 0.8452 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.452e-06/0.1755, allocations: 0 / 0.8452 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.441e-05/0.1755, allocations: 4 kB / 0.8452 GB, free: 11.73 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001487/0.177, allocations: 0.8857 MB / 0.846 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/0.177, allocations: 13.34 kB / 0.8461 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001032/0.1771, allocations: 94.69 kB / 0.8462 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001222/0.1784, allocations: 208.2 kB / 0.8464 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009172/0.1793, allocations: 488.8 kB / 0.8468 GB, free: 9.992 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.092e-05/0.1793, allocations: 41.36 kB / 0.8469 GB, free: 9.949 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.544e-05/0.1794, allocations: 40.38 kB / 0.8469 GB, free: 9.91 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001187/0.1806, allocations: 0.8521 MB / 0.8477 GB, free: 8.926 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.693e-05/0.1806, allocations: 15.92 kB / 0.8477 GB, free: 8.91 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.994e-05/0.1806, allocations: 23.98 kB / 0.8478 GB, free: 8.887 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.178e-05/0.1807, allocations: 64.91 kB / 0.8478 GB, free: 8.824 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008854/0.1816, allocations: 0.5617 MB / 0.8484 GB, free: 8.262 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005325/0.1869, allocations: 5.582 MB / 0.8538 GB, free: 2.301 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007033/0.1877, allocations: 426.3 kB / 0.8542 GB, free: 1.875 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003257/0.188, allocations: 204.7 kB / 0.8544 GB, free: 1.672 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.973e-05/0.188, allocations: 0 / 0.8544 GB, free: 1.672 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.199e-05/0.188, allocations: 39.09 kB / 0.8545 GB, free: 1.625 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=32): time 1.072e-06/0.188, allocations: 0 / 0.8545 GB, free: 1.625 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.002458/0.1905, allocations: 1.153 MB / 0.8556 GB, free: 460 kB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.201e-05/0.1905, allocations: 55.69 kB / 0.8556 GB, free: 392 kB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005581/0.1911, allocations: 0.4952 MB / 0.8561 GB, free: 15.88 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.149e-05/0.1912, allocations: 33.7 kB / 0.8562 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002661/0.1914, allocations: 367.7 kB / 0.8565 GB, free: 15.47 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001132/0.1915, allocations: 130.9 kB / 0.8566 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001556/0.1917, allocations: 110.2 kB / 0.8567 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001908/0.1919, allocations: 366.8 kB / 0.8571 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003146/0.1922, allocations: 201.2 kB / 0.8573 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005242/0.1927, allocations: 443.3 kB / 0.8577 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008861/0.1936, allocations: 0.6835 MB / 0.8584 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.1936, allocations: 4 kB / 0.8584 GB, free: 13.31 MB / 0.6075 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001305/0.1949, allocations: 0.8093 MB / 0.8592 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.1949, allocations: 13 kB / 0.8592 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/0.1949, allocations: 11.94 kB / 0.8592 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004893/0.1954, allocations: 156 kB / 0.8593 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004588/0.1959, allocations: 123.8 kB / 0.8595 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003779/0.1997, allocations: 4.054 MB / 0.8634 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003484/0.2, allocations: 31.97 kB / 0.8634 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.286e-05/0.2001, allocations: 28 kB / 0.8635 GB, free: 7.715 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002574/0.2003, allocations: 217.4 kB / 0.8637 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.319e-05/0.2004, allocations: 63.62 kB / 0.8637 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001084/0.2015, allocations: 0.597 MB / 0.8643 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.2015, allocations: 4 kB / 0.8643 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.2015, allocations: 0 / 0.8643 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.2015, allocations: 3.984 kB / 0.8643 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002029/0.2035, allocations: 1.23 MB / 0.8655 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.2035, allocations: 4 kB / 0.8655 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002606/0.2038, allocations: 55.89 kB / 0.8656 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004058/0.2042, allocations: 144.4 kB / 0.8657 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.785e-05/0.2042, allocations: 11.94 kB / 0.8657 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003752/0.208, allocations: 4.027 MB / 0.8697 GB, free: 0.8945 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.208, allocations: 0 / 0.8697 GB, free: 0.8945 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001114/0.2091, allocations: 0.7125 MB / 0.8704 GB, free: 132 kB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002135/0.2093, allocations: 95.47 kB / 0.8705 GB, free: 36 kB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.089e-05/0.2094, allocations: 8 kB / 0.8705 GB, free: 28 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002549/0.2096, allocations: 27.97 kB / 0.8705 GB, free: 0 / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.501e-05/0.2097, allocations: 31.88 kB / 0.8705 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.944e-05/0.2097, allocations: 11.94 kB / 0.8705 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000373/0.2101, allocations: 346.8 kB / 0.8709 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1e-07/0.2101, allocations: 0 / 0.8709 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000591/0.2107, allocations: 144 kB / 0.871 GB, free: 15.48 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001363/0.2121, allocations: 1.255 MB / 0.8722 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001367/0.2134, allocations: 0.8624 MB / 0.8731 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.2134, allocations: 4 kB / 0.8731 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0008267/0.2143, allocations: 0.5761 MB / 0.8736 GB, free: 12.63 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009336/0.2152, allocations: 196.8 kB / 0.8738 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006507/0.2217, allocations: 5.169 MB / 0.8789 GB, free: 6.887 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005782/0.2223, allocations: 0.9136 MB / 0.8798 GB, free: 5.941 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002987/0.2226, allocations: 117.3 kB / 0.8799 GB, free: 5.824 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002619/0.2228, allocations: 199.4 kB / 0.8801 GB, free: 5.633 MB / 0.6231 GB Notification: Performance of SimCode: time 5.31e-07/0.2228, allocations: 0 / 0.8801 GB, free: 5.633 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04931/0.2721, allocations: 13.38 MB / 0.8931 GB, free: 8.535 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.63/11.9, allocations: 6.75 kB / 0.8931 GB, free: 8.535 MB / 0.6387 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.990546807999635] Failed to read output from testmodel.py, exit status != 0: 12.019209341000533 12.045465277 11.865248307 Calling exit ...