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.0006832/0.0006832, allocations: 81.05 kB / 10 MB, free: 0.6797 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009597/0.001643, allocations: 453.9 kB / 10.45 MB, free: 244 kB / 10.45 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.000674/0.000674, allocations: 160.8 kB / 11.36 MB, free: 2.809 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001091/0.001765, allocations: 475.6 kB / 11.82 MB, free: 2.34 MB / 13.93 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.9399/0.9399, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08742/1.027, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.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.5985/0.5985, allocations: 110.3 MB / 354.4 MB, free: 12.28 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.06343/0.6619, allocations: 34.96 MB / 389.4 MB, free: 9.246 MB / 378.7 MB " [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.112e-06/1.112e-06, allocations: 0 / 390.8 MB, free: 7.902 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.873e-05/1.984e-05, allocations: 2.312 kB / 390.8 MB, free: 7.898 MB / 378.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset): time 0.002737/0.002757, allocations: 1.883 MB / 392.6 MB, free: 6.004 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00588/0.008637, allocations: 0.588 MB / 393.2 MB, free: 5.41 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.525e-05/0.008723, allocations: 7.938 kB / 393.2 MB, free: 5.402 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 7.938e-05/0.008802, allocations: 23.73 kB / 393.3 MB, free: 5.379 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 6.65e-05/0.008868, allocations: 35.66 kB / 393.3 MB, free: 5.344 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001384/0.009007, allocations: 63.8 kB / 393.4 MB, free: 5.281 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001924/0.009199, allocations: 167.5 kB / 393.5 MB, free: 5.117 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.009312, allocations: 42.34 kB / 393.6 MB, free: 5.078 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001345/0.009447, allocations: 99.8 kB / 393.7 MB, free: 4.98 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.847e-05/0.009515, allocations: 35.88 kB / 393.7 MB, free: 4.945 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.836e-05/0.009543, allocations: 15.94 kB / 393.7 MB, free: 4.93 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.847e-05/0.009562, allocations: 8 kB / 393.7 MB, free: 4.922 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.802e-05/0.00959, allocations: 23.88 kB / 393.7 MB, free: 4.898 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.075e-05/0.009631, allocations: 31.88 kB / 393.8 MB, free: 4.867 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001385/0.009769, allocations: 91.61 kB / 393.9 MB, free: 4.777 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.115e-05/0.00978, allocations: 3.938 kB / 393.9 MB, free: 4.773 MB / 378.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.009781, allocations: 0 / 393.9 MB, free: 4.773 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.207e-05/0.009793, allocations: 0 / 393.9 MB, free: 4.773 MB / 378.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.0005551/0.01035, allocations: 399.8 kB / 394.3 MB, free: 4.359 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.206e-05/0.01038, allocations: 8.031 kB / 394.3 MB, free: 4.352 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.731e-05/0.01043, allocations: 20.91 kB / 394.3 MB, free: 4.332 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001978/0.01063, allocations: 173.4 kB / 394.5 MB, free: 4.137 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.01064, allocations: 8.375 kB / 394.5 MB, free: 4.129 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.822e-05/0.01067, allocations: 12.38 kB / 394.5 MB, free: 4.117 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001625/0.01083, allocations: 139 kB / 394.6 MB, free: 3.957 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.01084, allocations: 4.188 kB / 394.6 MB, free: 3.953 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.01085, allocations: 8.375 kB / 394.6 MB, free: 3.945 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.01086, allocations: 7.938 kB / 394.6 MB, free: 3.938 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.772e-05/0.0109, allocations: 23.92 kB / 394.7 MB, free: 3.914 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003585/0.01449, allocations: 0.5709 MB / 395.2 MB, free: 3.312 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.16e-05/0.01455, allocations: 38.44 kB / 395.3 MB, free: 3.266 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.258e-05/0.01457, allocations: 16.86 kB / 395.3 MB, free: 3.246 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.557e-05/0.01459, allocations: 0 / 395.3 MB, free: 3.246 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001184/0.01471, allocations: 98.94 kB / 395.4 MB, free: 3.125 MB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 9.31e-07/0.01471, allocations: 0 / 395.4 MB, free: 3.125 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001626/0.01487, allocations: 89.53 kB / 395.5 MB, free: 3.031 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.011e-05/0.01493, allocations: 136.5 kB / 395.6 MB, free: 2.867 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/0.01504, allocations: 191.4 kB / 395.8 MB, free: 2.668 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/0.01505, allocations: 25.7 kB / 395.8 MB, free: 2.637 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.728e-05/0.01511, allocations: 127.8 kB / 395.9 MB, free: 2.508 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.635e-05/0.01514, allocations: 35.97 kB / 396 MB, free: 2.473 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.374e-05/0.01519, allocations: 45.67 kB / 396 MB, free: 2.422 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.927e-05/0.01527, allocations: 330.8 kB / 396.3 MB, free: 2.09 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.359e-05/0.0153, allocations: 11.98 kB / 396.4 MB, free: 2.078 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.267e-05/0.01537, allocations: 114.6 kB / 396.5 MB, free: 1.914 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001275/0.0155, allocations: 166.3 kB / 396.6 MB, free: 1.699 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.0155, allocations: 0 / 396.6 MB, free: 1.699 MB / 378.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001592/0.01566, allocations: 133.3 kB / 396.8 MB, free: 1.562 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.01567, allocations: 15.92 kB / 396.8 MB, free: 1.547 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.01568, allocations: 7.984 kB / 396.8 MB, free: 1.539 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.01569, allocations: 4.234 kB / 396.8 MB, free: 1.535 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.456e-05/0.01579, allocations: 40.42 kB / 396.8 MB, free: 1.496 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.0158, allocations: 11.94 kB / 396.8 MB, free: 1.484 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.142e-05/0.01588, allocations: 15.89 kB / 396.9 MB, free: 1.469 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/0.01589, allocations: 12 kB / 396.9 MB, free: 1.457 MB / 378.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,intNoReset.trigger_internal,intDef.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 7.402e-05/0.01596, allocations: 133.7 kB / 397 MB, free: 1.316 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.239e-05/0.01599, allocations: 15.98 kB / 397 MB, free: 1.301 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.327e-05/0.01602, allocations: 17.41 kB / 397 MB, free: 1.277 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.01602, allocations: 7.938 kB / 397 MB, free: 1.27 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.01602, allocations: 0 / 397 MB, free: 1.27 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/0.01603, allocations: 7.984 kB / 397 MB, free: 1.262 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003267/0.01636, allocations: 341.9 kB / 397.4 MB, free: 0.9023 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.01636, allocations: 0 / 397.4 MB, free: 0.9023 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.419e-05/0.01642, allocations: 19.92 kB / 397.4 MB, free: 0.8828 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.777e-05/0.01644, allocations: 15.89 kB / 397.4 MB, free: 0.8672 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.01644, allocations: 4 kB / 397.4 MB, free: 0.8633 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.01645, allocations: 3.938 kB / 397.4 MB, free: 0.8594 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.546e-06/0.01646, allocations: 8.297 kB / 397.4 MB, free: 0.8516 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.01646, allocations: 0 / 397.4 MB, free: 0.8516 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001764/0.01663, allocations: 280.3 kB / 397.7 MB, free: 0.5547 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.713e-05/0.01665, allocations: 3.984 kB / 397.7 MB, free: 0.5508 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/0.01676, allocations: 16 kB / 397.7 MB, free: 0.5352 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.562e-05/0.0168, allocations: 11.97 kB / 397.7 MB, free: 0.5234 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.655e-06/0.0168, allocations: 4 kB / 397.7 MB, free: 0.5195 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.272e-05/0.01685, allocations: 52.95 kB / 397.8 MB, free: 476 kB / 378.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01685, allocations: 0 / 397.8 MB, free: 476 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.003281/0.02013, allocations: 27.94 kB / 397.8 MB, free: 448 kB / 378.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 8.511e-05/0.02021, allocations: 88.41 kB / 397.9 MB, free: 352 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001304/0.02034, allocations: 81.05 kB / 398 MB, free: 268 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.151e-06/0.02035, allocations: 0 / 398 MB, free: 268 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.226e-05/0.0204, allocations: 36.78 kB / 398 MB, free: 228 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004807/0.02088, allocations: 412.1 kB / 398.4 MB, free: 15.75 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006063/0.02149, allocations: 332.6 kB / 398.7 MB, free: 15.39 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.376e-05/0.02154, allocations: 79.98 kB / 398.8 MB, free: 15.29 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.501e-05/0.0216, allocations: 21.66 kB / 398.8 MB, free: 15.27 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001012/0.0217, allocations: 83.34 kB / 398.9 MB, free: 15.19 MB / 394.7 MB Notification: Performance of SimCode: time 4.31e-07/0.0217, allocations: 0 / 398.9 MB, free: 15.19 MB / 394.7 MB Notification: Performance of Templates: time 0.01051/0.03221, allocations: 2.213 MB / 401.1 MB, free: 12.98 MB / 394.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.172749730758369]