Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.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.001176/0.001176, allocations: 104.5 kB / 16.45 MB, free: 6.449 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.001265/0.001265, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.327/1.327, allocations: 230.6 MB / 252.8 MB, free: 8.996 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.002356/0.002356, allocations: 282.9 kB / 309.1 MB, free: 3.988 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.104/1.104, allocations: 180.9 MB / 0.5333 GB, free: 13.82 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.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",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.00268/0.00268, allocations: 111.8 kB / 0.7342 GB, free: 28.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1481/0.1507, allocations: 95.34 MB / 0.8274 GB, free: 9.91 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.00569/0.1564, allocations: 4.352 MB / 0.8316 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003563/0.16, allocations: 2.428 MB / 0.834 GB, free: 3.098 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001636/0.1602, allocations: 27.75 kB / 0.834 GB, free: 3.07 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001017/0.1612, allocations: 382.2 kB / 0.8344 GB, free: 2.695 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0007022/0.1619, allocations: 390.1 kB / 0.8347 GB, free: 2.312 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006623/0.1625, allocations: 316.5 kB / 0.835 GB, free: 2.004 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0007099/0.1633, allocations: 0.6789 MB / 0.8357 GB, free: 1.324 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000354/0.1636, allocations: 210.3 kB / 0.8359 GB, free: 1.113 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003479/0.164, allocations: 270.9 kB / 0.8362 GB, free: 0.8477 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003445/0.1643, allocations: 286.8 kB / 0.8364 GB, free: 0.5664 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.36e-05/0.1643, allocations: 32 kB / 0.8365 GB, free: 0.5352 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005846/0.1649, allocations: 442.9 kB / 0.8369 GB, free: 104 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001552/0.1651, allocations: 147.5 kB / 0.837 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002184/0.1653, allocations: 246.6 kB / 0.8373 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0008019/0.1661, allocations: 0.7238 MB / 0.838 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1661, allocations: 0 / 0.838 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.283e-06/0.1661, allocations: 0 / 0.838 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.023e-06/0.1661, allocations: 0 / 0.838 GB, free: 14.99 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.001099/0.1672, allocations: 0.8096 MB / 0.8388 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/0.1672, allocations: 12.03 kB / 0.8388 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.604e-05/0.1673, allocations: 78.64 kB / 0.8388 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001274/0.1686, allocations: 184.4 kB / 0.839 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005865/0.1692, allocations: 440.8 kB / 0.8394 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.705e-05/0.1692, allocations: 25.36 kB / 0.8395 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.143e-05/0.1693, allocations: 36.38 kB / 0.8395 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008643/0.1701, allocations: 0.6508 MB / 0.8401 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.238e-05/0.1702, allocations: 11.89 kB / 0.8401 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.382e-05/0.1702, allocations: 15.98 kB / 0.8402 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.002e-05/0.1703, allocations: 59.89 kB / 0.8402 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007121/0.171, allocations: 496 kB / 0.8407 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003217/0.1742, allocations: 3.787 MB / 0.8444 GB, free: 7.965 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001623/0.1758, allocations: 0.6126 MB / 0.845 GB, free: 7.324 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002324/0.1761, allocations: 166.4 kB / 0.8451 GB, free: 7.152 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.462e-05/0.1761, allocations: 7.984 kB / 0.8452 GB, free: 7.145 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.554e-05/0.1761, allocations: 34.56 kB / 0.8452 GB, free: 7.102 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=30): time 1.482e-06/0.1761, allocations: 3.938 kB / 0.8452 GB, free: 7.098 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.002185/0.1783, allocations: 1.293 MB / 0.8465 GB, free: 5.73 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.135e-05/0.1784, allocations: 108.5 kB / 0.8466 GB, free: 5.602 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004101/0.1788, allocations: 397.8 kB / 0.8469 GB, free: 5.199 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.101e-05/0.1788, allocations: 33.7 kB / 0.847 GB, free: 5.16 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001858/0.179, allocations: 284.2 kB / 0.8472 GB, free: 4.879 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 9.786e-05/0.1791, allocations: 126.9 kB / 0.8474 GB, free: 4.754 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001349/0.1792, allocations: 102.2 kB / 0.8475 GB, free: 4.648 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.1794, allocations: 354.8 kB / 0.8478 GB, free: 4.293 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002581/0.1796, allocations: 177 kB / 0.848 GB, free: 4.121 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004029/0.18, allocations: 379.2 kB / 0.8483 GB, free: 3.656 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007138/0.1808, allocations: 0.5951 MB / 0.8489 GB, free: 2.969 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.1808, allocations: 7.938 kB / 0.8489 GB, free: 2.961 MB / 0.5919 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001054/0.1818, allocations: 0.6718 MB / 0.8496 GB, free: 2.273 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.1818, allocations: 8 kB / 0.8496 GB, free: 2.266 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.1818, allocations: 4 kB / 0.8496 GB, free: 2.262 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003368/0.1822, allocations: 98.44 kB / 0.8497 GB, free: 2.156 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003682/0.1826, allocations: 111.8 kB / 0.8498 GB, free: 2.047 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00345/0.186, allocations: 4.345 MB / 0.854 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002869/0.1863, allocations: 27.98 kB / 0.8541 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.206e-05/0.1863, allocations: 31.92 kB / 0.8541 GB, free: 13.22 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (60): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 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.0002017/0.1865, allocations: 196.2 kB / 0.8543 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001134/0.1866, allocations: 51.67 kB / 0.8543 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008932/0.1875, allocations: 0.5226 MB / 0.8548 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.1875, allocations: 4 kB / 0.8548 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.1876, allocations: 7.938 kB / 0.8548 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.1876, allocations: 0 / 0.8548 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001705/0.1893, allocations: 1.279 MB / 0.8561 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.634e-06/0.1893, allocations: 4 kB / 0.8561 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002301/0.1895, allocations: 63.89 kB / 0.8562 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000269/0.1898, allocations: 90.73 kB / 0.8562 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.334e-05/0.1898, allocations: 16 kB / 0.8563 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003343/0.1931, allocations: 4.33 MB / 0.8605 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.114e-06/0.1931, allocations: 11.92 kB / 0.8605 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009011/0.194, allocations: 0.7785 MB / 0.8613 GB, free: 5.266 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001689/0.1942, allocations: 156.7 kB / 0.8614 GB, free: 5.094 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.804e-05/0.1943, allocations: 11.94 kB / 0.8614 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003009/0.1946, allocations: 27.97 kB / 0.8614 GB, free: 5.055 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.114e-05/0.1946, allocations: 32.19 kB / 0.8615 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.221e-05/0.1946, allocations: 12 kB / 0.8615 GB, free: 5.012 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002819/0.1949, allocations: 279.1 kB / 0.8618 GB, free: 4.742 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1949, allocations: 3.938 kB / 0.8618 GB, free: 4.738 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005982/0.1955, allocations: 124 kB / 0.8619 GB, free: 4.617 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 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.001186/0.1967, allocations: 1.323 MB / 0.8632 GB, free: 3.227 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001188/0.1979, allocations: 0.7858 MB / 0.8639 GB, free: 2.402 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1979, allocations: 256 / 0.8639 GB, free: 2.402 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007026/0.1986, allocations: 0.531 MB / 0.8645 GB, free: 1.832 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008417/0.1994, allocations: 144.1 kB / 0.8646 GB, free: 1.699 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005301/0.2047, allocations: 4.556 MB / 0.869 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004726/0.2052, allocations: 0.8703 MB / 0.8699 GB, free: 11.9 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002354/0.2055, allocations: 100.5 kB / 0.87 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002217/0.2057, allocations: 155.4 kB / 0.8701 GB, free: 11.65 MB / 0.6231 GB Notification: Performance of SimCode: time 2.8e-07/0.2057, allocations: 0 / 0.8701 GB, free: 11.65 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04345/0.2491, allocations: 10.14 MB / 0.88 GB, free: 1.773 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.593/9.842, allocations: 6.125 kB / 0.88 GB, free: 1.77 MB / 0.6231 GB " [Timeout remaining time 650] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_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_OnePhase_Loads_Examples_ThreePhases.fmu > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.610205882228911] Failed to read output from testmodel.py, exit status != 0: 9.927143518812954 9.943816039 9.774585872 Calling exit ...