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.001223/0.001223, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001401/0.001401, allocations: 217.5 kB / 23.04 MB, free: 5.074 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.407/1.407, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.002486/0.002486, allocations: 279.3 kB / 313.5 MB, free: 2.812 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.178/1.178, allocations: 180.6 MB / 0.5377 GB, free: 13 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.002894/0.002894, allocations: 105.8 kB / 0.7404 GB, free: 28.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1571/0.16, allocations: 95.38 MB / 0.8335 GB, free: 8.66 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.008018/0.1681, allocations: 5.683 MB / 0.8391 GB, free: 2.949 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005498/0.1736, allocations: 2.755 MB / 0.8417 GB, free: 188 kB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006259/0.1742, allocations: 27.75 kB / 0.8418 GB, free: 160 kB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002161/0.1763, allocations: 0.7129 MB / 0.8425 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001334/0.1777, allocations: 425.7 kB / 0.8429 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001302/0.179, allocations: 398.4 kB / 0.8433 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001583/0.1806, allocations: 0.9517 MB / 0.8442 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007718/0.1813, allocations: 378.5 kB / 0.8445 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008545/0.1822, allocations: 390.6 kB / 0.8449 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009484/0.1831, allocations: 422.4 kB / 0.8453 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001822/0.1833, allocations: 48 kB / 0.8454 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001015/0.1843, allocations: 379.2 kB / 0.8457 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004887/0.1848, allocations: 255.2 kB / 0.846 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0007038/0.1855, allocations: 342.3 kB / 0.8463 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001871/0.1874, allocations: 0.9805 MB / 0.8473 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.1874, allocations: 0 / 0.8473 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.784e-06/0.1874, allocations: 0 / 0.8473 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.759e-05/0.1875, allocations: 0 / 0.8473 GB, free: 10.52 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.002355/0.1898, allocations: 0.9209 MB / 0.8482 GB, free: 9.566 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.1899, allocations: 9.344 kB / 0.8482 GB, free: 9.559 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.244e-05/0.1899, allocations: 13.19 kB / 0.8482 GB, free: 9.547 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001547/0.19, allocations: 98.69 kB / 0.8483 GB, free: 9.441 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001596/0.1916, allocations: 204.2 kB / 0.8485 GB, free: 9.242 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009667/0.1926, allocations: 459.7 kB / 0.8489 GB, free: 8.77 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.502e-05/0.1926, allocations: 37.38 kB / 0.8489 GB, free: 8.734 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001737/0.1928, allocations: 64.19 kB / 0.849 GB, free: 8.672 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001314/0.1941, allocations: 0.8278 MB / 0.8498 GB, free: 7.762 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.763e-05/0.1942, allocations: 0 / 0.8498 GB, free: 7.762 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.3e-05/0.1942, allocations: 24 kB / 0.8498 GB, free: 7.738 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001971/0.1944, allocations: 68.89 kB / 0.8499 GB, free: 7.672 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009604/0.1954, allocations: 0.5736 MB / 0.8505 GB, free: 7.098 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004869/0.2003, allocations: 4.493 MB / 0.8548 GB, free: 2.266 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004857/0.2007, allocations: 275.2 kB / 0.8551 GB, free: 1.988 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003183/0.2011, allocations: 221.2 kB / 0.8553 GB, free: 1.77 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.799e-05/0.2011, allocations: 4.281 kB / 0.8553 GB, free: 1.766 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.729e-05/0.2011, allocations: 34.84 kB / 0.8554 GB, free: 1.723 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=33): time 2.224e-06/0.2011, allocations: 0 / 0.8554 GB, free: 1.723 MB / 0.5919 GB Notification: Performance of matching and sorting (n=40): time 0.005729/0.2069, allocations: 2.332 MB / 0.8576 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.777e-05/0.2069, allocations: 63.34 kB / 0.8577 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005378/0.2074, allocations: 458 kB / 0.8581 GB, free: 14.81 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.942e-05/0.2075, allocations: 37.7 kB / 0.8582 GB, free: 14.77 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002502/0.2077, allocations: 344.5 kB / 0.8585 GB, free: 14.42 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001328/0.2079, allocations: 154.6 kB / 0.8586 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001766/0.208, allocations: 102.3 kB / 0.8587 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001716/0.2082, allocations: 362.8 kB / 0.8591 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003768/0.2086, allocations: 237.2 kB / 0.8593 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004999/0.2091, allocations: 411.3 kB / 0.8597 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009491/0.21, allocations: 0.679 MB / 0.8604 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.21, allocations: 0 / 0.8604 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001748/0.2118, allocations: 0.9101 MB / 0.8613 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.2118, allocations: 12.09 kB / 0.8613 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.2118, allocations: 8 kB / 0.8613 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008062/0.2126, allocations: 226.4 kB / 0.8615 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000514/0.2131, allocations: 115.8 kB / 0.8616 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005486/0.2186, allocations: 5.038 MB / 0.8665 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004638/0.2191, allocations: 27.97 kB / 0.8665 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.7e-05/0.2192, allocations: 27.98 kB / 0.8666 GB, free: 5.609 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.0003416/0.2195, allocations: 225.5 kB / 0.8668 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001265/0.2196, allocations: 59.73 kB / 0.8668 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001587/0.2212, allocations: 0.7657 MB / 0.8676 GB, free: 4.539 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.2212, allocations: 4 kB / 0.8676 GB, free: 4.535 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.2212, allocations: 4 kB / 0.8676 GB, free: 4.531 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.2212, allocations: 4.125 kB / 0.8676 GB, free: 4.527 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002624/0.2239, allocations: 1.462 MB / 0.869 GB, free: 2.984 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.237e-06/0.2239, allocations: 0 / 0.869 GB, free: 2.984 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003833/0.2242, allocations: 75.8 kB / 0.8691 GB, free: 2.91 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006984/0.2249, allocations: 202.6 kB / 0.8693 GB, free: 2.703 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.622e-05/0.225, allocations: 12 kB / 0.8693 GB, free: 2.691 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005293/0.2303, allocations: 4.972 MB / 0.8742 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.2303, allocations: 4.062 kB / 0.8742 GB, free: 13.37 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001882/0.2322, allocations: 1.131 MB / 0.8753 GB, free: 12.19 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002749/0.2324, allocations: 95.55 kB / 0.8754 GB, free: 12.1 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.75e-05/0.2325, allocations: 16 kB / 0.8754 GB, free: 12.08 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003358/0.2329, allocations: 24.03 kB / 0.8754 GB, free: 12.06 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.828e-05/0.233, allocations: 39.92 kB / 0.8754 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.899e-05/0.233, allocations: 12 kB / 0.8755 GB, free: 12.01 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003712/0.2334, allocations: 310.9 kB / 0.8757 GB, free: 11.71 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2334, allocations: 0 / 0.8757 GB, free: 11.71 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007054/0.2341, allocations: 171.9 kB / 0.8759 GB, free: 11.54 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.002152/0.2362, allocations: 1.68 MB / 0.8776 GB, free: 9.801 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001724/0.2379, allocations: 0.9617 MB / 0.8785 GB, free: 8.801 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.2379, allocations: 0 / 0.8785 GB, free: 8.801 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001022/0.239, allocations: 0.6719 MB / 0.8791 GB, free: 8.09 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009063/0.2399, allocations: 176.8 kB / 0.8793 GB, free: 7.922 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008612/0.2485, allocations: 5.643 MB / 0.8848 GB, free: 2 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006636/0.2491, allocations: 0.9376 MB / 0.8857 GB, free: 1.035 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003707/0.2495, allocations: 113 kB / 0.8859 GB, free: 0.9258 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002968/0.2498, allocations: 211.4 kB / 0.8861 GB, free: 0.7188 MB / 0.6231 GB Notification: Performance of SimCode: time 1.152e-06/0.2498, allocations: 0 / 0.8861 GB, free: 0.7188 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04856/0.2984, allocations: 14.71 MB / 0.9004 GB, free: 2.297 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.1/13.4, allocations: 13.44 kB / 0.9004 GB, free: 2.289 MB / 0.6387 GB " [Timeout remaining time 646] (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.529505686019547] Failed to read output from testmodel.py, exit status != 0: 13.580373291973956 13.608741216 13.415993097 Calling exit ...