Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.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.001125/0.001125, allocations: 92.22 kB / 20.46 MB, free: 4.117 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.001607/0.001607, allocations: 157 kB / 23.82 MB, free: 0.7539 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.9793/0.9793, allocations: 177.1 MB / 204.2 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.5861/0.5861, allocations: 110.2 MB / 371 MB, free: 12.53 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:44:3-56:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:58:3-65:19:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:67:3-72:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:74:3-79:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/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(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 475.2 MB, free: 15.16 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.337e-05/2.471e-05, allocations: 3.844 kB / 475.2 MB, free: 15.15 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset): time 0.003418/0.003442, allocations: 1.834 MB / 477 MB, free: 13.95 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001396/0.004838, allocations: 0.5593 MB / 477.6 MB, free: 13.58 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001651/0.005004, allocations: 7.844 kB / 477.6 MB, free: 13.57 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001801/0.005184, allocations: 19.12 kB / 477.6 MB, free: 13.56 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001044/0.005288, allocations: 30.94 kB / 477.7 MB, free: 13.54 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002998/0.005588, allocations: 75.23 kB / 477.7 MB, free: 13.5 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002945/0.005882, allocations: 171.9 kB / 477.9 MB, free: 13.41 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001622/0.006045, allocations: 34.94 kB / 477.9 MB, free: 13.4 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001753/0.00622, allocations: 81.78 kB / 478 MB, free: 13.36 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.014e-05/0.0063, allocations: 39.27 kB / 478.1 MB, free: 13.35 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.782e-05/0.006338, allocations: 11.25 kB / 478.1 MB, free: 13.35 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.042e-05/0.006358, allocations: 9.062 kB / 478.1 MB, free: 13.35 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.022e-05/0.006399, allocations: 35.61 kB / 478.1 MB, free: 13.32 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.998e-05/0.006459, allocations: 34.95 kB / 478.1 MB, free: 13.31 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001953/0.006654, allocations: 108.9 kB / 478.2 MB, free: 13.25 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.006657, allocations: 0 / 478.2 MB, free: 13.25 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.006658, allocations: 3.562 kB / 478.3 MB, free: 13.25 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.006664, allocations: 0 / 478.3 MB, free: 13.25 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0005467/0.007211, allocations: 0.5091 MB / 478.8 MB, free: 12.78 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.488e-05/0.007265, allocations: 9.875 kB / 478.8 MB, free: 12.78 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.818e-05/0.007334, allocations: 33.23 kB / 478.8 MB, free: 12.77 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002154/0.007549, allocations: 187.6 kB / 479 MB, free: 12.6 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.007564, allocations: 11 kB / 479 MB, free: 12.59 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.732e-05/0.007592, allocations: 12.41 kB / 479 MB, free: 12.59 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001984/0.00779, allocations: 155.8 kB / 479.2 MB, free: 12.46 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.0078, allocations: 1.781 kB / 479.2 MB, free: 12.46 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.007812, allocations: 7.312 kB / 479.2 MB, free: 12.46 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.007822, allocations: 3.938 kB / 479.2 MB, free: 12.45 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.287e-05/0.007885, allocations: 37.17 kB / 479.2 MB, free: 12.45 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009119/0.008797, allocations: 0.887 MB / 480.1 MB, free: 27.61 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.6e-05/0.008873, allocations: 41.22 kB / 480.1 MB, free: 27.57 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.934e-05/0.008902, allocations: 18.94 kB / 480.2 MB, free: 27.55 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.044e-05/0.008923, allocations: 0 / 480.2 MB, free: 27.55 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001229/0.009045, allocations: 119.4 kB / 480.3 MB, free: 27.44 MB / 426.7 MB Notification: Performance of pre-optimization done (n=11): time 9.02e-07/0.009046, allocations: 0 / 480.3 MB, free: 27.44 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002286/0.009275, allocations: 120.4 kB / 480.4 MB, free: 27.38 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.363e-05/0.009319, allocations: 135.6 kB / 480.5 MB, free: 27.22 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001381/0.009457, allocations: 250 kB / 480.8 MB, free: 27.02 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.127e-05/0.009468, allocations: 26.23 kB / 480.8 MB, free: 26.99 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.883e-05/0.009547, allocations: 179 kB / 481 MB, free: 26.82 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.258e-05/0.009569, allocations: 45.92 kB / 481 MB, free: 26.79 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.276e-05/0.009612, allocations: 45.64 kB / 481.1 MB, free: 26.75 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.009743, allocations: 0.5001 MB / 481.6 MB, free: 26.25 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.43e-05/0.009777, allocations: 12.94 kB / 481.6 MB, free: 26.25 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.604e-05/0.009853, allocations: 173.1 kB / 481.7 MB, free: 26.04 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001249/0.009978, allocations: 207.7 kB / 481.9 MB, free: 25.81 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.009981, allocations: 0 / 481.9 MB, free: 25.81 MB / 426.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001695/0.01015, allocations: 178.8 kB / 482.1 MB, free: 25.72 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.01017, allocations: 5.438 kB / 482.1 MB, free: 25.72 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.01018, allocations: 4.938 kB / 482.1 MB, free: 25.72 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.01019, allocations: 6.219 kB / 482.1 MB, free: 25.72 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.596e-05/0.01028, allocations: 33.41 kB / 482.2 MB, free: 25.71 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.01029, allocations: 6.438 kB / 482.2 MB, free: 25.71 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.57e-05/0.01035, allocations: 18.52 kB / 482.2 MB, free: 25.71 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/0.01036, allocations: 13.5 kB / 482.2 MB, free: 25.7 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 9 (sampleTrigger.y,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,$whenCondition3,intDef.trigger_internal,intNoReset.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.711e-05/0.01045, allocations: 169.9 kB / 482.4 MB, free: 25.53 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.512e-05/0.01048, allocations: 31.45 kB / 482.4 MB, free: 25.52 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.382e-05/0.01051, allocations: 19.55 kB / 482.4 MB, free: 25.5 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.01051, allocations: 6.672 kB / 482.4 MB, free: 25.5 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.01052, allocations: 0.625 kB / 482.4 MB, free: 25.5 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.01052, allocations: 3.469 kB / 482.4 MB, free: 25.5 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003983/0.01092, allocations: 0.4973 MB / 482.9 MB, free: 25.06 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.01092, allocations: 0 / 482.9 MB, free: 25.06 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.431e-05/0.01098, allocations: 18.14 kB / 482.9 MB, free: 25.05 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.449e-06/0.01098, allocations: 0.5312 kB / 482.9 MB, free: 25.05 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/0.011, allocations: 2.906 kB / 482.9 MB, free: 25.05 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.011, allocations: 4.125 kB / 482.9 MB, free: 25.05 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.093e-06/0.011, allocations: 3.047 kB / 483 MB, free: 25.05 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002398/0.01124, allocations: 406.5 kB / 483.3 MB, free: 24.69 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.943e-05/0.01126, allocations: 17.22 kB / 483.4 MB, free: 24.68 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.086e-05/0.01128, allocations: 6.781 kB / 483.4 MB, free: 24.68 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.503e-05/0.01136, allocations: 9 kB / 483.4 MB, free: 24.68 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.131e-05/0.01141, allocations: 16.52 kB / 483.4 MB, free: 24.67 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.195e-06/0.01142, allocations: 9 kB / 483.4 MB, free: 24.67 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.278e-05/0.01149, allocations: 162.5 kB / 483.6 MB, free: 24.54 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01149, allocations: 0 / 483.6 MB, free: 24.54 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002062/0.0117, allocations: 26.31 kB / 483.6 MB, free: 24.54 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (intWitRes2.y,intWitRes1.y,intNoReset.y,intDef.y) * Number of discrete variables: 6 (booleanPulse.y,$whenCondition3,$whenCondition1,booleanPulse.pulseStart,sampleTrigger.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001187/0.01181, allocations: 112.5 kB / 483.7 MB, free: 24.44 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001574/0.01197, allocations: 83.14 kB / 483.8 MB, free: 24.41 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.01197, allocations: 2.562 kB / 483.8 MB, free: 24.41 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.686e-05/0.01202, allocations: 36.19 kB / 483.8 MB, free: 24.39 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003848/0.01241, allocations: 78.41 kB / 483.9 MB, free: 24.37 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004633/0.01287, allocations: 339.4 kB / 484.2 MB, free: 24.1 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.418e-05/0.01291, allocations: 83.48 kB / 484.3 MB, free: 24.02 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.995e-05/0.01296, allocations: 21.11 kB / 484.3 MB, free: 24.01 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.876e-05/0.013, allocations: 17.25 kB / 484.3 MB, free: 24 MB / 426.7 MB Notification: Performance of SimCode: time 9.62e-07/0.013, allocations: 3.062 kB / 484.4 MB, free: 24 MB / 426.7 MB Notification: Performance of Templates: time 0.004668/0.01767, allocations: 2.282 MB / 486.6 MB, free: 23.82 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5992586677893996]