Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.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.0007864/0.0007864, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008311/0.0008311, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8584/0.8584, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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.001442/0.001442, allocations: 236.8 kB / 259.4 MB, free: 13.03 MB / 250.7 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 0.6784/0.6784, allocations: 138.4 MB / 454.3 MB, free: 30.03 MB / 410.7 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.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 0.6463 GB, free: 1.84 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 8.907e-06/1.035e-05, allocations: 6.219 kB / 0.6463 GB, free: 1.832 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.2745/0.2745, allocations: 32.99 MB / 0.6785 GB, free: 38.19 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.015/0.2895, allocations: 11.37 MB / 0.6896 GB, free: 30.9 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003468/0.293, allocations: 206.1 kB / 0.6898 GB, free: 30.8 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.005672/0.2986, allocations: 4.286 MB / 0.694 GB, free: 28.4 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.005262/0.3039, allocations: 2.146 MB / 0.6961 GB, free: 27.06 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.005146/0.3091, allocations: 2.433 MB / 0.6985 GB, free: 25.69 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.008448/0.3175, allocations: 8.617 MB / 0.7069 GB, free: 21.48 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007358/0.3249, allocations: 6.193 MB / 0.7129 GB, free: 17.55 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006578/0.3314, allocations: 5.392 MB / 0.7182 GB, free: 14.05 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004874/0.3363, allocations: 3.903 MB / 0.722 GB, free: 11.83 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.001489/0.3378, allocations: 0.7795 MB / 0.7228 GB, free: 11.83 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004115/0.3419, allocations: 1.929 MB / 0.7247 GB, free: 11.06 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.00194/0.3439, allocations: 3.278 MB / 0.7279 GB, free: 7.777 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.002328/0.3462, allocations: 2.37 MB / 0.7302 GB, free: 5.402 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.008161/0.3543, allocations: 12.24 MB / 0.7421 GB, free: 9.133 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.3543, allocations: 3.984 kB / 0.7421 GB, free: 9.129 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3544, allocations: 4 kB / 0.7421 GB, free: 9.125 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0001794/0.3545, allocations: 0 / 0.7421 GB, free: 9.125 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.006438/0.361, allocations: 5.802 MB / 0.7478 GB, free: 3.266 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.361, allocations: 13.92 kB / 0.7478 GB, free: 3.254 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006961/0.3617, allocations: 0.8018 MB / 0.7486 GB, free: 2.441 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003203/0.3649, allocations: 1.102 MB / 0.7497 GB, free: 1.336 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003746/0.3687, allocations: 3.418 MB / 0.753 GB, free: 13.85 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001931/0.3689, allocations: 415.4 kB / 0.7534 GB, free: 13.45 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005391/0.3694, allocations: 0.5432 MB / 0.7539 GB, free: 12.9 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009701/0.3791, allocations: 9.384 MB / 0.7631 GB, free: 3.129 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.634e-05/0.3792, allocations: 28 kB / 0.7631 GB, free: 3.102 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003671/0.3795, allocations: 247.9 kB / 0.7634 GB, free: 2.863 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002416/0.3798, allocations: 350.8 kB / 0.7637 GB, free: 2.52 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007841/0.3876, allocations: 6.818 MB / 0.7704 GB, free: 11.69 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.022/0.4096, allocations: 25.09 MB / 0.7949 GB, free: 2.016 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002118/0.4117, allocations: 2.291 MB / 0.7971 GB, free: 15.72 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001808/0.4136, allocations: 1.772 MB / 0.7988 GB, free: 13.95 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 7.282e-05/0.4136, allocations: 22 kB / 0.7989 GB, free: 13.93 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.862e-05/0.4137, allocations: 52.56 kB / 0.7989 GB, free: 13.87 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=179): time 3.737e-06/0.4137, allocations: 0 / 0.7989 GB, free: 13.87 MB / 0.6355 GB Notification: Performance of matching and sorting (n=182): time 0.01411/0.4278, allocations: 9.679 MB / 0.8084 GB, free: 4.172 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.257e-05/0.4278, allocations: 77.39 kB / 0.8084 GB, free: 4.086 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001375/0.4292, allocations: 1.561 MB / 0.81 GB, free: 2.48 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.965e-05/0.4293, allocations: 53.7 kB / 0.81 GB, free: 2.422 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.001368/0.4306, allocations: 2.324 MB / 0.8123 GB, free: 76 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003401/0.431, allocations: 0.6506 MB / 0.8129 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003816/0.4314, allocations: 408.1 kB / 0.8133 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 7.109e-05/0.4314, allocations: 313 kB / 0.8136 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001066/0.4325, allocations: 1.179 MB / 0.8148 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001399/0.4339, allocations: 1.881 MB / 0.8166 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002932/0.4368, allocations: 3.367 MB / 0.8199 GB, free: 7.637 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.366e-06/0.4368, allocations: 4 kB / 0.8199 GB, free: 7.633 MB / 0.6511 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.004463/0.4413, allocations: 4.536 MB / 0.8243 GB, free: 3.074 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.798e-05/0.4413, allocations: 16 kB / 0.8243 GB, free: 3.059 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.864e-05/0.4413, allocations: 20 kB / 0.8243 GB, free: 3.039 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002392/0.4437, allocations: 1.578 MB / 0.8259 GB, free: 1.453 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006121/0.4443, allocations: 355.3 kB / 0.8262 GB, free: 1.105 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01441/0.4588, allocations: 17.95 MB / 0.8438 GB, free: 14.71 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001003/0.4598, allocations: 123.8 kB / 0.8439 GB, free: 14.59 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001029/0.4599, allocations: 96 kB / 0.844 GB, free: 14.5 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (177): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002558/0.4624, allocations: 1.894 MB / 0.8458 GB, free: 12.59 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002138/0.4626, allocations: 242.5 kB / 0.846 GB, free: 12.36 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004561/0.4672, allocations: 4.039 MB / 0.85 GB, free: 8.289 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.518e-06/0.4672, allocations: 16 kB / 0.85 GB, free: 8.273 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.39e-05/0.4672, allocations: 20 kB / 0.85 GB, free: 8.254 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.907e-06/0.4672, allocations: 7.969 kB / 0.85 GB, free: 8.246 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009785/0.477, allocations: 8.669 MB / 0.8585 GB, free: 15.43 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.313e-06/0.477, allocations: 4 kB / 0.8585 GB, free: 15.43 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004067/0.4774, allocations: 183.7 kB / 0.8587 GB, free: 15.25 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001843/0.4793, allocations: 1.353 MB / 0.86 GB, free: 13.89 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.23e-05/0.4793, allocations: 36 kB / 0.86 GB, free: 13.86 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01401/0.4934, allocations: 16.72 MB / 0.8764 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/0.4934, allocations: 4 kB / 0.8764 GB, free: 12.67 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004208/0.4976, allocations: 4.028 MB / 0.8803 GB, free: 8.551 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007125/0.4983, allocations: 474.5 kB / 0.8807 GB, free: 8.086 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001392/0.4984, allocations: 43.98 kB / 0.8808 GB, free: 8.043 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004789/0.4989, allocations: 87.91 kB / 0.8809 GB, free: 7.957 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002892/0.4992, allocations: 169.5 kB / 0.881 GB, free: 7.793 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-05/0.4992, allocations: 48 kB / 0.8811 GB, free: 7.746 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001289/0.5005, allocations: 1.005 MB / 0.8821 GB, free: 6.719 MB / 0.7136 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5005, allocations: 7.938 kB / 0.8821 GB, free: 6.711 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.00257/0.5031, allocations: 0.9844 MB / 0.883 GB, free: 5.727 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (85): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004268/0.5074, allocations: 4.621 MB / 0.8875 GB, free: 1.008 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.004416/0.5118, allocations: 4.164 MB / 0.8916 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.5118, allocations: 0.5625 kB / 0.8916 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.002299/0.5141, allocations: 2.572 MB / 0.8941 GB, free: 10.18 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001743/0.5158, allocations: 0.7995 MB / 0.8949 GB, free: 9.434 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03046/0.5463, allocations: 27.02 MB / 0.9213 GB, free: 13.33 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003082/0.5494, allocations: 3.035 MB / 0.9243 GB, free: 10.25 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0009658/0.5503, allocations: 475.8 kB / 0.9247 GB, free: 9.781 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001311/0.5517, allocations: 1.789 MB / 0.9265 GB, free: 7.992 MB / 0.7605 GB Notification: Performance of SimCode: time 1.272e-06/0.5517, allocations: 0 / 0.9265 GB, free: 7.992 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.329/0.8807, allocations: 78.56 MB / 1.003 GB, free: 203.3 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.324/9.205, allocations: 7.109 kB / 1.003 GB, free: 203.3 MB / 0.7605 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_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_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.894639382138848] Failed to read output from testmodel.py, exit status != 0: 9.316861242055893 9.323753233 8.96776197 Calling exit ...