Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor.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.001459/0.001459, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001748/0.001748, allocations: 181 kB / 23.36 MB, free: 1.129 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.9627/0.9627, allocations: 177.2 MB / 203.8 MB, free: 5.492 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.002445/0.002445, allocations: 245.9 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.7766/0.7766, allocations: 138.4 MB / 402.2 MB, free: 0.5273 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.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor") translateModel(BuildingSystems.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0 / 462.3 MB, free: 0.8906 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.311e-05/1.486e-05, allocations: 4.156 kB / 462.3 MB, free: 0.8867 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Loads.Examples.Resistor): time 0.004964/0.004979, allocations: 2.999 MB / 465.3 MB, free: 15 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.002241/0.00722, allocations: 1.124 MB / 466.5 MB, free: 14.25 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001705/0.007391, allocations: 10.88 kB / 466.5 MB, free: 14.25 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005221/0.007913, allocations: 110.1 kB / 466.6 MB, free: 14.2 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004307/0.008344, allocations: 194.8 kB / 466.8 MB, free: 14.08 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003804/0.008724, allocations: 160.1 kB / 466.9 MB, free: 13.98 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005865/0.009311, allocations: 490.6 kB / 467.4 MB, free: 13.56 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004244/0.009735, allocations: 296.6 kB / 467.7 MB, free: 13.28 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000338/0.01007, allocations: 267.4 kB / 468 MB, free: 13.02 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003849/0.01046, allocations: 193 kB / 468.1 MB, free: 12.83 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 5.453e-05/0.01051, allocations: 31.94 kB / 468.2 MB, free: 12.8 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002178/0.01073, allocations: 95.73 kB / 468.3 MB, free: 12.7 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001356/0.01087, allocations: 135.6 kB / 468.4 MB, free: 12.57 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000136/0.011, allocations: 129.1 kB / 468.5 MB, free: 12.45 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004408/0.01144, allocations: 326.8 kB / 468.8 MB, free: 12.12 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.01144, allocations: 4 kB / 468.8 MB, free: 12.12 MB / 426.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.01145, allocations: 0 / 468.8 MB, free: 12.12 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.152e-06/0.01145, allocations: 1.969 kB / 468.8 MB, free: 12.12 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.0007434/0.0122, allocations: 0.5179 MB / 469.4 MB, free: 11.59 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.01223, allocations: 9.812 kB / 469.4 MB, free: 11.58 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009425/0.01317, allocations: 183 kB / 469.6 MB, free: 11.4 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003164/0.01349, allocations: 219.6 kB / 469.8 MB, free: 11.16 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.441e-05/0.01351, allocations: 25.02 kB / 469.8 MB, free: 11.14 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.519e-05/0.01356, allocations: 29.66 kB / 469.8 MB, free: 11.11 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000459/0.01402, allocations: 427.4 kB / 470.2 MB, free: 10.63 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.01403, allocations: 5.031 kB / 470.2 MB, free: 10.63 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.192e-05/0.01405, allocations: 13.47 kB / 470.3 MB, free: 10.62 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.62e-05/0.01409, allocations: 28.58 kB / 470.3 MB, free: 10.59 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001291/0.01422, allocations: 102.1 kB / 470.4 MB, free: 10.49 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000959/0.01517, allocations: 1.325 MB / 471.7 MB, free: 9.125 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001463/0.01532, allocations: 91.83 kB / 471.8 MB, free: 9.027 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.679e-05/0.01541, allocations: 58.73 kB / 471.9 MB, free: 8.969 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.045e-06/0.01542, allocations: 6.625 kB / 471.9 MB, free: 8.965 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.902e-05/0.01543, allocations: 34.56 kB / 471.9 MB, free: 8.922 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 1.122e-06/0.01544, allocations: 0 / 471.9 MB, free: 8.922 MB / 426.7 MB Notification: Performance of matching and sorting (n=14): time 0.0002418/0.01568, allocations: 125.3 kB / 472 MB, free: 8.797 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.159e-05/0.0157, allocations: 63.28 kB / 472.1 MB, free: 8.723 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.01581, allocations: 216.3 kB / 472.3 MB, free: 8.5 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.407e-05/0.01583, allocations: 33.7 kB / 472.3 MB, free: 8.461 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.386e-05/0.0159, allocations: 206.7 kB / 472.5 MB, free: 8.254 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.553e-05/0.01593, allocations: 51.56 kB / 472.6 MB, free: 8.203 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.792e-05/0.01598, allocations: 45.89 kB / 472.6 MB, free: 8.148 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003012/0.01628, allocations: 330.8 kB / 472.9 MB, free: 7.816 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.48e-05/0.0163, allocations: 16.47 kB / 473 MB, free: 7.801 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.523e-05/0.01637, allocations: 117.3 kB / 473.1 MB, free: 7.648 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001086/0.01648, allocations: 153.1 kB / 473.2 MB, free: 7.465 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.01648, allocations: 0 / 473.2 MB, free: 7.465 MB / 426.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0001711/0.01665, allocations: 164.8 kB / 473.4 MB, free: 7.297 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.01666, allocations: 8 kB / 473.4 MB, free: 7.289 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.01667, allocations: 5.578 kB / 473.4 MB, free: 7.285 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001344/0.0168, allocations: 34.36 kB / 473.4 MB, free: 7.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001186/0.01692, allocations: 53.64 kB / 473.5 MB, free: 7.199 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000539/0.01746, allocations: 1.186 MB / 474.7 MB, free: 5.918 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.96e-05/0.01754, allocations: 27.83 kB / 474.7 MB, free: 5.891 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.01755, allocations: 16.84 kB / 474.7 MB, free: 5.875 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (27): * Single equations (assignments): 26 * 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.117e-05/0.01762, allocations: 125.5 kB / 474.8 MB, free: 5.742 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.923e-05/0.01765, allocations: 19.98 kB / 474.9 MB, free: 5.723 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.116e-05/0.01767, allocations: 26.27 kB / 474.9 MB, free: 5.699 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.92e-07/0.01767, allocations: 0 / 474.9 MB, free: 5.699 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.01767, allocations: 0.7812 kB / 474.9 MB, free: 5.699 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.01768, allocations: 4 kB / 474.9 MB, free: 5.695 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004349/0.01811, allocations: 0.5713 MB / 475.5 MB, free: 5.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.01811, allocations: 4 kB / 475.5 MB, free: 5.066 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.216e-05/0.01817, allocations: 28.61 kB / 475.5 MB, free: 5.039 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.143e-05/0.01825, allocations: 32.2 kB / 475.5 MB, free: 5.008 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.251e-06/0.01825, allocations: 4 kB / 475.5 MB, free: 5.004 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000473/0.01873, allocations: 1.196 MB / 476.7 MB, free: 3.719 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.01873, allocations: 0.5156 kB / 476.7 MB, free: 3.719 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001605/0.01889, allocations: 295.1 kB / 477 MB, free: 3.387 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.015e-05/0.01893, allocations: 31.83 kB / 477 MB, free: 3.355 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.42e-05/0.01894, allocations: 11.94 kB / 477.1 MB, free: 3.344 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.67e-05/0.01902, allocations: 9.219 kB / 477.1 MB, free: 3.336 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.148e-05/0.01904, allocations: 23.98 kB / 477.1 MB, free: 3.316 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.463e-06/0.01905, allocations: 4 kB / 477.1 MB, free: 3.312 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.73e-05/0.01909, allocations: 63.42 kB / 477.2 MB, free: 3.25 MB / 426.7 MB Notification: Performance of sort global known variables: time 3e-08/0.01909, allocations: 0 / 477.2 MB, free: 3.25 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002133/0.01931, allocations: 79.78 kB / 477.2 MB, free: 3.172 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (14): * Single equations (assignments): 13 * 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.798e-05/0.01938, allocations: 86.14 kB / 477.3 MB, free: 3.082 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002148/0.01959, allocations: 217.3 kB / 477.5 MB, free: 2.855 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.628e-06/0.0196, allocations: 0 / 477.5 MB, free: 2.855 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.165e-05/0.01969, allocations: 161.9 kB / 477.7 MB, free: 2.684 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002276/0.01991, allocations: 59.22 kB / 477.7 MB, free: 2.637 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006912/0.02061, allocations: 0.546 MB / 478.3 MB, free: 2.039 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.134e-05/0.02067, allocations: 112.3 kB / 478.4 MB, free: 1.91 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.866e-05/0.02074, allocations: 21.69 kB / 478.4 MB, free: 1.895 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001102/0.02085, allocations: 95.34 kB / 478.5 MB, free: 1.801 MB / 426.7 MB Notification: Performance of SimCode: time 6.01e-07/0.02085, allocations: 0 / 478.5 MB, free: 1.801 MB / 426.7 MB Notification: Performance of Templates: time 0.004583/0.02543, allocations: 2.649 MB / 481.2 MB, free: 15.37 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor.sim & ./BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5691457078792155]