Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.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.001239/0.001239, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001375/0.001375, allocations: 218.5 kB / 23.03 MB, free: 4.922 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.459/1.459, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.002428/0.002428, allocations: 280.2 kB / 313.5 MB, free: 2.621 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.223/1.223, allocations: 180.6 MB / 0.5377 GB, free: 14.49 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.OnePhase.Lines.Examples.ACLine_RL,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL",fmuType="cs",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.002801/0.002801, allocations: 99.72 kB / 0.7403 GB, free: 28.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1622/0.165, allocations: 95.39 MB / 0.8334 GB, free: 8.363 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.00752/0.1726, allocations: 5.282 MB / 0.8386 GB, free: 3.055 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004495/0.177, allocations: 2.592 MB / 0.8411 GB, free: 464 kB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003942/0.1774, allocations: 35.69 kB / 0.8411 GB, free: 428 kB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001881/0.1793, allocations: 0.6777 MB / 0.8418 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0009841/0.1803, allocations: 421.8 kB / 0.8422 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009662/0.1813, allocations: 401 kB / 0.8426 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001063/0.1823, allocations: 0.9477 MB / 0.8435 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005501/0.1829, allocations: 382.6 kB / 0.8439 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005151/0.1834, allocations: 382.5 kB / 0.8442 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005668/0.184, allocations: 434.3 kB / 0.8447 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 8.116e-05/0.184, allocations: 48 kB / 0.8447 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005937/0.1846, allocations: 331.3 kB / 0.845 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002595/0.1849, allocations: 255.2 kB / 0.8453 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003172/0.1852, allocations: 294.6 kB / 0.8455 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001109/0.1863, allocations: 0.9845 MB / 0.8465 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.1863, allocations: 0 / 0.8465 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.152e-06/0.1863, allocations: 0 / 0.8465 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.061e-05/0.1863, allocations: 0 / 0.8465 GB, free: 10.91 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.001562/0.1879, allocations: 0.9092 MB / 0.8474 GB, free: 9.961 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.188, allocations: 21.28 kB / 0.8474 GB, free: 9.941 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.249e-05/0.188, allocations: 13.19 kB / 0.8474 GB, free: 9.93 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001128/0.1881, allocations: 98.69 kB / 0.8475 GB, free: 9.824 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00139/0.1895, allocations: 196.3 kB / 0.8477 GB, free: 9.633 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007957/0.1903, allocations: 459.6 kB / 0.8481 GB, free: 9.16 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.819e-05/0.1903, allocations: 41.36 kB / 0.8482 GB, free: 9.121 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001581/0.1905, allocations: 56.27 kB / 0.8482 GB, free: 9.066 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001342/0.1918, allocations: 0.9745 MB / 0.8492 GB, free: 7.973 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.971e-05/0.1918, allocations: 11.92 kB / 0.8492 GB, free: 7.961 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.19e-05/0.1919, allocations: 23.98 kB / 0.8492 GB, free: 7.938 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001923/0.1921, allocations: 64.95 kB / 0.8493 GB, free: 7.875 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009095/0.193, allocations: 0.5697 MB / 0.8498 GB, free: 7.305 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004218/0.1972, allocations: 3.569 MB / 0.8533 GB, free: 3.594 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005044/0.1977, allocations: 267.3 kB / 0.8536 GB, free: 3.324 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003134/0.198, allocations: 213.3 kB / 0.8538 GB, free: 3.113 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.712e-05/0.1981, allocations: 4.281 kB / 0.8538 GB, free: 3.109 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.771e-05/0.1981, allocations: 46.77 kB / 0.8538 GB, free: 3.055 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=33): time 2.605e-06/0.1981, allocations: 0 / 0.8538 GB, free: 3.055 MB / 0.5919 GB Notification: Performance of matching and sorting (n=40): time 0.00574/0.2038, allocations: 2.347 MB / 0.8561 GB, free: 0.6562 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.197e-05/0.2039, allocations: 59.34 kB / 0.8562 GB, free: 0.5859 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005208/0.2044, allocations: 458 kB / 0.8566 GB, free: 132 kB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.755e-05/0.2045, allocations: 29.7 kB / 0.8566 GB, free: 96 kB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002653/0.2047, allocations: 352.5 kB / 0.857 GB, free: 15.74 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001311/0.2049, allocations: 150.7 kB / 0.8571 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001833/0.205, allocations: 106.3 kB / 0.8572 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001788/0.2052, allocations: 358.8 kB / 0.8576 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003856/0.2056, allocations: 245.1 kB / 0.8578 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005234/0.2061, allocations: 411.3 kB / 0.8582 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009091/0.207, allocations: 0.6711 MB / 0.8589 GB, free: 13.66 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.207, allocations: 0 / 0.8589 GB, free: 13.66 MB / 0.6075 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001741/0.2088, allocations: 0.9173 MB / 0.8597 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.282e-05/0.2088, allocations: 8 kB / 0.8598 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.2088, allocations: 4 kB / 0.8598 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008379/0.2096, allocations: 231 kB / 0.86 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005118/0.2102, allocations: 107.8 kB / 0.8601 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005362/0.2155, allocations: 5.015 MB / 0.865 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004629/0.216, allocations: 31.97 kB / 0.865 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.458e-05/0.216, allocations: 28.12 kB / 0.865 GB, free: 6.957 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.0003279/0.2164, allocations: 225.5 kB / 0.8653 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000102/0.2165, allocations: 59.67 kB / 0.8653 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00154/0.218, allocations: 0.7618 MB / 0.8661 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.218, allocations: 4 kB / 0.8661 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.218, allocations: 4 kB / 0.8661 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.218, allocations: 0 / 0.8661 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002449/0.2205, allocations: 1.396 MB / 0.8674 GB, free: 4.406 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/0.2205, allocations: 4 kB / 0.8674 GB, free: 4.402 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003984/0.2209, allocations: 71.88 kB / 0.8675 GB, free: 4.332 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007264/0.2216, allocations: 202.8 kB / 0.8677 GB, free: 4.125 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.648e-05/0.2216, allocations: 12 kB / 0.8677 GB, free: 4.113 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005099/0.2267, allocations: 4.94 MB / 0.8725 GB, free: 14.83 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.2267, allocations: 0 / 0.8725 GB, free: 14.83 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001868/0.2286, allocations: 1.135 MB / 0.8736 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000224/0.2288, allocations: 95.52 kB / 0.8737 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.369e-05/0.2289, allocations: 8 kB / 0.8737 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003343/0.2292, allocations: 27.97 kB / 0.8738 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/0.2293, allocations: 35.88 kB / 0.8738 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.344e-05/0.2294, allocations: 16 kB / 0.8738 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003563/0.2297, allocations: 310.9 kB / 0.8741 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1e-07/0.2297, allocations: 8 kB / 0.8741 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006713/0.2304, allocations: 172 kB / 0.8743 GB, free: 12.99 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.002127/0.2325, allocations: 1.684 MB / 0.8759 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001624/0.2341, allocations: 0.9617 MB / 0.8769 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.2341, allocations: 0 / 0.8769 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0009947/0.2351, allocations: 0.672 MB / 0.8775 GB, free: 9.535 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008621/0.236, allocations: 183.6 kB / 0.8777 GB, free: 9.363 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007898/0.2439, allocations: 5.624 MB / 0.8832 GB, free: 3.457 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003752/0.2443, allocations: 350.2 kB / 0.8835 GB, free: 3.09 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003393/0.2446, allocations: 117 kB / 0.8836 GB, free: 2.977 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002879/0.2449, allocations: 215.4 kB / 0.8838 GB, free: 2.766 MB / 0.6231 GB Notification: Performance of SimCode: time 6.81e-07/0.2449, allocations: 0 / 0.8838 GB, free: 2.766 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04798/0.2929, allocations: 15.44 MB / 0.8989 GB, free: 3.738 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.97/13.26, allocations: 6.922 kB / 0.8989 GB, free: 3.734 MB / 0.6387 GB " [Timeout remaining time 647] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.fmu > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.50780352705624] Failed to read output from testmodel.py, exit status != 0: 13.431402749964036 13.448207339 13.258545457 Calling exit ...