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.0009518/0.0009518, allocations: 92.22 kB / 20.46 MB, free: 4.109 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.0009773/0.0009773, allocations: 161 kB / 23.82 MB, free: 0.7461 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.9944/0.9944, allocations: 177.1 MB / 204.2 MB, free: 5.637 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.6109/0.6109, allocations: 110.2 MB / 371 MB, free: 12.51 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.372e-06/1.372e-06, allocations: 0 / 475.2 MB, free: 15.2 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.089e-05/2.226e-05, allocations: 2.312 kB / 475.2 MB, free: 15.2 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset): time 0.002208/0.00223, allocations: 1.844 MB / 477 MB, free: 13.98 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008815/0.003112, allocations: 0.5641 MB / 477.6 MB, free: 13.61 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000103/0.003215, allocations: 11.53 kB / 477.6 MB, free: 13.6 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001352/0.00335, allocations: 22.42 kB / 477.6 MB, free: 13.58 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 6.199e-05/0.003412, allocations: 23.31 kB / 477.7 MB, free: 13.56 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000207/0.003619, allocations: 72.67 kB / 477.7 MB, free: 13.53 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001716/0.003791, allocations: 173 kB / 477.9 MB, free: 13.45 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001328/0.003923, allocations: 38.48 kB / 477.9 MB, free: 13.43 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001007/0.004024, allocations: 78.88 kB / 478 MB, free: 13.39 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.588e-05/0.00408, allocations: 49.27 kB / 478.1 MB, free: 13.37 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.339e-05/0.004103, allocations: 9.219 kB / 478.1 MB, free: 13.37 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.592e-05/0.004119, allocations: 11.44 kB / 478.1 MB, free: 13.37 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.65e-05/0.004146, allocations: 25.78 kB / 478.1 MB, free: 13.35 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.189e-05/0.004188, allocations: 43.7 kB / 478.1 MB, free: 13.33 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001394/0.004327, allocations: 102.2 kB / 478.2 MB, free: 13.28 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/0.00433, allocations: 0 / 478.2 MB, free: 13.28 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.004331, allocations: 0 / 478.2 MB, free: 13.28 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.004336, allocations: 0.6562 kB / 478.2 MB, free: 13.28 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.0005094/0.004845, allocations: 0.5155 MB / 478.8 MB, free: 12.81 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.00489, allocations: 7.875 kB / 478.8 MB, free: 12.81 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.889e-05/0.004949, allocations: 32.83 kB / 478.8 MB, free: 12.79 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002044/0.005153, allocations: 179.3 kB / 479 MB, free: 12.63 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.005166, allocations: 9.719 kB / 479 MB, free: 12.63 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.311e-05/0.005199, allocations: 12.12 kB / 479 MB, free: 12.62 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001801/0.005379, allocations: 159.1 kB / 479.2 MB, free: 12.5 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.005388, allocations: 192 / 479.2 MB, free: 12.5 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.005401, allocations: 4.375 kB / 479.2 MB, free: 12.49 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/0.005411, allocations: 10.78 kB / 479.2 MB, free: 12.49 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.98e-05/0.005471, allocations: 32.38 kB / 479.2 MB, free: 12.48 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009303/0.006401, allocations: 0.8927 MB / 480.1 MB, free: 27.64 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.697e-05/0.006468, allocations: 40.5 kB / 480.1 MB, free: 27.6 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.868e-05/0.006497, allocations: 17 kB / 480.1 MB, free: 27.59 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.301e-05/0.00652, allocations: 2.969 kB / 480.2 MB, free: 27.59 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001151/0.006635, allocations: 118.2 kB / 480.3 MB, free: 27.47 MB / 426.7 MB Notification: Performance of pre-optimization done (n=11): time 1.182e-06/0.006636, allocations: 2.688 kB / 480.3 MB, free: 27.47 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002279/0.006864, allocations: 113.2 kB / 480.4 MB, free: 27.42 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.878e-05/0.006903, allocations: 147.1 kB / 480.5 MB, free: 27.25 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001264/0.007029, allocations: 242.4 kB / 480.8 MB, free: 27.05 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.16e-05/0.007041, allocations: 29.7 kB / 480.8 MB, free: 27.02 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.905e-05/0.00711, allocations: 173.4 kB / 481 MB, free: 26.86 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.123e-05/0.007131, allocations: 45 kB / 481 MB, free: 26.82 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.513e-05/0.007176, allocations: 46.61 kB / 481 MB, free: 26.79 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001204/0.007297, allocations: 0.4978 MB / 481.5 MB, free: 26.29 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.478e-05/0.007332, allocations: 16.91 kB / 481.6 MB, free: 26.29 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.476e-05/0.007396, allocations: 167.8 kB / 481.7 MB, free: 26.08 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001209/0.007517, allocations: 215 kB / 481.9 MB, free: 25.84 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.007521, allocations: 2.719 kB / 481.9 MB, free: 25.84 MB / 426.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000168/0.007689, allocations: 175.8 kB / 482.1 MB, free: 25.75 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.007703, allocations: 7.219 kB / 482.1 MB, free: 25.75 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.007709, allocations: 5.812 kB / 482.1 MB, free: 25.75 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.984e-05/0.007729, allocations: 6.125 kB / 482.1 MB, free: 25.75 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.797e-05/0.007817, allocations: 33.14 kB / 482.2 MB, free: 25.74 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/0.007826, allocations: 12.06 kB / 482.2 MB, free: 25.74 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.578e-05/0.007892, allocations: 13.92 kB / 482.2 MB, free: 25.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.007903, allocations: 16.47 kB / 482.2 MB, free: 25.73 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.538e-05/0.007988, allocations: 170.3 kB / 482.4 MB, free: 25.56 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.421e-05/0.008012, allocations: 30.61 kB / 482.4 MB, free: 25.54 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.592e-05/0.008048, allocations: 17.16 kB / 482.4 MB, free: 25.53 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.008052, allocations: 2.719 kB / 482.4 MB, free: 25.53 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.008058, allocations: 5.094 kB / 482.4 MB, free: 25.53 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.008063, allocations: 3.422 kB / 482.4 MB, free: 25.53 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003577/0.008421, allocations: 0.497 MB / 482.9 MB, free: 25.09 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.008423, allocations: 0 / 482.9 MB, free: 25.09 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.994e-05/0.008473, allocations: 18.19 kB / 482.9 MB, free: 25.08 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.008475, allocations: 3.125 kB / 482.9 MB, free: 25.08 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/0.008489, allocations: 6.375 kB / 483 MB, free: 25.08 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.008491, allocations: 0 / 483 MB, free: 25.08 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.008494, allocations: 2.719 kB / 483 MB, free: 25.08 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002262/0.00872, allocations: 409.1 kB / 483.4 MB, free: 24.72 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.62e-05/0.008736, allocations: 16.97 kB / 483.4 MB, free: 24.71 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.733e-05/0.008753, allocations: 6.594 kB / 483.4 MB, free: 24.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.516e-05/0.008828, allocations: 8.344 kB / 483.4 MB, free: 24.7 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.624e-05/0.008875, allocations: 15.73 kB / 483.4 MB, free: 24.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.494e-06/0.008882, allocations: 5.25 kB / 483.4 MB, free: 24.7 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.661e-05/0.008949, allocations: 161.6 kB / 483.6 MB, free: 24.57 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008949, allocations: 0 / 483.6 MB, free: 24.57 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002224/0.009171, allocations: 28.03 kB / 483.6 MB, free: 24.57 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 9.531e-05/0.009267, allocations: 106.8 kB / 483.7 MB, free: 24.47 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001439/0.00941, allocations: 84.02 kB / 483.8 MB, free: 24.44 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.009412, allocations: 0 / 483.8 MB, free: 24.44 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.878e-05/0.009461, allocations: 43.17 kB / 483.8 MB, free: 24.42 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003696/0.00983, allocations: 78.25 kB / 483.9 MB, free: 24.4 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004351/0.01027, allocations: 346 kB / 484.2 MB, free: 24.12 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.982e-05/0.01031, allocations: 72.39 kB / 484.3 MB, free: 24.05 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.283e-05/0.01036, allocations: 14.55 kB / 484.3 MB, free: 24.05 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.866e-05/0.0104, allocations: 19.84 kB / 484.3 MB, free: 24.04 MB / 426.7 MB Notification: Performance of SimCode: time 5.72e-07/0.0104, allocations: 0.6562 kB / 484.3 MB, free: 24.04 MB / 426.7 MB Notification: Performance of Templates: time 0.004028/0.01443, allocations: 2.148 MB / 486.5 MB, free: 23.87 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.7767970259301364]