Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001902/0.001902, allocations: 97.47 kB / 20.21 MB, free: 4.207 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.002028/0.002028, allocations: 165.2 kB / 23.53 MB, free: 0.8945 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.587/1.587, allocations: 177.1 MB / 203.9 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.032/1.032, allocations: 115 MB / 375.3 MB, free: 7.578 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor") translateModel(IBPSA.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.116e-06/3.116e-06, allocations: 0 / 480.7 MB, free: 11.9 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.244e-05/3.556e-05, allocations: 6.25 kB / 480.8 MB, free: 11.89 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Loads.Examples.Resistor): time 0.009377/0.009413, allocations: 3.88 MB / 484.6 MB, free: 9.449 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005126/0.01454, allocations: 1.76 MB / 486.4 MB, free: 8.324 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004583/0.015, allocations: 10.56 kB / 486.4 MB, free: 8.32 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002446/0.01744, allocations: 0.5063 MB / 486.9 MB, free: 8.043 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001252/0.01869, allocations: 235 kB / 487.1 MB, free: 7.906 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001038/0.01973, allocations: 212.6 kB / 487.3 MB, free: 7.801 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000899/0.02063, allocations: 486.3 kB / 487.8 MB, free: 7.586 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008147/0.02145, allocations: 288.6 kB / 488.1 MB, free: 7.445 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007263/0.02217, allocations: 282.7 kB / 488.4 MB, free: 7.332 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007394/0.02291, allocations: 197.4 kB / 488.6 MB, free: 7.277 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001444/0.02306, allocations: 28.22 kB / 488.6 MB, free: 7.277 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009348/0.02399, allocations: 229.5 kB / 488.8 MB, free: 7.199 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003155/0.02431, allocations: 137.5 kB / 489 MB, free: 7.133 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004038/0.02471, allocations: 114.9 kB / 489.1 MB, free: 7.09 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001452/0.02616, allocations: 0.5233 MB / 489.6 MB, free: 6.914 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.02617, allocations: 0 / 489.6 MB, free: 6.914 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.345e-06/0.02617, allocations: 1.188 kB / 489.6 MB, free: 6.914 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.372e-05/0.02619, allocations: 2 kB / 489.6 MB, free: 6.914 MB / 410.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.00186/0.02805, allocations: 0.6842 MB / 490.3 MB, free: 6.363 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.473e-05/0.02811, allocations: 9.531 kB / 490.3 MB, free: 6.363 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001915/0.03002, allocations: 194.9 kB / 490.5 MB, free: 6.316 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006627/0.03069, allocations: 245 kB / 490.7 MB, free: 6.121 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.964e-05/0.03073, allocations: 20.84 kB / 490.7 MB, free: 6.113 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.483e-05/0.03081, allocations: 33.11 kB / 490.8 MB, free: 6.102 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009776/0.03179, allocations: 488.5 kB / 491.3 MB, free: 5.715 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.661e-05/0.03182, allocations: 2.25 kB / 491.3 MB, free: 5.715 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.069e-05/0.03188, allocations: 16.42 kB / 491.3 MB, free: 5.703 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001005/0.03198, allocations: 36.94 kB / 491.3 MB, free: 5.695 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006835/0.03266, allocations: 158.2 kB / 491.5 MB, free: 5.664 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004001/0.03666, allocations: 1.984 MB / 493.4 MB, free: 19.96 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004722/0.03713, allocations: 121 kB / 493.6 MB, free: 19.9 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003137/0.03745, allocations: 88.11 kB / 493.6 MB, free: 19.87 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.63e-05/0.03747, allocations: 4.188 kB / 493.7 MB, free: 19.87 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.738e-05/0.0375, allocations: 42.61 kB / 493.7 MB, free: 19.82 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 2.445e-06/0.0375, allocations: 0 / 493.7 MB, free: 19.82 MB / 426.7 MB Notification: Performance of matching and sorting (n=14): time 0.0008416/0.03834, allocations: 169.9 kB / 493.9 MB, free: 19.73 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.955e-05/0.03837, allocations: 53.97 kB / 493.9 MB, free: 19.67 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004873/0.03886, allocations: 312.9 kB / 494.2 MB, free: 19.45 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.348e-05/0.03888, allocations: 35.23 kB / 494.3 MB, free: 19.41 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002261/0.03911, allocations: 268.1 kB / 494.5 MB, free: 19.18 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.84e-05/0.03917, allocations: 51.92 kB / 494.6 MB, free: 19.14 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001326/0.0393, allocations: 58.72 kB / 494.6 MB, free: 19.09 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004264/0.03973, allocations: 0.5075 MB / 495.1 MB, free: 18.59 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001431/0.03987, allocations: 33.47 kB / 495.2 MB, free: 18.58 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002014/0.04007, allocations: 167 kB / 495.3 MB, free: 18.41 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003436/0.04042, allocations: 211.2 kB / 495.5 MB, free: 18.21 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.552e-06/0.04042, allocations: 1.406 kB / 495.5 MB, free: 18.21 MB / 426.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006809/0.0411, allocations: 240.4 kB / 495.8 MB, free: 18.09 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.564e-05/0.04113, allocations: 8.281 kB / 495.8 MB, free: 18.09 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.04114, allocations: 2.375 kB / 495.8 MB, free: 18.09 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003836/0.04152, allocations: 42.25 kB / 495.8 MB, free: 18.08 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003359/0.04186, allocations: 48.66 kB / 495.9 MB, free: 18.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002394/0.04426, allocations: 1.755 MB / 497.6 MB, free: 16.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003316/0.04459, allocations: 26.33 kB / 497.6 MB, free: 16.28 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.182e-05/0.04462, allocations: 10.03 kB / 497.7 MB, free: 16.28 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 0.0002756/0.04489, allocations: 180.3 kB / 497.8 MB, free: 16.1 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.971e-05/0.04499, allocations: 30.2 kB / 497.9 MB, free: 16.09 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.728e-05/0.04506, allocations: 25.16 kB / 497.9 MB, free: 16.07 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.04507, allocations: 5.188 kB / 497.9 MB, free: 16.07 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.281e-06/0.04507, allocations: 2.906 kB / 497.9 MB, free: 16.07 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.04508, allocations: 0 / 497.9 MB, free: 16.07 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001505/0.04658, allocations: 0.6204 MB / 498.5 MB, free: 15.57 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.04659, allocations: 1.188 kB / 498.5 MB, free: 15.57 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001521/0.04674, allocations: 25.95 kB / 498.5 MB, free: 15.57 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002752/0.04701, allocations: 37.64 kB / 498.6 MB, free: 15.55 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.975e-05/0.04703, allocations: 7.672 kB / 498.6 MB, free: 15.55 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001822/0.04886, allocations: 1.756 MB / 0.4886 GB, free: 13.78 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.483e-06/0.04886, allocations: 2.688 kB / 0.4886 GB, free: 13.78 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005964/0.04946, allocations: 348.2 kB / 0.489 GB, free: 13.47 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000167/0.04963, allocations: 37.11 kB / 0.489 GB, free: 13.45 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.046e-05/0.04969, allocations: 6.844 kB / 0.489 GB, free: 13.45 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002762/0.04996, allocations: 10.34 kB / 0.489 GB, free: 13.45 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.423e-05/0.05003, allocations: 20.95 kB / 0.489 GB, free: 13.44 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.437e-05/0.05005, allocations: 6.625 kB / 0.489 GB, free: 13.44 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003369/0.05039, allocations: 211.9 kB / 0.4892 GB, free: 13.29 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.05039, allocations: 0 / 0.4892 GB, free: 13.29 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008003/0.05119, allocations: 85.81 kB / 0.4893 GB, free: 13.27 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 0.0001935/0.05138, allocations: 95.53 kB / 0.4894 GB, free: 13.18 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000767/0.05215, allocations: 302.8 kB / 0.4897 GB, free: 12.96 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/0.05216, allocations: 1.062 kB / 0.4897 GB, free: 12.96 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003794/0.05254, allocations: 237.7 kB / 0.4899 GB, free: 12.75 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008205/0.05336, allocations: 69.53 kB / 0.49 GB, free: 12.72 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001367/0.05472, allocations: 0.5355 MB / 0.4905 GB, free: 12.34 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003071/0.05503, allocations: 179.5 kB / 0.4907 GB, free: 12.25 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002039/0.05523, allocations: 32.8 kB / 0.4907 GB, free: 12.25 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.401e-05/0.05531, allocations: 22.06 kB / 0.4907 GB, free: 12.24 MB / 426.7 MB Notification: Performance of SimCode: time 8.52e-07/0.05531, allocations: 1.75 kB / 0.4907 GB, free: 12.24 MB / 426.7 MB Notification: Performance of Templates: time 0.01203/0.06734, allocations: 2.464 MB / 0.4931 GB, free: 12.02 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.sim & ./IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.797250226023607]