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.0009198/0.0009198, 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.001105/0.001105, allocations: 181 kB / 23.36 MB, free: 1.133 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.9338/0.9338, allocations: 177.1 MB / 203.8 MB, free: 5.488 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.001975/0.001975, allocations: 241.6 kB / 260.5 MB, free: 12.71 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.8253/0.8253, allocations: 138.4 MB / 402.2 MB, free: 0.5586 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.823e-06/1.823e-06, allocations: 1.312 kB / 462.3 MB, free: 0.9492 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.502e-05/1.684e-05, allocations: 5.891 kB / 462.3 MB, free: 0.9453 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Lines.Examples.Resistance): time 0.004066/0.004083, allocations: 2.558 MB / 464.8 MB, free: 15.34 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.002023/0.006106, allocations: 0.9866 MB / 465.8 MB, free: 14.69 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001457/0.006251, allocations: 5.844 kB / 465.8 MB, free: 14.69 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005324/0.006784, allocations: 99.12 kB / 465.9 MB, free: 14.64 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003364/0.00712, allocations: 131.5 kB / 466.1 MB, free: 14.56 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002964/0.007416, allocations: 113.4 kB / 466.2 MB, free: 14.5 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004161/0.007833, allocations: 313.8 kB / 466.5 MB, free: 14.36 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003303/0.008163, allocations: 192.2 kB / 466.7 MB, free: 14.28 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002367/0.0084, allocations: 175.9 kB / 466.8 MB, free: 14.14 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002858/0.008685, allocations: 128.2 kB / 467 MB, free: 14.02 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.094e-05/0.008716, allocations: 16.56 kB / 467 MB, free: 14 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001729/0.008889, allocations: 79.86 kB / 467.1 MB, free: 13.93 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001062/0.008995, allocations: 92.3 kB / 467.1 MB, free: 13.84 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 9.451e-05/0.00909, allocations: 80.39 kB / 467.2 MB, free: 13.76 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003506/0.009441, allocations: 227.2 kB / 467.4 MB, free: 13.54 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.833e-06/0.009442, allocations: 1.406 kB / 467.4 MB, free: 13.54 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.009443, allocations: 0 / 467.4 MB, free: 13.54 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.048e-06/0.009447, allocations: 0 / 467.4 MB, free: 13.54 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0006034/0.01005, allocations: 419.5 kB / 467.9 MB, free: 13.11 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.01009, allocations: 9.344 kB / 467.9 MB, free: 13.1 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005332/0.01062, allocations: 117.9 kB / 468 MB, free: 12.98 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002517/0.01087, allocations: 182.5 kB / 468.2 MB, free: 12.78 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.771e-05/0.01089, allocations: 13.44 kB / 468.2 MB, free: 12.77 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.323e-05/0.01092, allocations: 16.38 kB / 468.2 MB, free: 12.75 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003175/0.01124, allocations: 273.6 kB / 468.5 MB, free: 12.45 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.01125, allocations: 192 / 468.5 MB, free: 12.45 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.377e-05/0.01127, allocations: 13.55 kB / 468.5 MB, free: 12.44 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.732e-05/0.01131, allocations: 24.3 kB / 468.5 MB, free: 12.41 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001224/0.01143, allocations: 58.28 kB / 468.6 MB, free: 12.36 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009608/0.0124, allocations: 0.896 MB / 469.4 MB, free: 11.42 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001498/0.01255, allocations: 58.59 kB / 469.5 MB, free: 11.36 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.961e-05/0.01257, allocations: 20.84 kB / 469.5 MB, free: 11.33 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.883e-06/0.01258, allocations: 0.5625 kB / 469.5 MB, free: 11.33 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.661e-05/0.01261, allocations: 36.12 kB / 469.6 MB, free: 11.29 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 1.332e-06/0.01261, allocations: 1.406 kB / 469.6 MB, free: 11.29 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003037/0.01291, allocations: 98.61 kB / 469.7 MB, free: 11.18 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.306e-05/0.01295, allocations: 53.03 kB / 469.7 MB, free: 11.12 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001475/0.01309, allocations: 182.6 kB / 469.9 MB, free: 10.93 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.338e-05/0.01311, allocations: 25.7 kB / 469.9 MB, free: 10.9 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.451e-05/0.01319, allocations: 167.9 kB / 470.1 MB, free: 10.73 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.017e-05/0.01321, allocations: 29.97 kB / 470.1 MB, free: 10.7 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.232e-05/0.01326, allocations: 41.59 kB / 470.1 MB, free: 10.66 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.01337, allocations: 326.8 kB / 470.5 MB, free: 10.33 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.203e-05/0.01339, allocations: 8 kB / 470.5 MB, free: 10.32 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.809e-05/0.01346, allocations: 77.22 kB / 470.5 MB, free: 10.21 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001093/0.01357, allocations: 111 kB / 470.7 MB, free: 10.08 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.01357, allocations: 4 kB / 470.7 MB, free: 10.07 MB / 426.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000189/0.01376, allocations: 125.9 kB / 470.8 MB, free: 9.945 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.01377, allocations: 8 kB / 470.8 MB, free: 9.938 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.01378, allocations: 0 / 470.8 MB, free: 9.938 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001693/0.01395, allocations: 39.14 kB / 470.8 MB, free: 9.902 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001137/0.01406, allocations: 32.55 kB / 470.9 MB, free: 9.871 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006762/0.01474, allocations: 1.191 MB / 472.1 MB, free: 8.59 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.021e-05/0.0148, allocations: 19.83 kB / 472.1 MB, free: 8.57 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.01481, allocations: 9.938 kB / 472.1 MB, free: 8.562 MB / 426.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 6.786e-05/0.01487, allocations: 120.6 kB / 472.2 MB, free: 8.434 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.013e-05/0.01489, allocations: 11.98 kB / 472.2 MB, free: 8.422 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.499e-05/0.01491, allocations: 17.47 kB / 472.2 MB, free: 8.406 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.41e-07/0.01491, allocations: 1.375 kB / 472.2 MB, free: 8.406 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.01491, allocations: 0 / 472.2 MB, free: 8.406 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.01492, allocations: 11.86 kB / 472.2 MB, free: 8.395 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002151/0.01513, allocations: 248.2 kB / 472.5 MB, free: 8.125 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.01513, allocations: 0 / 472.5 MB, free: 8.125 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.742e-05/0.01515, allocations: 9 kB / 472.5 MB, free: 8.117 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.888e-05/0.01524, allocations: 38.62 kB / 472.5 MB, free: 8.078 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.27e-06/0.01524, allocations: 3.938 kB / 472.5 MB, free: 8.074 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004779/0.01572, allocations: 1.188 MB / 473.7 MB, free: 6.797 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.01572, allocations: 0 / 473.7 MB, free: 6.797 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.757e-05/0.01582, allocations: 171.1 kB / 473.9 MB, free: 6.609 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.166e-05/0.01584, allocations: 16.69 kB / 473.9 MB, free: 6.594 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.267e-06/0.01585, allocations: 4 kB / 473.9 MB, free: 6.59 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.011e-05/0.0159, allocations: 6.375 kB / 473.9 MB, free: 6.586 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.697e-05/0.01592, allocations: 10.09 kB / 473.9 MB, free: 6.578 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.673e-06/0.01592, allocations: 0 / 473.9 MB, free: 6.578 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.771e-05/0.01596, allocations: 53.75 kB / 474 MB, free: 6.523 MB / 426.7 MB Notification: Performance of sort global known variables: time 3e-08/0.01596, allocations: 1.25 kB / 474 MB, free: 6.523 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001822/0.01614, allocations: 59.78 kB / 474 MB, free: 6.465 MB / 426.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.629e-05/0.01623, allocations: 78.2 kB / 474.1 MB, free: 6.383 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001862/0.01642, allocations: 181.2 kB / 474.3 MB, free: 6.191 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.01642, allocations: 0.7188 kB / 474.3 MB, free: 6.191 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.558e-05/0.0165, allocations: 136.5 kB / 474.4 MB, free: 6.043 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001679/0.01666, allocations: 32.66 kB / 474.5 MB, free: 6.016 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005675/0.01723, allocations: 364.3 kB / 474.8 MB, free: 5.629 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.342e-05/0.01729, allocations: 87.97 kB / 474.9 MB, free: 5.523 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.981e-05/0.01733, allocations: 18.69 kB / 474.9 MB, free: 5.508 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.059e-05/0.01741, allocations: 75.36 kB / 475 MB, free: 5.434 MB / 426.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01741, allocations: 0 / 475 MB, free: 5.434 MB / 426.7 MB Notification: Performance of Templates: time 0.00344/0.02085, allocations: 1.792 MB / 476.8 MB, free: 3.801 MB / 426.7 MB " [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.487371812108904]