Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance.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.0009503/0.0009503, allocations: 92.22 kB / 19.65 MB, free: 280 kB / 13.93 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.000919/0.000919, allocations: 165 kB / 23.02 MB, free: 1.551 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 1.006/1.006, allocations: 177.1 MB / 203.4 MB, free: 5.07 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.001603/0.001603, allocations: 244 kB / 260.2 MB, free: 12.66 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.7387/0.7387, allocations: 138.4 MB / 455.2 MB, free: 1.578 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.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance") translateModel(BuildingSystems.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 0.5551 GB, free: 0.5781 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.531e-05/1.682e-05, allocations: 9.406 kB / 0.5551 GB, free: 0.5703 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Lines.Examples.Resistance): time 0.003124/0.003141, allocations: 2.553 MB / 0.5576 GB, free: 14 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001418/0.004558, allocations: 0.9855 MB / 0.5585 GB, free: 13.01 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001169/0.004675, allocations: 11.94 kB / 0.5585 GB, free: 13 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004284/0.005104, allocations: 91.45 kB / 0.5586 GB, free: 12.91 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002615/0.005365, allocations: 139.1 kB / 0.5588 GB, free: 12.77 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002419/0.005607, allocations: 107.7 kB / 0.5589 GB, free: 12.66 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003102/0.005917, allocations: 318.8 kB / 0.5592 GB, free: 12.35 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003345/0.006252, allocations: 196.4 kB / 0.5594 GB, free: 12.16 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001721/0.006424, allocations: 171.6 kB / 0.5595 GB, free: 11.99 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002432/0.006667, allocations: 127.7 kB / 0.5596 GB, free: 11.86 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.785e-05/0.006695, allocations: 20 kB / 0.5597 GB, free: 11.84 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000147/0.006842, allocations: 95.72 kB / 0.5598 GB, free: 11.75 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 7.6e-05/0.006918, allocations: 83.8 kB / 0.5598 GB, free: 11.67 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 6.933e-05/0.006987, allocations: 79.83 kB / 0.5599 GB, free: 11.59 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002684/0.007256, allocations: 227.2 kB / 0.5601 GB, free: 11.37 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.235e-06/0.007258, allocations: 0 / 0.5601 GB, free: 11.37 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.007259, allocations: 0 / 0.5601 GB, free: 11.37 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.007263, allocations: 0 / 0.5601 GB, free: 11.37 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0005893/0.007852, allocations: 0.5389 MB / 0.5607 GB, free: 10.79 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.007892, allocations: 12.75 kB / 0.5607 GB, free: 10.78 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004172/0.008309, allocations: 116.6 kB / 0.5608 GB, free: 10.66 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002367/0.008546, allocations: 188.3 kB / 0.561 GB, free: 10.45 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.008561, allocations: 12.75 kB / 0.561 GB, free: 10.44 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.497e-05/0.008586, allocations: 20.38 kB / 0.561 GB, free: 10.42 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002906/0.008877, allocations: 298.3 kB / 0.5613 GB, free: 10.09 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.008887, allocations: 4.188 kB / 0.5613 GB, free: 10.08 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.008906, allocations: 8.375 kB / 0.5613 GB, free: 10.07 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.253e-05/0.008938, allocations: 20.3 kB / 0.5613 GB, free: 10.05 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001372/0.009075, allocations: 90.06 kB / 0.5614 GB, free: 9.969 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009253/0.01, allocations: 1.244 MB / 0.5626 GB, free: 8.66 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001498/0.01015, allocations: 71.06 kB / 0.5627 GB, free: 8.578 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.341e-05/0.01018, allocations: 23.72 kB / 0.5627 GB, free: 8.551 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.903e-06/0.01019, allocations: 0 / 0.5627 GB, free: 8.551 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.329e-05/0.01022, allocations: 45.33 kB / 0.5627 GB, free: 8.496 MB / 490.7 MB Notification: Performance of pre-optimization done (n=7): time 9.92e-07/0.01023, allocations: 0 / 0.5627 GB, free: 8.496 MB / 490.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002903/0.01052, allocations: 109.2 kB / 0.5628 GB, free: 8.379 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.739e-05/0.01054, allocations: 55.41 kB / 0.5629 GB, free: 8.312 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001282/0.01067, allocations: 233.8 kB / 0.5631 GB, free: 8.066 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.045e-05/0.01068, allocations: 29.7 kB / 0.5632 GB, free: 8.031 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.879e-05/0.01076, allocations: 218.7 kB / 0.5634 GB, free: 7.812 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.499e-05/0.01078, allocations: 23.8 kB / 0.5634 GB, free: 7.789 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.508e-05/0.01082, allocations: 51.22 kB / 0.5634 GB, free: 7.73 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001026/0.01092, allocations: 0.4923 MB / 0.5639 GB, free: 7.227 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.338e-05/0.01096, allocations: 19.98 kB / 0.5639 GB, free: 7.207 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.56e-05/0.01102, allocations: 111.5 kB / 0.564 GB, free: 7.059 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001072/0.01113, allocations: 152.8 kB / 0.5642 GB, free: 6.867 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.01113, allocations: 0 / 0.5642 GB, free: 6.867 MB / 490.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001819/0.01131, allocations: 157.2 kB / 0.5643 GB, free: 6.703 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.01133, allocations: 11.98 kB / 0.5643 GB, free: 6.691 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.01133, allocations: 0 / 0.5643 GB, free: 6.691 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00017/0.0115, allocations: 35.61 kB / 0.5644 GB, free: 6.652 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.613e-05/0.01157, allocations: 28.05 kB / 0.5644 GB, free: 6.625 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008287/0.0124, allocations: 1.744 MB / 0.5661 GB, free: 4.762 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.017e-05/0.01249, allocations: 23.78 kB / 0.5661 GB, free: 4.738 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.082e-05/0.0125, allocations: 8 kB / 0.5661 GB, free: 4.73 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001015/0.0126, allocations: 168.5 kB / 0.5663 GB, free: 4.555 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.736e-05/0.01264, allocations: 11.95 kB / 0.5663 GB, free: 4.543 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.616e-05/0.01266, allocations: 21.5 kB / 0.5663 GB, free: 4.516 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.01267, allocations: 4.031 kB / 0.5663 GB, free: 4.512 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.01267, allocations: 4 kB / 0.5663 GB, free: 4.508 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.01267, allocations: 0 / 0.5663 GB, free: 4.508 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004198/0.01309, allocations: 400.9 kB / 0.5667 GB, free: 4.07 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.01309, allocations: 0 / 0.5667 GB, free: 4.07 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.131e-05/0.01312, allocations: 8 kB / 0.5667 GB, free: 4.062 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000138/0.01326, allocations: 31.66 kB / 0.5668 GB, free: 4.027 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/0.01327, allocations: 4 kB / 0.5668 GB, free: 4.023 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008481/0.01412, allocations: 1.732 MB / 0.5685 GB, free: 2.164 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.01412, allocations: 0 / 0.5685 GB, free: 2.164 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001962/0.01431, allocations: 247.8 kB / 0.5687 GB, free: 1.898 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.757e-05/0.01435, allocations: 19.84 kB / 0.5687 GB, free: 1.879 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.518e-05/0.01437, allocations: 7.984 kB / 0.5687 GB, free: 1.871 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.893e-05/0.01446, allocations: 16.06 kB / 0.5687 GB, free: 1.855 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.998e-05/0.01448, allocations: 4 kB / 0.5687 GB, free: 1.852 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-06/0.01448, allocations: 3.984 kB / 0.5687 GB, free: 1.848 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001033/0.01459, allocations: 168.2 kB / 0.5689 GB, free: 1.684 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01459, allocations: 0 / 0.5689 GB, free: 1.684 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003411/0.01493, allocations: 51.89 kB / 0.5689 GB, free: 1.633 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 8.549e-05/0.01501, allocations: 99.25 kB / 0.569 GB, free: 1.527 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003281/0.01534, allocations: 237.5 kB / 0.5693 GB, free: 1.273 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.01534, allocations: 0 / 0.5693 GB, free: 1.273 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001282/0.01547, allocations: 213.5 kB / 0.5695 GB, free: 1.043 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003291/0.0158, allocations: 32.78 kB / 0.5695 GB, free: 1.012 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008256/0.01663, allocations: 343.3 kB / 0.5698 GB, free: 0.6484 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.272e-05/0.0167, allocations: 99.75 kB / 0.5699 GB, free: 0.5273 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 7.483e-05/0.01677, allocations: 21.47 kB / 0.5699 GB, free: 0.5078 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.283e-05/0.01681, allocations: 16.5 kB / 0.57 GB, free: 0.4922 MB / 490.7 MB Notification: Performance of SimCode: time 8.12e-07/0.01681, allocations: 0 / 0.57 GB, free: 0.4922 MB / 490.7 MB Notification: Performance of Templates: time 0.004148/0.02095, allocations: 1.674 MB / 0.5716 GB, free: 14.86 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance.sim & ./BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 3.6285457531921566]