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.001075/0.001075, allocations: 93.06 kB / 19.65 MB, free: 276 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.001164/0.001164, allocations: 169 kB / 23.02 MB, free: 1.547 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.011/1.011, allocations: 177.1 MB / 203.4 MB, free: 5.621 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.001736/0.001736, allocations: 231.9 kB / 260.2 MB, free: 12.8 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.6781/0.6781, allocations: 138.4 MB / 455.2 MB, free: 1.555 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.472e-06/1.472e-06, allocations: 3.938 kB / 0.5551 GB, free: 0.5742 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.495e-05/2.642e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.5703 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Lines.Examples.Resistance): time 0.003065/0.003091, allocations: 2.545 MB / 0.5576 GB, free: 14.01 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001555/0.004646, allocations: 0.9893 MB / 0.5585 GB, free: 13.01 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001316/0.004778, allocations: 7.938 kB / 0.5586 GB, free: 13 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00048/0.005258, allocations: 99.48 kB / 0.5586 GB, free: 12.91 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002819/0.00554, allocations: 139.1 kB / 0.5588 GB, free: 12.77 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002454/0.005785, allocations: 111.7 kB / 0.5589 GB, free: 12.66 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003199/0.006105, allocations: 318.9 kB / 0.5592 GB, free: 12.35 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003462/0.006451, allocations: 188.4 kB / 0.5594 GB, free: 12.16 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000178/0.006629, allocations: 175.6 kB / 0.5595 GB, free: 11.99 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002555/0.006885, allocations: 135.6 kB / 0.5597 GB, free: 11.86 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.129e-05/0.006916, allocations: 20 kB / 0.5597 GB, free: 11.84 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001551/0.007071, allocations: 83.84 kB / 0.5598 GB, free: 11.75 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 7.867e-05/0.00715, allocations: 91.72 kB / 0.5599 GB, free: 11.66 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 6.878e-05/0.007219, allocations: 75.78 kB / 0.5599 GB, free: 11.59 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000281/0.0075, allocations: 227.3 kB / 0.5601 GB, free: 11.37 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.007504, allocations: 4 kB / 0.5601 GB, free: 11.36 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.007505, allocations: 0 / 0.5601 GB, free: 11.36 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.00751, allocations: 0 / 0.5601 GB, free: 11.36 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.0006144/0.008124, allocations: 0.5312 MB / 0.5607 GB, free: 10.79 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.008162, allocations: 12.75 kB / 0.5607 GB, free: 10.78 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004055/0.008567, allocations: 128.5 kB / 0.5608 GB, free: 10.66 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000218/0.008785, allocations: 183 kB / 0.561 GB, free: 10.45 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.751e-05/0.008803, allocations: 16.75 kB / 0.561 GB, free: 10.44 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.469e-05/0.008827, allocations: 28.3 kB / 0.561 GB, free: 10.41 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003004/0.009128, allocations: 294.3 kB / 0.5613 GB, free: 10.08 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.009137, allocations: 192 / 0.5613 GB, free: 10.08 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.91e-05/0.009156, allocations: 8.375 kB / 0.5613 GB, free: 10.07 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.513e-05/0.009191, allocations: 24.3 kB / 0.5613 GB, free: 10.05 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00013/0.009321, allocations: 82.12 kB / 0.5614 GB, free: 9.969 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009131/0.01023, allocations: 1.244 MB / 0.5626 GB, free: 8.66 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001637/0.0104, allocations: 71.06 kB / 0.5627 GB, free: 8.578 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.461e-05/0.01043, allocations: 23.67 kB / 0.5627 GB, free: 8.551 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.735e-06/0.01044, allocations: 4.031 kB / 0.5627 GB, free: 8.547 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.466e-05/0.01046, allocations: 41.33 kB / 0.5628 GB, free: 8.496 MB / 490.7 MB Notification: Performance of pre-optimization done (n=7): time 1.913e-06/0.01047, allocations: 0 / 0.5628 GB, free: 8.496 MB / 490.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003017/0.01077, allocations: 113.2 kB / 0.5629 GB, free: 8.375 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.416e-05/0.01079, allocations: 55.41 kB / 0.5629 GB, free: 8.309 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001334/0.01093, allocations: 233.8 kB / 0.5631 GB, free: 8.062 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.34e-05/0.01094, allocations: 29.7 kB / 0.5632 GB, free: 8.027 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.461e-05/0.01102, allocations: 222.8 kB / 0.5634 GB, free: 7.805 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.548e-05/0.01104, allocations: 23.8 kB / 0.5634 GB, free: 7.781 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.934e-05/0.01109, allocations: 51.22 kB / 0.5635 GB, free: 7.723 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.0112, allocations: 0.4884 MB / 0.5639 GB, free: 7.223 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.986e-05/0.01123, allocations: 12 kB / 0.5639 GB, free: 7.211 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.91e-05/0.0113, allocations: 112.8 kB / 0.5641 GB, free: 7.059 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001087/0.0114, allocations: 144.7 kB / 0.5642 GB, free: 6.875 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.01141, allocations: 0 / 0.5642 GB, free: 6.875 MB / 490.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001874/0.01159, allocations: 161 kB / 0.5643 GB, free: 6.707 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.01161, allocations: 8 kB / 0.5643 GB, free: 6.699 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.01162, allocations: 4 kB / 0.5644 GB, free: 6.695 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001783/0.01179, allocations: 31.66 kB / 0.5644 GB, free: 6.66 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.209e-05/0.01187, allocations: 31.92 kB / 0.5644 GB, free: 6.629 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009479/0.01281, allocations: 1.74 MB / 0.5661 GB, free: 4.77 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.722e-05/0.01289, allocations: 23.78 kB / 0.5661 GB, free: 4.746 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.206e-05/0.0129, allocations: 12.06 kB / 0.5661 GB, free: 4.734 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 9.395e-05/0.013, allocations: 172.4 kB / 0.5663 GB, free: 4.555 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.389e-05/0.01302, allocations: 12.08 kB / 0.5663 GB, free: 4.543 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.07e-05/0.01304, allocations: 21.47 kB / 0.5663 GB, free: 4.516 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.01304, allocations: 3.938 kB / 0.5663 GB, free: 4.512 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.01305, allocations: 4 kB / 0.5664 GB, free: 4.508 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.01305, allocations: 0 / 0.5664 GB, free: 4.508 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003155/0.01337, allocations: 396.9 kB / 0.5667 GB, free: 4.074 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.01337, allocations: 0 / 0.5667 GB, free: 4.074 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.137e-05/0.01339, allocations: 8 kB / 0.5667 GB, free: 4.066 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.984e-05/0.01349, allocations: 39.66 kB / 0.5668 GB, free: 4.023 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.572e-06/0.0135, allocations: 0 / 0.5668 GB, free: 4.023 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006483/0.01414, allocations: 1.732 MB / 0.5685 GB, free: 2.164 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.01414, allocations: 0 / 0.5685 GB, free: 2.164 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001401/0.01428, allocations: 243.4 kB / 0.5687 GB, free: 1.902 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.026e-05/0.01432, allocations: 27.97 kB / 0.5687 GB, free: 1.875 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.716e-06/0.01432, allocations: 0 / 0.5687 GB, free: 1.875 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.718e-05/0.01438, allocations: 11.92 kB / 0.5687 GB, free: 1.863 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.953e-05/0.0144, allocations: 0 / 0.5687 GB, free: 1.863 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.252e-06/0.01441, allocations: 8 kB / 0.5687 GB, free: 1.855 MB / 490.7 MB Notification: Performance of sorting global known variables: time 7.214e-05/0.01448, allocations: 168.2 kB / 0.5689 GB, free: 1.691 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01448, allocations: 0 / 0.5689 GB, free: 1.691 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002263/0.01471, allocations: 51.89 kB / 0.569 GB, free: 1.641 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 9.811e-05/0.0148, allocations: 99.25 kB / 0.569 GB, free: 1.535 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002895/0.01509, allocations: 241.5 kB / 0.5693 GB, free: 1.277 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.01509, allocations: 4 kB / 0.5693 GB, free: 1.273 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 8.425e-05/0.01518, allocations: 198 kB / 0.5695 GB, free: 1.059 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002479/0.01543, allocations: 36.81 kB / 0.5695 GB, free: 1.023 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006924/0.01612, allocations: 354.7 kB / 0.5698 GB, free: 0.6484 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.465e-05/0.01617, allocations: 87.83 kB / 0.5699 GB, free: 0.5391 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 6.524e-05/0.01624, allocations: 21.47 kB / 0.5699 GB, free: 0.5195 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.984e-05/0.01627, allocations: 16.5 kB / 0.57 GB, free: 0.5039 MB / 490.7 MB Notification: Performance of SimCode: time 1.313e-06/0.01627, allocations: 0 / 0.57 GB, free: 0.5039 MB / 490.7 MB Notification: Performance of Templates: time 0.00371/0.01998, allocations: 1.748 MB / 0.5717 GB, free: 14.8 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.448879323899746]