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.001733/0.001733, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001485/0.001485, allocations: 214.4 kB / 22.25 MB, free: 4.859 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.468/1.468, allocations: 230.6 MB / 256 MB, free: 7.797 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.002628/0.002628, allocations: 289.8 kB / 312.7 MB, free: 2.598 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.253/1.253, allocations: 180.6 MB / 0.5369 GB, free: 14.55 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.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.002995/0.002995, allocations: 96.7 kB / 0.7395 GB, free: 28.05 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1594/0.1624, allocations: 95.38 MB / 0.8326 GB, free: 8.371 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01484/0.1772, allocations: 10.7 MB / 0.8431 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01019/0.1874, allocations: 5.642 MB / 0.8486 GB, free: 7.969 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001068/0.1885, allocations: 71.31 kB / 0.8487 GB, free: 7.898 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.00494/0.1934, allocations: 1.721 MB / 0.8504 GB, free: 6.176 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003958/0.1974, allocations: 1.186 MB / 0.8515 GB, free: 4.984 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002523/0.1999, allocations: 0.8145 MB / 0.8523 GB, free: 4.172 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002984/0.2029, allocations: 2.123 MB / 0.8544 GB, free: 2.035 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001625/0.2045, allocations: 1.033 MB / 0.8554 GB, free: 0.9805 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001496/0.206, allocations: 0.8757 MB / 0.8563 GB, free: 104 kB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001777/0.2078, allocations: 0.9063 MB / 0.8571 GB, free: 15.19 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0003806/0.2081, allocations: 120 kB / 0.8573 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002438/0.2106, allocations: 1.052 MB / 0.8583 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0008346/0.2114, allocations: 0.5491 MB / 0.8588 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001205/0.2126, allocations: 0.6491 MB / 0.8594 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00444/0.2171, allocations: 2.451 MB / 0.8618 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.2171, allocations: 0 / 0.8618 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.994e-06/0.2171, allocations: 0 / 0.8618 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.518e-05/0.2172, allocations: 3.938 kB / 0.8618 GB, free: 10.35 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.004011/0.2212, allocations: 1.836 MB / 0.8636 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.2212, allocations: 13.88 kB / 0.8637 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003495/0.2216, allocations: 215.4 kB / 0.8639 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004582/0.2261, allocations: 0.6748 MB / 0.8645 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002313/0.2285, allocations: 0.9213 MB / 0.8654 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.32e-05/0.2286, allocations: 90.91 kB / 0.8655 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003116/0.2289, allocations: 132.3 kB / 0.8656 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003796/0.2327, allocations: 2.411 MB / 0.868 GB, free: 3.703 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.728e-05/0.2327, allocations: 15.88 kB / 0.868 GB, free: 3.688 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001598/0.2329, allocations: 55.98 kB / 0.8681 GB, free: 3.633 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002333/0.2331, allocations: 162.3 kB / 0.8682 GB, free: 3.473 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003387/0.2365, allocations: 1.859 MB / 0.87 GB, free: 1.605 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01265/0.2491, allocations: 9.409 MB / 0.8792 GB, free: 7.898 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004534/0.2537, allocations: 1.855 MB / 0.881 GB, free: 6.031 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009048/0.2546, allocations: 0.5619 MB / 0.8816 GB, free: 5.469 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001569/0.2547, allocations: 24.98 kB / 0.8816 GB, free: 5.445 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.415e-05/0.2548, allocations: 51.5 kB / 0.8816 GB, free: 5.383 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=103): time 3.126e-06/0.2548, allocations: 4 kB / 0.8816 GB, free: 5.379 MB / 0.6231 GB Notification: Performance of matching and sorting (n=110): time 0.006447/0.2612, allocations: 3.122 MB / 0.8847 GB, free: 2.246 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.259e-05/0.2613, allocations: 60.41 kB / 0.8848 GB, free: 2.176 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001338/0.2626, allocations: 0.9553 MB / 0.8857 GB, free: 1.203 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 7.215e-05/0.2627, allocations: 45.7 kB / 0.8857 GB, free: 1.152 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006121/0.2633, allocations: 0.7533 MB / 0.8865 GB, free: 400 kB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003825/0.2637, allocations: 400.7 kB / 0.8868 GB, free: 15.99 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004333/0.2641, allocations: 291.4 kB / 0.8871 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.2643, allocations: 301.1 kB / 0.8874 GB, free: 15.4 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001009/0.2653, allocations: 0.6129 MB / 0.888 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001428/0.2667, allocations: 1.106 MB / 0.8891 GB, free: 13.47 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002575/0.2693, allocations: 1.832 MB / 0.8909 GB, free: 11.41 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.119e-05/0.2693, allocations: 4 kB / 0.8909 GB, free: 11.41 MB / 0.6387 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003644/0.2729, allocations: 2.112 MB / 0.8929 GB, free: 9.27 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.706e-05/0.273, allocations: 12 kB / 0.893 GB, free: 9.258 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.459e-05/0.273, allocations: 16 kB / 0.893 GB, free: 9.242 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008511/0.2738, allocations: 258.9 kB / 0.8932 GB, free: 8.965 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001333/0.2752, allocations: 375.4 kB / 0.8936 GB, free: 8.598 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009625/0.2848, allocations: 10.73 MB / 0.9041 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001218/0.286, allocations: 127.7 kB / 0.9042 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001172/0.2861, allocations: 76.3 kB / 0.9043 GB, free: 12.75 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.0006717/0.2868, allocations: 405.9 kB / 0.9046 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002082/0.287, allocations: 135.2 kB / 0.9048 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002973/0.29, allocations: 1.677 MB / 0.9064 GB, free: 10.5 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.095e-05/0.29, allocations: 11.98 kB / 0.9064 GB, free: 10.49 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.29, allocations: 8 kB / 0.9064 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.22e-05/0.29, allocations: 7.969 kB / 0.9064 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005476/0.2955, allocations: 3.115 MB / 0.9095 GB, free: 7.219 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.616e-06/0.2955, allocations: 4 kB / 0.9095 GB, free: 7.215 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000891/0.2964, allocations: 227.6 kB / 0.9097 GB, free: 6.992 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007346/0.2971, allocations: 239.2 kB / 0.9099 GB, free: 6.734 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.498e-05/0.2972, allocations: 31.94 kB / 0.91 GB, free: 6.703 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009438/0.3066, allocations: 10.72 MB / 0.9204 GB, free: 11.07 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.017e-06/0.3066, allocations: 7.938 kB / 0.9204 GB, free: 11.06 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003352/0.31, allocations: 1.808 MB / 0.9222 GB, free: 9.148 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008655/0.3109, allocations: 227 kB / 0.9224 GB, free: 8.926 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00017/0.311, allocations: 31.94 kB / 0.9224 GB, free: 8.895 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007462/0.3118, allocations: 91.95 kB / 0.9225 GB, free: 8.805 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002165/0.312, allocations: 108.6 kB / 0.9226 GB, free: 8.695 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.746e-05/0.3121, allocations: 36 kB / 0.9227 GB, free: 8.66 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0008873/0.3129, allocations: 0.6216 MB / 0.9233 GB, free: 8.031 MB / 0.67 GB Notification: Performance of sort global known variables: time 8e-08/0.3129, allocations: 0 / 0.9233 GB, free: 8.031 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001368/0.3143, allocations: 392 kB / 0.9236 GB, free: 7.648 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.003196/0.3175, allocations: 2.387 MB / 0.926 GB, free: 5.145 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.00375/0.3213, allocations: 2.399 MB / 0.9283 GB, free: 2.645 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/0.3213, allocations: 4.125 kB / 0.9283 GB, free: 2.641 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0023/0.3236, allocations: 1.586 MB / 0.9299 GB, free: 0.9492 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001829/0.3254, allocations: 359.3 kB / 0.9302 GB, free: 0.6094 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01709/0.3425, allocations: 11.53 MB / 0.9415 GB, free: 4.332 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008807/0.3434, allocations: 0.7374 MB / 0.9422 GB, free: 3.562 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001022/0.3444, allocations: 359.3 kB / 0.9425 GB, free: 3.207 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007781/0.3452, allocations: 0.5383 MB / 0.9431 GB, free: 2.668 MB / 0.6856 GB Notification: Performance of SimCode: time 1.042e-06/0.3452, allocations: 4 kB / 0.9431 GB, free: 2.664 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1234/0.4686, allocations: 30.54 MB / 0.9729 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.73/13.2, allocations: 7.188 kB / 0.9729 GB, free: 4.703 MB / 0.7169 GB " [Timeout remaining time 647] (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: 17.587697559967637] Failed to read output from testmodel.py, exit status != 0: 13.327273938804865 13.342997391 13.122748291 Calling exit ...