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.0009641/0.0009641, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.0009707/0.0009707, allocations: 173 kB / 23.49 MB, free: 1.059 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.9676/0.9676, allocations: 177.1 MB / 203.8 MB, free: 5.633 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.002446/0.002446, allocations: 222.4 kB / 260.5 MB, free: 12.89 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.7089/0.7089, allocations: 138.4 MB / 455.4 MB, free: 1.551 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.555 GB, free: 0.9141 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.287e-05/1.439e-05, allocations: 2.312 kB / 0.555 GB, free: 0.9102 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Lines.Examples.Resistance): time 0.00323/0.003244, allocations: 3.172 MB / 0.5581 GB, free: 13.72 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001375/0.004619, allocations: 1.355 MB / 0.5594 GB, free: 12.36 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.047e-05/0.00471, allocations: 7.938 kB / 0.5594 GB, free: 12.35 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005786/0.005289, allocations: 342.6 kB / 0.5598 GB, free: 12.02 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002125/0.005501, allocations: 151.1 kB / 0.5599 GB, free: 11.87 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001834/0.005684, allocations: 143.5 kB / 0.56 GB, free: 11.73 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002412/0.005926, allocations: 310.9 kB / 0.5603 GB, free: 11.42 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000278/0.006204, allocations: 180.5 kB / 0.5605 GB, free: 11.24 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000142/0.006346, allocations: 183.6 kB / 0.5607 GB, free: 11.06 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002031/0.006549, allocations: 123.6 kB / 0.5608 GB, free: 10.94 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.623e-05/0.006575, allocations: 23.98 kB / 0.5608 GB, free: 10.92 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001587/0.006734, allocations: 147.6 kB / 0.561 GB, free: 10.77 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 6.588e-05/0.006799, allocations: 91.73 kB / 0.5611 GB, free: 10.68 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 6.772e-05/0.006867, allocations: 79.83 kB / 0.5611 GB, free: 10.61 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002641/0.007131, allocations: 263.1 kB / 0.5614 GB, free: 10.35 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.963e-06/0.007133, allocations: 0 / 0.5614 GB, free: 10.35 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.007135, allocations: 3.984 kB / 0.5614 GB, free: 10.34 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.459e-06/0.007139, allocations: 0 / 0.5614 GB, free: 10.34 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.0005999/0.007739, allocations: 0.5388 MB / 0.5619 GB, free: 9.766 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.007775, allocations: 8.75 kB / 0.5619 GB, free: 9.758 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000408/0.008183, allocations: 124.6 kB / 0.562 GB, free: 9.637 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002092/0.008392, allocations: 196.2 kB / 0.5622 GB, free: 9.418 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.008406, allocations: 8.75 kB / 0.5622 GB, free: 9.41 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.639e-05/0.008433, allocations: 28.34 kB / 0.5623 GB, free: 9.383 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002719/0.008705, allocations: 286.4 kB / 0.5625 GB, free: 9.059 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.008715, allocations: 8.125 kB / 0.5625 GB, free: 9.051 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.838e-05/0.008734, allocations: 12.38 kB / 0.5626 GB, free: 9.039 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.699e-05/0.008771, allocations: 24.3 kB / 0.5626 GB, free: 9.016 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001311/0.008902, allocations: 82.14 kB / 0.5627 GB, free: 8.938 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008935/0.009795, allocations: 1.236 MB / 0.5639 GB, free: 7.637 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001554/0.009951, allocations: 75.05 kB / 0.5639 GB, free: 7.551 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.409e-05/0.009985, allocations: 27.62 kB / 0.564 GB, free: 7.52 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.924e-06/0.009993, allocations: 3.984 kB / 0.564 GB, free: 7.516 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.61e-05/0.01002, allocations: 45.33 kB / 0.564 GB, free: 7.461 MB / 490.7 MB Notification: Performance of pre-optimization done (n=7): time 1.803e-06/0.01002, allocations: 0 / 0.564 GB, free: 7.461 MB / 490.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002939/0.01031, allocations: 101.3 kB / 0.5641 GB, free: 7.352 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.548e-05/0.01034, allocations: 59.33 kB / 0.5642 GB, free: 7.281 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001373/0.01048, allocations: 233.8 kB / 0.5644 GB, free: 7.035 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.095e-05/0.01049, allocations: 25.7 kB / 0.5644 GB, free: 7.004 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.331e-05/0.01057, allocations: 226.8 kB / 0.5646 GB, free: 6.777 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.721e-05/0.01059, allocations: 27.78 kB / 0.5647 GB, free: 6.75 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.256e-05/0.01063, allocations: 39.33 kB / 0.5647 GB, free: 6.703 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.01075, allocations: 0.4923 MB / 0.5652 GB, free: 6.199 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.183e-05/0.01078, allocations: 19.98 kB / 0.5652 GB, free: 6.18 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.986e-05/0.01085, allocations: 108.8 kB / 0.5653 GB, free: 6.031 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001074/0.01096, allocations: 144.7 kB / 0.5654 GB, free: 5.848 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.01096, allocations: 0 / 0.5654 GB, free: 5.848 MB / 490.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001911/0.01115, allocations: 157 kB / 0.5656 GB, free: 5.684 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.01116, allocations: 8.281 kB / 0.5656 GB, free: 5.676 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.01117, allocations: 4 kB / 0.5656 GB, free: 5.672 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001683/0.01134, allocations: 35.66 kB / 0.5656 GB, free: 5.633 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.482e-05/0.0114, allocations: 35.92 kB / 0.5657 GB, free: 5.598 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007469/0.01215, allocations: 1.736 MB / 0.5674 GB, free: 3.742 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.427e-05/0.01221, allocations: 27.91 kB / 0.5674 GB, free: 3.715 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.635e-06/0.01222, allocations: 4 kB / 0.5674 GB, free: 3.711 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 7.873e-05/0.0123, allocations: 168.5 kB / 0.5675 GB, free: 3.535 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.254e-05/0.01232, allocations: 15.89 kB / 0.5676 GB, free: 3.52 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.884e-05/0.01234, allocations: 21.45 kB / 0.5676 GB, free: 3.492 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.01234, allocations: 3.938 kB / 0.5676 GB, free: 3.488 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.01235, allocations: 4 kB / 0.5676 GB, free: 3.484 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.01235, allocations: 4.062 kB / 0.5676 GB, free: 3.48 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002954/0.01264, allocations: 393 kB / 0.568 GB, free: 3.051 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.01265, allocations: 0 / 0.568 GB, free: 3.051 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.234e-05/0.01267, allocations: 15.92 kB / 0.568 GB, free: 3.035 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.352e-05/0.01276, allocations: 31.61 kB / 0.568 GB, free: 3 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.764e-06/0.01277, allocations: 3.984 kB / 0.568 GB, free: 2.996 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007042/0.01347, allocations: 1.736 MB / 0.5697 GB, free: 1.133 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.01347, allocations: 400 / 0.5697 GB, free: 1.133 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001306/0.0136, allocations: 235.5 kB / 0.5699 GB, free: 0.8789 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.666e-05/0.01363, allocations: 19.89 kB / 0.57 GB, free: 0.8594 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.398e-06/0.01364, allocations: 4 kB / 0.57 GB, free: 0.8555 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.673e-05/0.0137, allocations: 12.06 kB / 0.57 GB, free: 0.8438 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.642e-05/0.01371, allocations: 11.92 kB / 0.57 GB, free: 0.832 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/0.01372, allocations: 7.984 kB / 0.57 GB, free: 0.8242 MB / 490.7 MB Notification: Performance of sorting global known variables: time 6.89e-05/0.01379, allocations: 168.2 kB / 0.5702 GB, free: 0.6602 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01379, allocations: 0 / 0.5702 GB, free: 0.6602 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002135/0.014, allocations: 51.89 kB / 0.5702 GB, free: 0.6094 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 6.981e-05/0.01407, allocations: 95.25 kB / 0.5703 GB, free: 0.5078 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002457/0.01432, allocations: 245.7 kB / 0.5705 GB, free: 252 kB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.01432, allocations: 4 kB / 0.5705 GB, free: 248 kB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 8.42e-05/0.01441, allocations: 201.5 kB / 0.5707 GB, free: 24 kB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002397/0.01464, allocations: 33.17 kB / 0.5708 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006462/0.01529, allocations: 351 kB / 0.5711 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.334e-05/0.01534, allocations: 91.83 kB / 0.5712 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.735e-05/0.0154, allocations: 21.47 kB / 0.5712 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.572e-05/0.01543, allocations: 16.5 kB / 0.5712 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of SimCode: time 8.32e-07/0.01543, allocations: 0 / 0.5712 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of Templates: time 0.003333/0.01876, allocations: 1.678 MB / 0.5729 GB, free: 13.84 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.462871427182108]