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.00131/0.00131, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001536/0.001536, allocations: 181 kB / 23.35 MB, free: 1.137 MB / 18.57 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 0.9644/0.9644, allocations: 177.1 MB / 203.8 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] 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.002293/0.002293, allocations: 241.8 kB / 260.5 MB, free: 12.69 MB / 250.7 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 0.6768/0.6768, allocations: 138.4 MB / 402.2 MB, free: 0.5742 MB / 362.7 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: translateModel(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") translateModel(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 462.3 MB, free: 0.8984 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.026e-05/1.156e-05, allocations: 4.266 kB / 462.3 MB, free: 0.8945 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.003723/0.003735, allocations: 4.05 MB / 466.4 MB, free: 14.3 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.002267/0.006002, allocations: 1.545 MB / 467.9 MB, free: 13.04 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002249/0.006227, allocations: 31.69 kB / 467.9 MB, free: 13.01 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004565/0.006683, allocations: 170.8 kB / 468.1 MB, free: 12.84 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000528/0.007211, allocations: 379.6 kB / 468.5 MB, free: 12.47 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004841/0.007695, allocations: 313.7 kB / 468.8 MB, free: 12.17 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007584/0.008454, allocations: 0.9947 MB / 469.8 MB, free: 11.17 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004112/0.008865, allocations: 413.8 kB / 470.2 MB, free: 10.77 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005069/0.009372, allocations: 0.5182 MB / 470.7 MB, free: 10.25 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003799/0.009752, allocations: 364.5 kB / 471.1 MB, free: 9.898 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 5.277e-05/0.009805, allocations: 48 kB / 471.1 MB, free: 9.852 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001822/0.009987, allocations: 131.7 kB / 471.2 MB, free: 9.723 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001639/0.01015, allocations: 267.9 kB / 471.5 MB, free: 9.461 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000168/0.01032, allocations: 231.4 kB / 471.7 MB, free: 9.234 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004796/0.0108, allocations: 0.5967 MB / 472.3 MB, free: 8.637 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.963e-06/0.0108, allocations: 0 / 472.3 MB, free: 8.637 MB / 426.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.0108, allocations: 0 / 472.3 MB, free: 8.637 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.592e-06/0.01081, allocations: 1.188 kB / 472.3 MB, free: 8.637 MB / 426.7 MB 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.0008318/0.01164, allocations: 0.8411 MB / 473.2 MB, free: 7.777 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.846e-05/0.01167, allocations: 8.75 kB / 473.2 MB, free: 7.77 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006608/0.01233, allocations: 231.5 kB / 473.4 MB, free: 7.547 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004445/0.01277, allocations: 440.2 kB / 473.8 MB, free: 7.098 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.21e-05/0.0128, allocations: 37.31 kB / 473.9 MB, free: 7.062 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.654e-05/0.01289, allocations: 58.14 kB / 473.9 MB, free: 7.008 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004937/0.01339, allocations: 0.6965 MB / 474.6 MB, free: 6.191 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.798e-05/0.0134, allocations: 9.016 kB / 474.6 MB, free: 6.184 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.557e-05/0.01344, allocations: 32.11 kB / 474.7 MB, free: 6.152 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.353e-05/0.01353, allocations: 65.11 kB / 474.7 MB, free: 6.094 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002263/0.01376, allocations: 200 kB / 474.9 MB, free: 5.898 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001898/0.01566, allocations: 3.022 MB / 477.9 MB, free: 2.77 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001738/0.01583, allocations: 167.9 kB / 478.1 MB, free: 2.602 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.106e-05/0.01591, allocations: 78.08 kB / 478.2 MB, free: 2.523 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.01593, allocations: 6.094 kB / 478.2 MB, free: 2.52 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.931e-05/0.01595, allocations: 34.84 kB / 478.2 MB, free: 2.477 MB / 426.7 MB Notification: Performance of pre-optimization done (n=33): time 1.373e-06/0.01595, allocations: 0 / 478.2 MB, free: 2.477 MB / 426.7 MB Notification: Performance of matching and sorting (n=34): time 0.001578/0.01753, allocations: 0.9853 MB / 479.2 MB, free: 1.465 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.56e-05/0.01755, allocations: 59.34 kB / 479.3 MB, free: 1.395 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002088/0.01776, allocations: 391 kB / 479.6 MB, free: 1.004 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.46e-05/0.01779, allocations: 34.33 kB / 479.7 MB, free: 0.9648 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001193/0.01791, allocations: 314.7 kB / 480 MB, free: 0.6484 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.282e-05/0.01797, allocations: 126.9 kB / 480.1 MB, free: 0.5234 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.236e-05/0.01806, allocations: 98.25 kB / 480.2 MB, free: 432 kB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.652e-05/0.01815, allocations: 366.6 kB / 480.6 MB, free: 56 kB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.562e-05/0.01823, allocations: 60.73 kB / 480.6 MB, free: 15.99 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001377/0.01837, allocations: 223.4 kB / 480.8 MB, free: 15.71 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002564/0.01863, allocations: 346.9 kB / 481.2 MB, free: 15.3 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.01863, allocations: 0.875 kB / 481.2 MB, free: 15.3 MB / 442.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0004707/0.0191, allocations: 423.1 kB / 481.6 MB, free: 14.88 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.01911, allocations: 8 kB / 481.6 MB, free: 14.87 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.01912, allocations: 4 kB / 481.6 MB, free: 14.87 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003741/0.01949, allocations: 156.4 kB / 481.8 MB, free: 14.71 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002111/0.01971, allocations: 95.84 kB / 481.8 MB, free: 14.62 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001457/0.02116, allocations: 2.66 MB / 484.5 MB, free: 11.78 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001523/0.02131, allocations: 16 kB / 484.5 MB, free: 11.76 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.034e-05/0.02134, allocations: 16.94 kB / 484.5 MB, free: 11.75 MB / 442.7 MB 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 (55): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001144/0.02145, allocations: 149.8 kB / 484.7 MB, free: 11.59 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.361e-05/0.0215, allocations: 47.89 kB / 484.7 MB, free: 11.54 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003899/0.02189, allocations: 329.6 kB / 485.1 MB, free: 11.21 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.0219, allocations: 4 kB / 485.1 MB, free: 11.21 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.0219, allocations: 1.781 kB / 485.1 MB, free: 11.21 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.0219, allocations: 0 / 485.1 MB, free: 11.21 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007073/0.02261, allocations: 0.6946 MB / 485.8 MB, free: 10.48 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.02261, allocations: 7.406 kB / 485.8 MB, free: 10.47 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001461/0.02276, allocations: 51.91 kB / 485.8 MB, free: 10.42 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003249/0.02308, allocations: 140.6 kB / 486 MB, free: 10.28 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.642e-05/0.0231, allocations: 8 kB / 486 MB, free: 10.27 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001341/0.02444, allocations: 2.631 MB / 488.6 MB, free: 7.461 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.02444, allocations: 7.938 kB / 488.6 MB, free: 7.453 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004902/0.02493, allocations: 0.5134 MB / 489.1 MB, free: 6.898 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.777e-05/0.02502, allocations: 75.56 kB / 489.2 MB, free: 6.824 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.735e-05/0.02506, allocations: 13.03 kB / 489.2 MB, free: 6.812 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001171/0.02518, allocations: 8 kB / 489.2 MB, free: 6.805 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.713e-05/0.02522, allocations: 33.14 kB / 489.2 MB, free: 6.773 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.455e-05/0.02524, allocations: 7.984 kB / 489.2 MB, free: 6.766 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001047/0.02534, allocations: 161.3 kB / 489.4 MB, free: 6.605 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02534, allocations: 0 / 489.4 MB, free: 6.605 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003332/0.02568, allocations: 157.8 kB / 489.6 MB, free: 6.453 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,2,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.677e-05/0.02577, allocations: 90.02 kB / 489.6 MB, free: 6.355 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0004858/0.02626, allocations: 0.5076 MB / 490.2 MB, free: 5.824 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.047e-06/0.02627, allocations: 11.94 kB / 490.2 MB, free: 5.812 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002749/0.02654, allocations: 398.1 kB / 490.6 MB, free: 5.398 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004205/0.02696, allocations: 175.1 kB / 490.7 MB, free: 5.254 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0012/0.02816, allocations: 1.053 MB / 491.8 MB, free: 4.18 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001085/0.02827, allocations: 174.3 kB / 491.9 MB, free: 3.988 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001493/0.02842, allocations: 58.8 kB / 492 MB, free: 3.945 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002301/0.02865, allocations: 169.3 kB / 492.2 MB, free: 3.781 MB / 442.7 MB Notification: Performance of SimCode: time 6.11e-07/0.02865, allocations: 0 / 492.2 MB, free: 3.781 MB / 442.7 MB Notification: Performance of Templates: time 0.01011/0.03876, allocations: 8.551 MB / 0.489 GB, free: 11.64 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5708805602043867]