Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.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.001612/0.001612, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001527/0.001527, allocations: 219.6 kB / 22.26 MB, free: 5.117 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.426/1.426, allocations: 230.6 MB / 256 MB, free: 8.02 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.002526/0.002526, allocations: 277.2 kB / 312.7 MB, free: 2.824 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.213/1.213, allocations: 180.6 MB / 0.5369 GB, free: 12.98 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_RL,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",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.002828/0.002828, allocations: 102.3 kB / 0.7396 GB, free: 28.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1596/0.1624, allocations: 95.39 MB / 0.8327 GB, free: 8.637 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.007808/0.1702, allocations: 5.744 MB / 0.8384 GB, free: 2.867 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004477/0.1747, allocations: 2.782 MB / 0.8411 GB, free: 76 kB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002942/0.175, allocations: 31.69 kB / 0.8411 GB, free: 44 kB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001873/0.1769, allocations: 0.71 MB / 0.8418 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.000858/0.1777, allocations: 433.7 kB / 0.8422 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009398/0.1787, allocations: 411 kB / 0.8426 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001144/0.1798, allocations: 0.9516 MB / 0.8435 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005665/0.1804, allocations: 378.5 kB / 0.8439 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005417/0.1809, allocations: 394.5 kB / 0.8443 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006023/0.1815, allocations: 430.3 kB / 0.8447 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 7.562e-05/0.1816, allocations: 48 kB / 0.8447 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006233/0.1822, allocations: 375.2 kB / 0.8451 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002739/0.1825, allocations: 255.2 kB / 0.8453 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003368/0.1828, allocations: 338.3 kB / 0.8456 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00115/0.184, allocations: 0.9961 MB / 0.8466 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.184, allocations: 0 / 0.8466 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.373e-06/0.184, allocations: 0 / 0.8466 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.337e-06/0.184, allocations: 0 / 0.8466 GB, free: 10.37 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001623/0.1856, allocations: 0.9247 MB / 0.8475 GB, free: 9.41 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.1857, allocations: 9.344 kB / 0.8475 GB, free: 9.402 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001168/0.1858, allocations: 98.69 kB / 0.8476 GB, free: 9.297 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001305/0.1871, allocations: 196.2 kB / 0.8478 GB, free: 9.105 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008384/0.1879, allocations: 476.9 kB / 0.8483 GB, free: 8.613 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.141e-05/0.188, allocations: 37.36 kB / 0.8483 GB, free: 8.578 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000152/0.1881, allocations: 52.56 kB / 0.8484 GB, free: 8.527 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001157/0.1893, allocations: 0.8355 MB / 0.8492 GB, free: 7.613 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.553e-05/0.1893, allocations: 3.938 kB / 0.8492 GB, free: 7.609 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.666e-05/0.1893, allocations: 27.98 kB / 0.8492 GB, free: 7.582 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001972/0.1895, allocations: 64.95 kB / 0.8493 GB, free: 7.516 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000927/0.1905, allocations: 0.5697 MB / 0.8498 GB, free: 6.949 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005027/0.1955, allocations: 4.493 MB / 0.8542 GB, free: 2.117 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004809/0.196, allocations: 283.2 kB / 0.8545 GB, free: 1.832 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003123/0.1963, allocations: 209.3 kB / 0.8547 GB, free: 1.625 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.452e-05/0.1963, allocations: 4.281 kB / 0.8547 GB, free: 1.621 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.945e-05/0.1964, allocations: 46.78 kB / 0.8547 GB, free: 1.566 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=33): time 1.783e-06/0.1964, allocations: 0 / 0.8547 GB, free: 1.566 MB / 0.5919 GB Notification: Performance of matching and sorting (n=40): time 0.005595/0.202, allocations: 2.343 MB / 0.857 GB, free: 15.17 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.202, allocations: 59.39 kB / 0.8571 GB, free: 15.1 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005246/0.2025, allocations: 462 kB / 0.8575 GB, free: 14.63 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.888e-05/0.2026, allocations: 33.7 kB / 0.8575 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002497/0.2028, allocations: 356.4 kB / 0.8579 GB, free: 14.24 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001277/0.2029, allocations: 150.7 kB / 0.858 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000166/0.2031, allocations: 106.2 kB / 0.8581 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001736/0.2033, allocations: 362.8 kB / 0.8585 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000366/0.2037, allocations: 229.2 kB / 0.8587 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005087/0.2042, allocations: 415.3 kB / 0.8591 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009463/0.2051, allocations: 0.679 MB / 0.8597 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.2051, allocations: 4 kB / 0.8598 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00175/0.2069, allocations: 0.9096 MB / 0.8606 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.2069, allocations: 5.719 kB / 0.8606 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.487e-06/0.2069, allocations: 8 kB / 0.8607 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007985/0.2077, allocations: 223 kB / 0.8609 GB, free: 11 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005213/0.2082, allocations: 115.8 kB / 0.861 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005408/0.2136, allocations: 5.046 MB / 0.8659 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004104/0.214, allocations: 36.03 kB / 0.8659 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.054e-05/0.2141, allocations: 24 kB / 0.866 GB, free: 5.434 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.0003174/0.2144, allocations: 221.7 kB / 0.8662 GB, free: 5.207 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.533e-05/0.2145, allocations: 63.56 kB / 0.8662 GB, free: 5.145 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001538/0.216, allocations: 0.7659 MB / 0.867 GB, free: 4.363 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.216, allocations: 4 kB / 0.867 GB, free: 4.359 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.216, allocations: 4.141 kB / 0.867 GB, free: 4.355 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.216, allocations: 3.984 kB / 0.867 GB, free: 4.352 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002538/0.2186, allocations: 1.47 MB / 0.8684 GB, free: 2.801 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.2186, allocations: 0 / 0.8684 GB, free: 2.801 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003756/0.219, allocations: 71.88 kB / 0.8685 GB, free: 2.73 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006605/0.2196, allocations: 202.6 kB / 0.8687 GB, free: 2.523 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.123e-05/0.2196, allocations: 8 kB / 0.8687 GB, free: 2.516 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005034/0.2247, allocations: 4.968 MB / 0.8735 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.2247, allocations: 4 kB / 0.8736 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001802/0.2265, allocations: 1.124 MB / 0.8747 GB, free: 12.03 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002341/0.2267, allocations: 107.5 kB / 0.8748 GB, free: 11.92 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.774e-05/0.2268, allocations: 8 kB / 0.8748 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003158/0.2271, allocations: 23.97 kB / 0.8748 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.703e-05/0.2272, allocations: 43.94 kB / 0.8748 GB, free: 11.85 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.518e-05/0.2272, allocations: 8 kB / 0.8748 GB, free: 11.84 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003498/0.2276, allocations: 318.9 kB / 0.8751 GB, free: 11.53 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1e-07/0.2276, allocations: 0 / 0.8751 GB, free: 11.53 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006383/0.2282, allocations: 168 kB / 0.8753 GB, free: 11.37 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * 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 (30): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00212/0.2303, allocations: 1.692 MB / 0.8769 GB, free: 9.613 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001603/0.2319, allocations: 0.9693 MB / 0.8779 GB, free: 8.605 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.2319, allocations: 0 / 0.8779 GB, free: 8.605 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.00101/0.2329, allocations: 0.6681 MB / 0.8785 GB, free: 7.898 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008688/0.2338, allocations: 188.5 kB / 0.8787 GB, free: 7.727 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007909/0.2417, allocations: 5.652 MB / 0.8842 GB, free: 1.793 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000615/0.2423, allocations: 0.9493 MB / 0.8852 GB, free: 0.8164 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003172/0.2427, allocations: 117 kB / 0.8853 GB, free: 0.7031 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002852/0.2429, allocations: 215.4 kB / 0.8855 GB, free: 0.4922 MB / 0.6231 GB Notification: Performance of SimCode: time 3.41e-07/0.2429, allocations: 0 / 0.8855 GB, free: 0.4922 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07367/0.3166, allocations: 14.77 MB / 0.8999 GB, free: 2.012 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.01/12.33, allocations: 10.75 kB / 0.8999 GB, free: 2.004 MB / 0.6387 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_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_RL.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.471166037998046] Failed to read output from testmodel.py, exit status != 0: 12.44663214100001 12.465841594 12.278280962 Calling exit ...