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.001376/0.001376, allocations: 81.95 kB / 20.68 MB, free: 3.812 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.002091/0.002091, allocations: 181.4 kB / 24.09 MB, free: 416 kB / 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.9877/0.9877, allocations: 177.1 MB / 204.5 MB, free: 5.484 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.5978/0.5978, allocations: 110.3 MB / 371.3 MB, free: 12.32 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 2.294e-06/2.294e-06, allocations: 0 / 475.6 MB, free: 14.94 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.835e-05/3.065e-05, allocations: 3.734 kB / 475.6 MB, free: 14.94 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset): time 0.002926/0.002957, allocations: 1.833 MB / 477.5 MB, free: 13.73 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009995/0.003956, allocations: 0.5569 MB / 478 MB, free: 13.35 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001111/0.004067, allocations: 6.531 kB / 478 MB, free: 13.35 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001413/0.004208, allocations: 28.81 kB / 478.1 MB, free: 13.33 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.456e-05/0.004283, allocations: 31.67 kB / 478.1 MB, free: 13.3 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001998/0.004483, allocations: 69.84 kB / 478.2 MB, free: 13.27 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001938/0.004677, allocations: 173.8 kB / 478.3 MB, free: 13.18 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001371/0.004814, allocations: 29.7 kB / 478.4 MB, free: 13.17 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000123/0.004937, allocations: 81.52 kB / 478.4 MB, free: 13.14 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.328e-05/0.005, allocations: 47.47 kB / 478.5 MB, free: 13.12 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.63e-05/0.005026, allocations: 8.719 kB / 478.5 MB, free: 13.12 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.805e-05/0.005044, allocations: 8.594 kB / 478.5 MB, free: 13.12 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.101e-05/0.005075, allocations: 32.78 kB / 478.5 MB, free: 13.1 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.332e-05/0.005109, allocations: 36.78 kB / 478.6 MB, free: 13.08 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001164/0.005225, allocations: 105.7 kB / 478.7 MB, free: 13.02 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.005229, allocations: 2.656 kB / 478.7 MB, free: 13.02 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.00523, allocations: 0 / 478.7 MB, free: 13.02 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.937e-06/0.005234, allocations: 1.375 kB / 478.7 MB, free: 13.02 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.0003936/0.005628, allocations: 0.5117 MB / 479.2 MB, free: 12.55 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.304e-05/0.005661, allocations: 14.3 kB / 479.2 MB, free: 12.55 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.475e-05/0.005706, allocations: 31.92 kB / 479.2 MB, free: 12.54 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001409/0.005846, allocations: 182.6 kB / 479.4 MB, free: 12.37 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.005858, allocations: 11.53 kB / 479.4 MB, free: 12.37 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.844e-05/0.005877, allocations: 11.88 kB / 479.4 MB, free: 12.36 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001358/0.006013, allocations: 151.6 kB / 479.6 MB, free: 12.23 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.006021, allocations: 0.6875 kB / 479.6 MB, free: 12.23 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-06/0.00603, allocations: 7.062 kB / 479.6 MB, free: 12.23 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.006037, allocations: 7.625 kB / 479.6 MB, free: 12.23 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.727e-05/0.006074, allocations: 27.75 kB / 479.6 MB, free: 12.22 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006898/0.006764, allocations: 0.8588 MB / 480.5 MB, free: 27.41 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.261e-05/0.006817, allocations: 34.61 kB / 480.5 MB, free: 27.38 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.007e-05/0.006837, allocations: 23.31 kB / 480.5 MB, free: 27.36 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.11e-05/0.006858, allocations: 2.938 kB / 480.6 MB, free: 27.36 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.38e-05/0.006952, allocations: 118.6 kB / 480.7 MB, free: 27.25 MB / 426.7 MB Notification: Performance of pre-optimization done (n=11): time 1.192e-06/0.006953, allocations: 0 / 480.7 MB, free: 27.25 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.000166/0.007119, allocations: 108.9 kB / 480.8 MB, free: 27.19 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.941e-05/0.007148, allocations: 137.2 kB / 480.9 MB, free: 27.03 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.653e-05/0.007245, allocations: 249 kB / 481.2 MB, free: 26.83 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.177e-06/0.007254, allocations: 25.7 kB / 481.2 MB, free: 26.8 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.93e-05/0.007313, allocations: 185 kB / 481.4 MB, free: 26.63 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.814e-05/0.007332, allocations: 41.3 kB / 481.4 MB, free: 26.6 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.818e-05/0.00737, allocations: 49.75 kB / 481.4 MB, free: 26.56 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.007481, allocations: 0.4969 MB / 481.9 MB, free: 26.06 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.981e-05/0.0075, allocations: 13.66 kB / 482 MB, free: 26.06 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.125e-05/0.007552, allocations: 165.4 kB / 482.1 MB, free: 25.85 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.768e-05/0.007649, allocations: 205.6 kB / 482.3 MB, free: 25.62 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.007652, allocations: 0.9375 kB / 482.3 MB, free: 25.62 MB / 426.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001339/0.007786, allocations: 165.4 kB / 482.5 MB, free: 25.54 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.007799, allocations: 11.38 kB / 482.5 MB, free: 25.54 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.007806, allocations: 5.438 kB / 482.5 MB, free: 25.54 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.00782, allocations: 9.625 kB / 482.5 MB, free: 25.53 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.203e-05/0.007892, allocations: 40.31 kB / 482.5 MB, free: 25.52 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.007897, allocations: 6.5 kB / 482.6 MB, free: 25.52 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.484e-05/0.007952, allocations: 17.98 kB / 482.6 MB, free: 25.51 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.007959, allocations: 7.719 kB / 482.6 MB, free: 25.51 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,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.562e-05/0.008035, allocations: 175.9 kB / 482.8 MB, free: 25.34 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.06e-05/0.008056, allocations: 27.03 kB / 482.8 MB, free: 25.32 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.962e-05/0.008085, allocations: 20.58 kB / 482.8 MB, free: 25.31 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.008088, allocations: 4.281 kB / 482.8 MB, free: 25.31 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-06/0.008089, allocations: 0 / 482.8 MB, free: 25.31 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.008094, allocations: 5 kB / 482.8 MB, free: 25.31 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003356/0.00843, allocations: 480 kB / 483.3 MB, free: 24.89 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.008433, allocations: 6.438 kB / 483.3 MB, free: 24.89 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-05/0.008479, allocations: 11.86 kB / 483.3 MB, free: 24.89 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.008483, allocations: 3.312 kB / 483.3 MB, free: 24.89 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.008494, allocations: 2.75 kB / 483.3 MB, free: 24.89 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.008496, allocations: 3.438 kB / 483.3 MB, free: 24.89 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.008497, allocations: 2.562 kB / 483.3 MB, free: 24.89 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002138/0.008711, allocations: 393.6 kB / 483.7 MB, free: 24.54 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.71e-05/0.008728, allocations: 21.34 kB / 483.7 MB, free: 24.52 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.565e-05/0.008744, allocations: 6 kB / 483.7 MB, free: 24.52 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.999e-05/0.008814, allocations: 9.812 kB / 483.7 MB, free: 24.52 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.667e-05/0.00885, allocations: 16.77 kB / 483.7 MB, free: 24.51 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.008857, allocations: 2.938 kB / 483.7 MB, free: 24.51 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.591e-05/0.008913, allocations: 158.8 kB / 483.9 MB, free: 24.39 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008913, allocations: 0 / 483.9 MB, free: 24.39 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000207/0.00912, allocations: 31.84 kB / 483.9 MB, free: 24.38 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 8.815e-05/0.009208, allocations: 104.6 kB / 484 MB, free: 24.29 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 9.692e-05/0.009305, allocations: 76.41 kB / 484.1 MB, free: 24.26 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.009308, allocations: 2.781 kB / 484.1 MB, free: 24.26 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.692e-05/0.009345, allocations: 38.41 kB / 484.1 MB, free: 24.23 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000336/0.009681, allocations: 77.09 kB / 484.2 MB, free: 24.21 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003374/0.01002, allocations: 338.2 kB / 484.6 MB, free: 23.95 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.147e-05/0.01005, allocations: 76.42 kB / 484.6 MB, free: 23.88 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.349e-05/0.01009, allocations: 21.5 kB / 484.6 MB, free: 23.87 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.746e-05/0.01018, allocations: 105.4 kB / 484.8 MB, free: 23.8 MB / 426.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01018, allocations: 1.531 kB / 484.8 MB, free: 23.8 MB / 426.7 MB Notification: Performance of Templates: time 0.003871/0.01405, allocations: 2.331 MB / 487.1 MB, free: 23.6 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.414355881046504]