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.001459/0.001459, 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.001592/0.001592, allocations: 212.2 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.456/1.456, allocations: 230.6 MB / 256 MB, free: 7.793 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.00257/0.00257, allocations: 292.3 kB / 312.7 MB, free: 2.699 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.268/1.268, 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_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.002903/0.002903, allocations: 104.8 kB / 0.7395 GB, free: 27.85 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1995/0.2024, allocations: 95.38 MB / 0.8326 GB, free: 8.281 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.007773/0.2101, allocations: 5.367 MB / 0.8379 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004814/0.215, allocations: 2.627 MB / 0.8405 GB, free: 260 kB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005462/0.2155, allocations: 31.69 kB / 0.8405 GB, free: 228 kB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002178/0.2177, allocations: 0.6827 MB / 0.8411 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001164/0.2188, allocations: 425.7 kB / 0.8416 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00113/0.22, allocations: 412.5 kB / 0.8419 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001215/0.2212, allocations: 0.9556 MB / 0.8429 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005733/0.2218, allocations: 378.5 kB / 0.8432 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005362/0.2223, allocations: 390.5 kB / 0.8436 GB, free: 13 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005764/0.2229, allocations: 406.4 kB / 0.844 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 8.239e-05/0.223, allocations: 48 kB / 0.844 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000631/0.2236, allocations: 327.2 kB / 0.8444 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002735/0.2239, allocations: 259.2 kB / 0.8446 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002998/0.2242, allocations: 282.7 kB / 0.8449 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001136/0.2253, allocations: 0.9883 MB / 0.8458 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.2253, allocations: 3.938 kB / 0.8458 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.204e-06/0.2253, allocations: 4 kB / 0.8458 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.919e-06/0.2253, allocations: 0 / 0.8458 GB, free: 10.71 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.001625/0.2269, allocations: 0.9143 MB / 0.8467 GB, free: 9.758 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.227, allocations: 13.34 kB / 0.8468 GB, free: 9.746 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001246/0.2271, allocations: 102.7 kB / 0.8469 GB, free: 9.637 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001341/0.2284, allocations: 200.2 kB / 0.847 GB, free: 9.441 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009199/0.2294, allocations: 476.9 kB / 0.8475 GB, free: 8.949 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.3e-05/0.2294, allocations: 37.36 kB / 0.8475 GB, free: 8.914 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000162/0.2296, allocations: 52.56 kB / 0.8476 GB, free: 8.863 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001284/0.2309, allocations: 0.9783 MB / 0.8485 GB, free: 7.766 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.456e-05/0.2309, allocations: 4 kB / 0.8485 GB, free: 7.762 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.079e-05/0.2309, allocations: 35.97 kB / 0.8486 GB, free: 7.727 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001972/0.2311, allocations: 68.88 kB / 0.8486 GB, free: 7.656 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009202/0.2321, allocations: 0.5658 MB / 0.8492 GB, free: 7.094 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004322/0.2364, allocations: 3.573 MB / 0.8527 GB, free: 3.379 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004843/0.2369, allocations: 275.3 kB / 0.8529 GB, free: 3.102 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000312/0.2372, allocations: 209.3 kB / 0.8531 GB, free: 2.895 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.874e-05/0.2372, allocations: 8.219 kB / 0.8532 GB, free: 2.887 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.384e-05/0.2372, allocations: 38.84 kB / 0.8532 GB, free: 2.84 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=33): time 1.703e-06/0.2372, allocations: 0 / 0.8532 GB, free: 2.84 MB / 0.5919 GB Notification: Performance of matching and sorting (n=40): time 0.005505/0.2427, allocations: 2.347 MB / 0.8555 GB, free: 452 kB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.322e-05/0.2428, allocations: 55.41 kB / 0.8555 GB, free: 384 kB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005316/0.2433, allocations: 473.9 kB / 0.856 GB, free: 15.9 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.089e-05/0.2434, allocations: 33.7 kB / 0.856 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002638/0.2436, allocations: 360.4 kB / 0.8564 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001301/0.2438, allocations: 158.7 kB / 0.8565 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001693/0.2439, allocations: 106.3 kB / 0.8566 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001773/0.2441, allocations: 358.8 kB / 0.857 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003744/0.2445, allocations: 241.2 kB / 0.8572 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005097/0.245, allocations: 407.3 kB / 0.8576 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009276/0.2459, allocations: 0.675 MB / 0.8582 GB, free: 13.42 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.2459, allocations: 0 / 0.8582 GB, free: 13.42 MB / 0.6075 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001712/0.2476, allocations: 0.9179 MB / 0.8591 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.2476, allocations: 12.03 kB / 0.8591 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.2477, allocations: 4 kB / 0.8591 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007994/0.2485, allocations: 226.4 kB / 0.8594 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005126/0.249, allocations: 119.8 kB / 0.8595 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005557/0.2545, allocations: 4.995 MB / 0.8644 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004553/0.255, allocations: 35.97 kB / 0.8644 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.423e-05/0.255, allocations: 24 kB / 0.8644 GB, free: 6.723 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.0003688/0.2554, allocations: 229.6 kB / 0.8646 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001021/0.2555, allocations: 63.61 kB / 0.8647 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00157/0.2571, allocations: 0.7659 MB / 0.8654 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.2571, allocations: 4 kB / 0.8654 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.2571, allocations: 4 kB / 0.8655 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.2571, allocations: 0 / 0.8655 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002551/0.2596, allocations: 1.403 MB / 0.8668 GB, free: 4.152 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.2596, allocations: 4.219 kB / 0.8668 GB, free: 4.148 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003614/0.26, allocations: 67.89 kB / 0.8669 GB, free: 4.082 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006582/0.2607, allocations: 198.4 kB / 0.8671 GB, free: 3.879 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.645e-05/0.2607, allocations: 15.98 kB / 0.8671 GB, free: 3.863 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00516/0.2659, allocations: 4.941 MB / 0.8719 GB, free: 14.58 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.2659, allocations: 0 / 0.8719 GB, free: 14.58 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001857/0.2677, allocations: 1.128 MB / 0.873 GB, free: 13.4 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002623/0.268, allocations: 91.56 kB / 0.8731 GB, free: 13.31 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.184e-05/0.268, allocations: 16.12 kB / 0.8731 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003135/0.2684, allocations: 23.97 kB / 0.8731 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.338e-05/0.2684, allocations: 39.92 kB / 0.8732 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.123e-05/0.2685, allocations: 12 kB / 0.8732 GB, free: 13.22 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003706/0.2688, allocations: 318.8 kB / 0.8735 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1e-07/0.2688, allocations: 0 / 0.8735 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006788/0.2695, allocations: 168 kB / 0.8737 GB, free: 12.75 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.002226/0.2718, allocations: 1.688 MB / 0.8753 GB, free: 11 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001673/0.2734, allocations: 0.9693 MB / 0.8763 GB, free: 9.992 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 9.127e-06/0.2734, allocations: 3.938 kB / 0.8763 GB, free: 9.988 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0009885/0.2744, allocations: 0.6642 MB / 0.8769 GB, free: 9.285 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008856/0.2753, allocations: 183.8 kB / 0.8771 GB, free: 9.117 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00821/0.2835, allocations: 5.659 MB / 0.8826 GB, free: 3.176 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003943/0.2839, allocations: 350.3 kB / 0.8829 GB, free: 2.809 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000342/0.2843, allocations: 113 kB / 0.8831 GB, free: 2.699 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002826/0.2845, allocations: 211.4 kB / 0.8833 GB, free: 2.492 MB / 0.6231 GB Notification: Performance of SimCode: time 8.52e-07/0.2845, allocations: 0 / 0.8833 GB, free: 2.492 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05773/0.3423, allocations: 15.73 MB / 0.8986 GB, free: 3.156 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.19/12.53, allocations: 3.984 kB / 0.8986 GB, free: 3.152 MB / 0.6387 GB " [Timeout remaining time 647] (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.853664807975292] Failed to read output from testmodel.py, exit status != 0: 12.65248651523143 12.675963372 12.446319274 Calling exit ...