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.001206/0.001206, allocations: 110.1 kB / 16.45 MB, free: 6.508 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.001237/0.001237, allocations: 215.2 kB / 19.43 MB, free: 3.648 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.318/1.318, allocations: 230.6 MB / 252.8 MB, free: 9.137 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002361/0.002361, allocations: 283.8 kB / 309.1 MB, free: 4.004 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.122/1.122, allocations: 180.9 MB / 0.5333 GB, free: 13.79 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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.002709/0.002709, allocations: 108.6 kB / 0.7342 GB, free: 28.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.147/0.1497, allocations: 95.34 MB / 0.8274 GB, free: 9.914 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.00684/0.1566, allocations: 4.952 MB / 0.8322 GB, free: 4.938 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004373/0.161, allocations: 2.545 MB / 0.8347 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004363/0.1614, allocations: 35.62 kB / 0.8347 GB, free: 2.348 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001253/0.1626, allocations: 409.8 kB / 0.8351 GB, free: 1.945 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001192/0.1638, allocations: 473.6 kB / 0.8355 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009478/0.1648, allocations: 407 kB / 0.8359 GB, free: 1.086 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001214/0.166, allocations: 0.9212 MB / 0.8368 GB, free: 168 kB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005197/0.1665, allocations: 290.8 kB / 0.8371 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005895/0.1671, allocations: 358.6 kB / 0.8375 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005472/0.1677, allocations: 370.4 kB / 0.8378 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 8.941e-05/0.1677, allocations: 40 kB / 0.8378 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007116/0.1685, allocations: 419 kB / 0.8382 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002196/0.1687, allocations: 187.3 kB / 0.8384 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003419/0.169, allocations: 314.2 kB / 0.8387 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001191/0.1702, allocations: 0.8947 MB / 0.8396 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.1702, allocations: 0 / 0.8396 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.543e-06/0.1702, allocations: 0 / 0.8396 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.119e-05/0.1702, allocations: 0 / 0.8396 GB, free: 13.32 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.1717, allocations: 0.9649 MB / 0.8405 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.1718, allocations: 12.03 kB / 0.8406 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001041/0.1719, allocations: 90.69 kB / 0.8406 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001251/0.1731, allocations: 216.2 kB / 0.8408 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008363/0.1739, allocations: 0.5456 MB / 0.8414 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.279e-05/0.174, allocations: 41.36 kB / 0.8414 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.908e-05/0.1741, allocations: 48.3 kB / 0.8415 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001116/0.1752, allocations: 0.8483 MB / 0.8423 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.511e-05/0.1752, allocations: 7.938 kB / 0.8423 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.341e-05/0.1752, allocations: 23.98 kB / 0.8423 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.331e-05/0.1753, allocations: 68.95 kB / 0.8424 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008766/0.1762, allocations: 0.5656 MB / 0.8429 GB, free: 9.664 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004905/0.1811, allocations: 5.659 MB / 0.8485 GB, free: 3.613 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006456/0.1818, allocations: 421.2 kB / 0.8489 GB, free: 3.195 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000305/0.1821, allocations: 208.7 kB / 0.8491 GB, free: 2.988 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.557e-05/0.1821, allocations: 0 / 0.8491 GB, free: 2.988 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/0.1821, allocations: 38.56 kB / 0.8491 GB, free: 2.941 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=32): time 1.503e-06/0.1821, allocations: 0 / 0.8491 GB, free: 2.941 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.002673/0.1848, allocations: 1.518 MB / 0.8506 GB, free: 1.309 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.215e-05/0.1848, allocations: 55.69 kB / 0.8506 GB, free: 1.242 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005492/0.1854, allocations: 0.5029 MB / 0.8511 GB, free: 0.7266 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.79e-05/0.1854, allocations: 29.7 kB / 0.8512 GB, free: 0.6914 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002572/0.1857, allocations: 367.7 kB / 0.8515 GB, free: 336 kB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001116/0.1858, allocations: 130.9 kB / 0.8516 GB, free: 204 kB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001535/0.186, allocations: 110.2 kB / 0.8517 GB, free: 88 kB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001933/0.1861, allocations: 362.8 kB / 0.8521 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002988/0.1864, allocations: 201.2 kB / 0.8523 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004824/0.1869, allocations: 443.3 kB / 0.8527 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008611/0.1878, allocations: 0.6954 MB / 0.8534 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.703e-06/0.1878, allocations: 4 kB / 0.8534 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001322/0.1891, allocations: 0.8014 MB / 0.8542 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.1891, allocations: 8 kB / 0.8542 GB, free: 13.33 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/0.1891, allocations: 11.94 kB / 0.8542 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005008/0.1897, allocations: 164.9 kB / 0.8543 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000444/0.1901, allocations: 119.8 kB / 0.8545 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003676/0.1938, allocations: 4.353 MB / 0.8587 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003851/0.1942, allocations: 36.12 kB / 0.8587 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.987e-05/0.1942, allocations: 36 kB / 0.8588 GB, free: 8.18 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.0002636/0.1945, allocations: 205.6 kB / 0.859 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.965e-05/0.1945, allocations: 59.62 kB / 0.859 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001087/0.1956, allocations: 0.6049 MB / 0.8596 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.1956, allocations: 4 kB / 0.8596 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.1956, allocations: 4 kB / 0.8596 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.391e-06/0.1956, allocations: 3.984 kB / 0.8596 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001888/0.1975, allocations: 1.263 MB / 0.8609 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/0.1975, allocations: 0 / 0.8609 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002483/0.1978, allocations: 55.89 kB / 0.8609 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004084/0.1982, allocations: 144.4 kB / 0.8611 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.468e-05/0.1982, allocations: 11.94 kB / 0.8611 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003562/0.2018, allocations: 4.33 MB / 0.8653 GB, free: 0.9414 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.2018, allocations: 0 / 0.8653 GB, free: 0.9414 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00103/0.2028, allocations: 0.727 MB / 0.866 GB, free: 168 kB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002247/0.203, allocations: 172.6 kB / 0.8662 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.645e-05/0.2031, allocations: 8 kB / 0.8662 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002507/0.2033, allocations: 23.97 kB / 0.8662 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.158e-05/0.2034, allocations: 31.84 kB / 0.8662 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.941e-05/0.2034, allocations: 8 kB / 0.8662 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003818/0.2038, allocations: 342.8 kB / 0.8666 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2038, allocations: 4 kB / 0.8666 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006021/0.2044, allocations: 144 kB / 0.8667 GB, free: 15.43 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.001377/0.2058, allocations: 1.264 MB / 0.8679 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001476/0.2073, allocations: 1.001 MB / 0.8689 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.2073, allocations: 0 / 0.8689 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000866/0.2081, allocations: 0.7306 MB / 0.8696 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009641/0.2091, allocations: 209.2 kB / 0.8698 GB, free: 12.01 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006529/0.2156, allocations: 5.16 MB / 0.8749 GB, free: 6.465 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005695/0.2162, allocations: 0.9059 MB / 0.8758 GB, free: 5.527 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003295/0.2165, allocations: 117.3 kB / 0.8759 GB, free: 5.41 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002564/0.2168, allocations: 195.4 kB / 0.8761 GB, free: 5.223 MB / 0.6231 GB Notification: Performance of SimCode: time 5.81e-07/0.2168, allocations: 0 / 0.8761 GB, free: 5.223 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06473/0.2815, allocations: 12.98 MB / 0.8887 GB, free: 8.57 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.912/10.19, allocations: 12.92 kB / 0.8887 GB, free: 8.559 MB / 0.6387 GB " [Timeout remaining time 650] (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: 13.971439432818443] Failed to read output from testmodel.py, exit status != 0: 10.28264121292159 10.298437181 10.125496486 Calling exit ...