Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.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.001463/0.001463, allocations: 105.8 kB / 16.45 MB, free: 6.5 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.001538/0.001538, allocations: 216 kB / 19.43 MB, free: 3.656 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.338/1.338, allocations: 230.6 MB / 252.8 MB, free: 8.988 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.002346/0.002346, allocations: 280.3 kB / 309.1 MB, free: 3.961 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.127/1.127, allocations: 180.9 MB / 0.5333 GB, free: 13.75 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.ThreePhases,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_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.004312/0.004312, allocations: 104.1 kB / 0.7343 GB, free: 28.43 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1564/0.1607, allocations: 95.33 MB / 0.8274 GB, free: 9.879 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.0132/0.1739, allocations: 11.28 MB / 0.8384 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.009045/0.183, allocations: 5.886 MB / 0.8441 GB, free: 8.652 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008945/0.1839, allocations: 71.31 kB / 0.8442 GB, free: 8.582 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.004292/0.1882, allocations: 1.75 MB / 0.8459 GB, free: 6.828 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002771/0.1909, allocations: 1.186 MB / 0.8471 GB, free: 5.637 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001956/0.1929, allocations: 0.8046 MB / 0.8478 GB, free: 4.836 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002614/0.1955, allocations: 2.134 MB / 0.8499 GB, free: 2.691 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001384/0.1969, allocations: 1.041 MB / 0.8509 GB, free: 1.629 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00125/0.1981, allocations: 0.8719 MB / 0.8518 GB, free: 0.7539 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00137/0.1995, allocations: 0.961 MB / 0.8527 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002369/0.1997, allocations: 116 kB / 0.8528 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002043/0.2018, allocations: 1.208 MB / 0.854 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005599/0.2023, allocations: 0.5452 MB / 0.8546 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0008966/0.2032, allocations: 0.7888 MB / 0.8553 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003056/0.2063, allocations: 2.432 MB / 0.8577 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.2063, allocations: 4 kB / 0.8577 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.382e-06/0.2063, allocations: 0 / 0.8577 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.149e-05/0.2064, allocations: 0 / 0.8577 GB, free: 10.68 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.003212/0.2096, allocations: 1.917 MB / 0.8596 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.2096, allocations: 8.031 kB / 0.8596 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002602/0.2099, allocations: 215.4 kB / 0.8598 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004377/0.2142, allocations: 0.6786 MB / 0.8605 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001662/0.2159, allocations: 1.017 MB / 0.8614 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.163e-05/0.216, allocations: 90.91 kB / 0.8615 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002116/0.2162, allocations: 128.3 kB / 0.8617 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003039/0.2192, allocations: 2.21 MB / 0.8638 GB, free: 4.074 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.199e-05/0.2193, allocations: 15.88 kB / 0.8638 GB, free: 4.059 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001425/0.2194, allocations: 59.97 kB / 0.8639 GB, free: 4 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000206/0.2196, allocations: 166.3 kB / 0.864 GB, free: 3.836 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002937/0.2226, allocations: 1.867 MB / 0.8659 GB, free: 1.961 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01162/0.2342, allocations: 12.45 MB / 0.878 GB, free: 4.566 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004134/0.2383, allocations: 1.876 MB / 0.8799 GB, free: 2.688 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007987/0.2391, allocations: 0.5542 MB / 0.8804 GB, free: 2.125 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001549/0.2393, allocations: 102.1 kB / 0.8805 GB, free: 2.008 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.745e-05/0.2393, allocations: 51.48 kB / 0.8805 GB, free: 1.949 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=103): time 2.464e-06/0.2393, allocations: 4 kB / 0.8805 GB, free: 1.945 MB / 0.6231 GB Notification: Performance of matching and sorting (n=110): time 0.005908/0.2452, allocations: 3.724 MB / 0.8842 GB, free: 14.06 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.138e-05/0.2453, allocations: 64.34 kB / 0.8842 GB, free: 13.99 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00107/0.2463, allocations: 0.9244 MB / 0.8851 GB, free: 13.05 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.584e-05/0.2464, allocations: 45.7 kB / 0.8852 GB, free: 13 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005184/0.2469, allocations: 0.7455 MB / 0.8859 GB, free: 12.24 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003109/0.2472, allocations: 404.6 kB / 0.8863 GB, free: 11.84 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003956/0.2476, allocations: 283.4 kB / 0.8866 GB, free: 11.56 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.2477, allocations: 305.1 kB / 0.8869 GB, free: 11.26 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009207/0.2486, allocations: 0.6168 MB / 0.8875 GB, free: 10.64 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001286/0.2499, allocations: 1.106 MB / 0.8885 GB, free: 9.312 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00233/0.2523, allocations: 1.832 MB / 0.8903 GB, free: 7.266 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.789e-06/0.2523, allocations: 4 kB / 0.8903 GB, free: 7.262 MB / 0.6387 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003367/0.2556, allocations: 2.1 MB / 0.8924 GB, free: 5.125 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.356e-05/0.2557, allocations: 12.97 kB / 0.8924 GB, free: 5.113 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.169e-05/0.2557, allocations: 19.94 kB / 0.8924 GB, free: 5.094 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008008/0.2565, allocations: 254.7 kB / 0.8927 GB, free: 4.82 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001213/0.2577, allocations: 379.4 kB / 0.893 GB, free: 4.449 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009046/0.2667, allocations: 11.59 MB / 0.9043 GB, free: 7.742 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001085/0.2678, allocations: 123.8 kB / 0.9045 GB, free: 7.621 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001349/0.268, allocations: 76.14 kB / 0.9045 GB, free: 7.547 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (187): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (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.0006155/0.2686, allocations: 409.1 kB / 0.9049 GB, free: 7.137 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002277/0.2688, allocations: 139.2 kB / 0.9051 GB, free: 7 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00293/0.2717, allocations: 1.677 MB / 0.9067 GB, free: 5.297 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.103e-05/0.2717, allocations: 12 kB / 0.9067 GB, free: 5.285 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.2718, allocations: 0 / 0.9067 GB, free: 5.285 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.199e-05/0.2718, allocations: 11.97 kB / 0.9067 GB, free: 5.273 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004993/0.2768, allocations: 3.284 MB / 0.9099 GB, free: 1.844 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.226e-06/0.2768, allocations: 4 kB / 0.9099 GB, free: 1.84 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008285/0.2776, allocations: 223.6 kB / 0.9101 GB, free: 1.621 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007138/0.2783, allocations: 243.1 kB / 0.9104 GB, free: 1.359 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.69e-05/0.2784, allocations: 31.94 kB / 0.9104 GB, free: 1.328 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008999/0.2874, allocations: 11.56 MB / 0.9217 GB, free: 4.641 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.857e-06/0.2874, allocations: 11.94 kB / 0.9217 GB, free: 4.629 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002701/0.2901, allocations: 1.796 MB / 0.9235 GB, free: 2.723 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005234/0.2906, allocations: 316.1 kB / 0.9238 GB, free: 2.395 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001675/0.2908, allocations: 28 kB / 0.9238 GB, free: 2.367 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007183/0.2915, allocations: 91.86 kB / 0.9239 GB, free: 2.277 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001874/0.2917, allocations: 100.7 kB / 0.924 GB, free: 2.18 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.737e-05/0.2918, allocations: 32 kB / 0.924 GB, free: 2.148 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0007739/0.2925, allocations: 0.6216 MB / 0.9246 GB, free: 1.52 MB / 0.67 GB Notification: Performance of sort global known variables: time 1e-07/0.2925, allocations: 3.938 kB / 0.9246 GB, free: 1.516 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001268/0.2938, allocations: 392 kB / 0.925 GB, free: 1.133 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (109): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (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.002951/0.2968, allocations: 2.395 MB / 0.9273 GB, free: 14.62 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003467/0.3002, allocations: 2.399 MB / 0.9297 GB, free: 12.12 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.3002, allocations: 0.875 kB / 0.9297 GB, free: 12.12 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.002067/0.3023, allocations: 1.59 MB / 0.9312 GB, free: 10.43 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00153/0.3038, allocations: 365.8 kB / 0.9316 GB, free: 10.08 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01555/0.3194, allocations: 11.53 MB / 0.9428 GB, free: 13.79 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001021/0.3204, allocations: 1.327 MB / 0.9441 GB, free: 12.43 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0008507/0.3212, allocations: 355.3 kB / 0.9445 GB, free: 12.08 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007104/0.3219, allocations: 0.5344 MB / 0.945 GB, free: 11.54 MB / 0.7012 GB Notification: Performance of SimCode: time 5.81e-07/0.3219, allocations: 0 / 0.945 GB, free: 11.54 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08304/0.405, allocations: 28.62 MB / 0.9729 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.73, allocations: 11.94 kB / 0.973 GB, free: 15.35 MB / 0.7325 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.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_ThreePhasesBalanced_Loads_Examples_ThreePhases.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.583918389864266] Failed to read output from testmodel.py, exit status != 0: 11.832133139949292 11.845273684 11.636192662 Calling exit ...