Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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.001237/0.001237, allocations: 107.7 kB / 16.45 MB, free: 6.453 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.001319/0.001319, allocations: 215.2 kB / 19.43 MB, free: 3.625 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.353/1.353, allocations: 230.6 MB / 252.8 MB, free: 8.965 MB / 206.1 MB " [Timeout remaining time 178] 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.002392/0.002392, allocations: 276.3 kB / 309.1 MB, free: 3.996 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.173/1.173, allocations: 180.9 MB / 0.5333 GB, free: 13.7 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.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",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.002784/0.002784, allocations: 109.2 kB / 0.7343 GB, free: 28.37 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.152/0.1548, allocations: 95.33 MB / 0.8274 GB, free: 9.859 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.03973/0.1945, allocations: 33.19 MB / 0.8598 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01691/0.2114, allocations: 10.41 MB / 0.87 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00234/0.2138, allocations: 194.6 kB / 0.8701 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.009/0.2228, allocations: 3.777 MB / 0.8738 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.00488/0.2277, allocations: 1.952 MB / 0.8757 GB, free: 8.18 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.005111/0.2328, allocations: 2.133 MB / 0.8778 GB, free: 6.051 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.00902/0.2418, allocations: 7.325 MB / 0.885 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009975/0.2518, allocations: 7.058 MB / 0.8919 GB, free: 7.531 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005027/0.2568, allocations: 3.26 MB / 0.895 GB, free: 4.262 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005421/0.2622, allocations: 3.68 MB / 0.8986 GB, free: 0.5703 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0009935/0.2632, allocations: 0.6485 MB / 0.8993 GB, free: 15.92 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003187/0.2664, allocations: 1.802 MB / 0.901 GB, free: 14.12 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.002631/0.269, allocations: 2.615 MB / 0.9036 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.003273/0.2723, allocations: 2.894 MB / 0.9064 GB, free: 8.59 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01129/0.2836, allocations: 10.14 MB / 0.9163 GB, free: 14.41 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.2836, allocations: 0 / 0.9163 GB, free: 14.41 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.693e-06/0.2836, allocations: 0 / 0.9163 GB, free: 14.41 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0002042/0.2838, allocations: 4 kB / 0.9163 GB, free: 14.41 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.009881/0.2937, allocations: 5.12 MB / 0.9213 GB, free: 9.211 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.2937, allocations: 8.031 kB / 0.9213 GB, free: 9.203 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009919/0.2947, allocations: 0.682 MB / 0.922 GB, free: 8.512 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005005/0.2997, allocations: 0.9774 MB / 0.9229 GB, free: 7.531 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005164/0.3049, allocations: 3.063 MB / 0.9259 GB, free: 4.41 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002579/0.3051, allocations: 341.7 kB / 0.9263 GB, free: 4.074 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007228/0.3059, allocations: 468.2 kB / 0.9267 GB, free: 3.617 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01333/0.3192, allocations: 7.667 MB / 0.9342 GB, free: 11.6 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001136/0.3193, allocations: 31.72 kB / 0.9342 GB, free: 11.57 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004906/0.3198, allocations: 204 kB / 0.9344 GB, free: 11.37 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00035/0.3202, allocations: 312.9 kB / 0.9347 GB, free: 11.06 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0095/0.3297, allocations: 5.71 MB / 0.9403 GB, free: 5.336 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03494/0.3646, allocations: 34.88 MB / 0.9744 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002697/0.3673, allocations: 2.011 MB / 0.9763 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001542/0.3688, allocations: 1.128 MB / 0.9774 GB, free: 12 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 8.727e-05/0.3689, allocations: 17.31 kB / 0.9774 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.516e-05/0.369, allocations: 43.88 kB / 0.9775 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=133): time 2.925e-06/0.369, allocations: 4 kB / 0.9775 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of matching and sorting (n=136): time 0.01342/0.3824, allocations: 7.122 MB / 0.9844 GB, free: 4.543 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.843e-05/0.3824, allocations: 64.72 kB / 0.9845 GB, free: 4.469 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001849/0.3843, allocations: 1.488 MB / 0.986 GB, free: 2.934 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 8.587e-05/0.3844, allocations: 49.7 kB / 0.986 GB, free: 2.879 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001376/0.3857, allocations: 2.069 MB / 0.988 GB, free: 0.7891 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004176/0.3861, allocations: 0.4958 MB / 0.9885 GB, free: 296 kB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.3038/0.69, allocations: 346.9 kB / 0.9888 GB, free: 147.9 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 3.598e-05/0.69, allocations: 302.2 kB / 0.9891 GB, free: 147.6 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001353/0.6914, allocations: 0.9138 MB / 0.99 GB, free: 147.6 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001471/0.6928, allocations: 1.592 MB / 0.9916 GB, free: 146.8 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002744/0.6956, allocations: 2.735 MB / 0.9942 GB, free: 145.3 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-05/0.6956, allocations: 10.66 kB / 0.9943 GB, free: 145.3 MB / 0.7325 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.005136/0.7007, allocations: 3.51 MB / 0.9977 GB, free: 143.9 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.74e-05/0.7008, allocations: 19.66 kB / 0.9977 GB, free: 143.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.379e-05/0.7008, allocations: 21.95 kB / 0.9977 GB, free: 143.9 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002467/0.7032, allocations: 0.9004 MB / 0.9986 GB, free: 143.6 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001139/0.7044, allocations: 349.1 kB / 0.9989 GB, free: 143.6 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01871/0.7231, allocations: 23.12 MB / 1.022 GB, free: 123.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002016/0.7251, allocations: 102.2 kB / 1.022 GB, free: 123.8 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001617/0.7253, allocations: 87.45 kB / 1.022 GB, free: 123.8 MB / 0.7325 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 (185): * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002831/0.7281, allocations: 1.616 MB / 1.023 GB, free: 123.1 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000399/0.7285, allocations: 216.8 kB / 1.023 GB, free: 123.1 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004485/0.733, allocations: 2.961 MB / 1.026 GB, free: 121.9 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.25e-05/0.733, allocations: 17.25 kB / 1.026 GB, free: 121.9 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.347e-05/0.733, allocations: 8.969 kB / 1.026 GB, free: 121.9 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/0.733, allocations: 8.672 kB / 1.026 GB, free: 121.9 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008629/0.7417, allocations: 7.314 MB / 1.034 GB, free: 118.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.396e-06/0.7417, allocations: 5.219 kB / 1.034 GB, free: 118.6 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007249/0.7424, allocations: 179.1 kB / 1.034 GB, free: 118.6 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002069/0.7445, allocations: 0.8267 MB / 1.035 GB, free: 118.2 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.573e-05/0.7445, allocations: 27.66 kB / 1.035 GB, free: 118.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01322/0.7577, allocations: 21.96 MB / 1.056 GB, free: 97.73 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/0.7578, allocations: 15.86 kB / 1.056 GB, free: 97.72 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004135/0.7619, allocations: 3.005 MB / 1.059 GB, free: 94.63 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006808/0.7626, allocations: 467.6 kB / 1.059 GB, free: 94.15 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001883/0.7628, allocations: 27.98 kB / 1.059 GB, free: 94.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007549/0.7635, allocations: 83.84 kB / 1.06 GB, free: 94.04 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003195/0.7638, allocations: 124.3 kB / 1.06 GB, free: 93.92 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.907e-05/0.7639, allocations: 36 kB / 1.06 GB, free: 93.89 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001027/0.7649, allocations: 0.9834 MB / 1.061 GB, free: 92.88 MB / 0.7325 GB Notification: Performance of sort global known variables: time 7e-08/0.7649, allocations: 0 / 1.061 GB, free: 92.88 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002407/0.7673, allocations: 0.7812 MB / 1.061 GB, free: 92.1 MB / 0.7325 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003894/0.7712, allocations: 3.603 MB / 1.065 GB, free: 88.38 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004337/0.7756, allocations: 3.92 MB / 1.069 GB, free: 84.32 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.359e-06/0.7756, allocations: 4 kB / 1.069 GB, free: 84.31 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002667/0.7782, allocations: 2.663 MB / 1.071 GB, free: 81.5 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002592/0.7808, allocations: 0.742 MB / 1.072 GB, free: 80.8 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02483/0.8057, allocations: 22.41 MB / 1.094 GB, free: 57.4 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002236/0.8079, allocations: 3.109 MB / 1.097 GB, free: 54.26 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001017/0.8089, allocations: 453.9 kB / 1.097 GB, free: 53.81 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001172/0.8101, allocations: 1.538 MB / 1.099 GB, free: 52.27 MB / 0.7325 GB Notification: Performance of SimCode: time 7.51e-07/0.8101, allocations: 0 / 1.099 GB, free: 52.27 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1383/0.9484, allocations: 61.9 MB / 1.159 GB, free: 7.113 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.63/13.58, allocations: 8.5 kB / 1.159 GB, free: 7.105 MB / 0.7481 GB " [Timeout remaining time 646] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.587261571083218] Failed to read output from testmodel.py, exit status != 0: 13.693658181000501 13.707595945 13.421060517 Calling exit ...