Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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.001302/0.001302, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001486/0.001486, allocations: 208.4 kB / 22.24 MB, free: 5.262 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.463/1.463, allocations: 230.6 MB / 256 MB, free: 7.785 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.002469/0.002469, allocations: 286.2 kB / 312.7 MB, free: 2.707 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.265/1.265, allocations: 180.6 MB / 0.5369 GB, free: 14.54 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.Lines.Examples.ACLine_R,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",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.002976/0.002976, allocations: 117.2 kB / 0.7395 GB, free: 27.86 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1931/0.1961, allocations: 95.38 MB / 0.8327 GB, free: 8.328 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.01002/0.2061, allocations: 6.553 MB / 0.8391 GB, free: 1.746 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006101/0.2122, allocations: 3.056 MB / 0.842 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007779/0.213, allocations: 39.62 kB / 0.8421 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002864/0.2159, allocations: 0.9596 MB / 0.843 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001607/0.2175, allocations: 0.5207 MB / 0.8435 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001357/0.2189, allocations: 449.4 kB / 0.8439 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001928/0.2208, allocations: 1.229 MB / 0.8451 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00112/0.2219, allocations: 0.5295 MB / 0.8457 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001048/0.2229, allocations: 498.3 kB / 0.8461 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001103/0.224, allocations: 0.5135 MB / 0.8466 GB, free: 9.945 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002418/0.2243, allocations: 68 kB / 0.8467 GB, free: 9.879 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001017/0.2253, allocations: 343.3 kB / 0.847 GB, free: 9.543 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005522/0.2259, allocations: 315.1 kB / 0.8473 GB, free: 9.234 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0007417/0.2266, allocations: 382.2 kB / 0.8477 GB, free: 8.859 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00194/0.2285, allocations: 1.237 MB / 0.8489 GB, free: 7.617 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.2285, allocations: 4 kB / 0.8489 GB, free: 7.613 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.623e-06/0.2285, allocations: 0 / 0.8489 GB, free: 7.613 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.126e-05/0.2286, allocations: 0 / 0.8489 GB, free: 7.613 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002766/0.2314, allocations: 1.115 MB / 0.85 GB, free: 6.461 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/0.2314, allocations: 9.344 kB / 0.85 GB, free: 6.453 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002135/0.2316, allocations: 130.6 kB / 0.8501 GB, free: 6.316 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001623/0.2332, allocations: 236.1 kB / 0.8504 GB, free: 6.086 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001282/0.2345, allocations: 0.5476 MB / 0.8509 GB, free: 5.512 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.514e-05/0.2346, allocations: 49.67 kB / 0.8509 GB, free: 5.461 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000136/0.2347, allocations: 64.36 kB / 0.851 GB, free: 5.398 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001859/0.2366, allocations: 1.34 MB / 0.8523 GB, free: 3.891 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.791e-05/0.2366, allocations: 7.938 kB / 0.8523 GB, free: 3.883 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.558e-05/0.2367, allocations: 31.98 kB / 0.8524 GB, free: 3.852 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001638/0.2369, allocations: 85.19 kB / 0.8524 GB, free: 3.77 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001299/0.2382, allocations: 0.7504 MB / 0.8532 GB, free: 3.016 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005735/0.2439, allocations: 4.628 MB / 0.8577 GB, free: 14.22 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001053/0.2449, allocations: 0.511 MB / 0.8582 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004545/0.2454, allocations: 286 kB / 0.8585 GB, free: 13.42 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.687e-05/0.2454, allocations: 8.438 kB / 0.8585 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.603e-05/0.2455, allocations: 35 kB / 0.8585 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=47): time 2.565e-06/0.2455, allocations: 4 kB / 0.8585 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of matching and sorting (n=48): time 0.003977/0.2495, allocations: 1.686 MB / 0.8601 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.174e-05/0.2495, allocations: 63.77 kB / 0.8602 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007245/0.2502, allocations: 0.5781 MB / 0.8608 GB, free: 11 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.789e-05/0.2503, allocations: 29.7 kB / 0.8608 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003297/0.2506, allocations: 428 kB / 0.8612 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001694/0.2508, allocations: 178.5 kB / 0.8614 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002266/0.251, allocations: 134.6 kB / 0.8615 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002001/0.2512, allocations: 374.7 kB / 0.8619 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004509/0.2517, allocations: 277.8 kB / 0.8621 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006466/0.2523, allocations: 492.9 kB / 0.8626 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001152/0.2535, allocations: 0.8084 MB / 0.8634 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.742e-06/0.2535, allocations: 7.938 kB / 0.8634 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001939/0.2554, allocations: 1.074 MB / 0.8644 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.289e-05/0.2554, allocations: 8 kB / 0.8645 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/0.2554, allocations: 11.94 kB / 0.8645 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008754/0.2563, allocations: 279.6 kB / 0.8647 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004909/0.2568, allocations: 123.8 kB / 0.8648 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007158/0.264, allocations: 6.69 MB / 0.8714 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006099/0.2646, allocations: 36.16 kB / 0.8714 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.064e-05/0.2646, allocations: 32 kB / 0.8714 GB, free: 15.34 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * 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 {(2,6,100.0%), (2,4,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.0004181/0.2651, allocations: 258.3 kB / 0.8717 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001603/0.2652, allocations: 79.53 kB / 0.8718 GB, free: 15 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001641/0.2669, allocations: 0.8769 MB / 0.8726 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.2669, allocations: 7.984 kB / 0.8726 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.868e-06/0.2669, allocations: 8 kB / 0.8726 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.2669, allocations: 0 / 0.8726 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003043/0.2699, allocations: 1.603 MB / 0.8742 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.124e-06/0.2699, allocations: 7.938 kB / 0.8742 GB, free: 12.4 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000273/0.2702, allocations: 59.89 kB / 0.8743 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007824/0.271, allocations: 275.6 kB / 0.8745 GB, free: 12.06 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.72e-05/0.271, allocations: 12 kB / 0.8745 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007182/0.2782, allocations: 6.671 MB / 0.8811 GB, free: 4.922 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.2782, allocations: 4.031 kB / 0.8811 GB, free: 4.918 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001689/0.2799, allocations: 0.9759 MB / 0.882 GB, free: 3.895 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004247/0.2803, allocations: 119.5 kB / 0.8821 GB, free: 3.777 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001368/0.2805, allocations: 16.12 kB / 0.8821 GB, free: 3.762 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004244/0.2809, allocations: 35.97 kB / 0.8822 GB, free: 3.727 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001192/0.281, allocations: 47.91 kB / 0.8822 GB, free: 3.68 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.694e-05/0.281, allocations: 16 kB / 0.8822 GB, free: 3.664 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005111/0.2816, allocations: 387.1 kB / 0.8826 GB, free: 3.289 MB / 0.6231 GB Notification: Performance of sort global known variables: time 8e-08/0.2816, allocations: 0 / 0.8826 GB, free: 3.289 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008937/0.2824, allocations: 220 kB / 0.8828 GB, free: 3.074 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * 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 {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001977/0.2844, allocations: 1.54 MB / 0.8843 GB, free: 1.469 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002171/0.2866, allocations: 1.224 MB / 0.8855 GB, free: 200 kB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.2866, allocations: 4.062 kB / 0.8855 GB, free: 196 kB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001325/0.2879, allocations: 0.8735 MB / 0.8864 GB, free: 15.27 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001089/0.289, allocations: 222 kB / 0.8866 GB, free: 15.05 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009867/0.2989, allocations: 6.399 MB / 0.8928 GB, free: 8.32 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005564/0.2994, allocations: 420.8 kB / 0.8932 GB, free: 7.883 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0004465/0.2999, allocations: 126 kB / 0.8934 GB, free: 7.758 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003607/0.3002, allocations: 251.4 kB / 0.8936 GB, free: 7.512 MB / 0.6387 GB Notification: Performance of SimCode: time 9.92e-07/0.3002, allocations: 4 kB / 0.8936 GB, free: 7.508 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07838/0.3786, allocations: 19.37 MB / 0.9125 GB, free: 4.598 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.42/12.8, allocations: 7.5 kB / 0.9125 GB, free: 4.594 MB / 0.6544 GB " [Timeout remaining time 647] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_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_Lines_Examples_ACLine_R.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.13888453040272] Failed to read output from testmodel.py, exit status != 0: 12.919126370921731 12.935824154 12.703991111 Calling exit ...