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.001217/0.001217, allocations: 79.73 kB / 20.75 MB, free: 3.738 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.001009/0.001009, allocations: 165 kB / 24.17 MB, free: 332 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.9446/0.9446, allocations: 177.1 MB / 204.6 MB, free: 5.492 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.6305/0.6305, allocations: 110.2 MB / 371.3 MB, free: 12.3 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.472e-06/1.472e-06, allocations: 0 / 422.4 MB, free: 9.344 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.127e-05/2.274e-05, allocations: 10.25 kB / 422.4 MB, free: 9.332 MB / 394.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset): time 0.002348/0.002371, allocations: 1.832 MB / 424.2 MB, free: 7.48 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001008/0.003379, allocations: 0.5803 MB / 424.8 MB, free: 6.895 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001038/0.003482, allocations: 7.938 kB / 424.8 MB, free: 6.887 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001392/0.003622, allocations: 19.73 kB / 424.8 MB, free: 6.867 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 7.08e-05/0.003692, allocations: 31.72 kB / 424.9 MB, free: 6.836 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002456/0.003938, allocations: 67.8 kB / 424.9 MB, free: 6.77 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001976/0.004136, allocations: 175.4 kB / 425.1 MB, free: 6.598 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001227/0.004258, allocations: 42.42 kB / 425.1 MB, free: 6.559 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001092/0.004368, allocations: 79.78 kB / 425.2 MB, free: 6.48 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.807e-05/0.004426, allocations: 35.84 kB / 425.3 MB, free: 6.445 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.547e-05/0.004451, allocations: 12 kB / 425.3 MB, free: 6.434 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.51e-05/0.004466, allocations: 12 kB / 425.3 MB, free: 6.422 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 3.174e-05/0.004498, allocations: 35.83 kB / 425.3 MB, free: 6.387 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.858e-05/0.004537, allocations: 35.91 kB / 425.4 MB, free: 6.352 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001403/0.004677, allocations: 103.5 kB / 425.5 MB, free: 6.25 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.004679, allocations: 0 / 425.5 MB, free: 6.25 MB / 394.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.00468, allocations: 0 / 425.5 MB, free: 6.25 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.004685, allocations: 0 / 425.5 MB, free: 6.25 MB / 394.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.0004301/0.005116, allocations: 376 kB / 425.8 MB, free: 5.859 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.005149, allocations: 8.031 kB / 425.8 MB, free: 5.852 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.94e-05/0.005189, allocations: 24.91 kB / 425.9 MB, free: 5.828 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001793/0.005368, allocations: 165.4 kB / 426 MB, free: 5.641 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.00538, allocations: 8.375 kB / 426 MB, free: 5.633 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.004e-05/0.00541, allocations: 16.36 kB / 426 MB, free: 5.617 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001613/0.005571, allocations: 135.2 kB / 426.2 MB, free: 5.461 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.156e-06/0.00558, allocations: 4.188 kB / 426.2 MB, free: 5.457 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.00559, allocations: 8.312 kB / 426.2 MB, free: 5.449 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.005598, allocations: 7.938 kB / 426.2 MB, free: 5.441 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.011e-05/0.005638, allocations: 23.92 kB / 426.2 MB, free: 5.418 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005184/0.006156, allocations: 0.567 MB / 426.8 MB, free: 4.82 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.756e-05/0.006224, allocations: 26.56 kB / 426.8 MB, free: 4.785 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.816e-05/0.006242, allocations: 16.86 kB / 426.8 MB, free: 4.766 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.584e-05/0.006258, allocations: 0 / 426.8 MB, free: 4.766 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001112/0.006369, allocations: 102.9 kB / 426.9 MB, free: 4.641 MB / 394.7 MB Notification: Performance of pre-optimization done (n=11): time 8.12e-07/0.00637, allocations: 0 / 426.9 MB, free: 4.641 MB / 394.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001593/0.006529, allocations: 89.67 kB / 427 MB, free: 4.547 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.176e-05/0.006591, allocations: 132.5 kB / 427.1 MB, free: 4.387 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/0.006704, allocations: 194.3 kB / 427.3 MB, free: 4.184 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.668e-05/0.00672, allocations: 29.7 kB / 427.4 MB, free: 4.148 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.126e-05/0.006782, allocations: 116.1 kB / 427.5 MB, free: 4.031 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.601e-05/0.006808, allocations: 51.61 kB / 427.5 MB, free: 3.98 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-05/0.00685, allocations: 37.69 kB / 427.6 MB, free: 3.938 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.223e-05/0.006932, allocations: 334.8 kB / 427.9 MB, free: 3.602 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.061e-05/0.006953, allocations: 15.98 kB / 427.9 MB, free: 3.586 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.924e-05/0.007022, allocations: 118.3 kB / 428 MB, free: 3.422 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001139/0.007136, allocations: 162.4 kB / 428.2 MB, free: 3.211 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.007139, allocations: 0 / 428.2 MB, free: 3.211 MB / 394.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001344/0.007273, allocations: 141.5 kB / 428.3 MB, free: 3.066 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.007287, allocations: 11.94 kB / 428.3 MB, free: 3.055 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.007293, allocations: 4 kB / 428.3 MB, free: 3.051 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.007306, allocations: 8 kB / 428.3 MB, free: 3.043 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.715e-05/0.007383, allocations: 36.41 kB / 428.4 MB, free: 3.008 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.007388, allocations: 8 kB / 428.4 MB, free: 3 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.288e-05/0.007451, allocations: 23.89 kB / 428.4 MB, free: 2.977 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.175e-06/0.007459, allocations: 8 kB / 428.4 MB, free: 2.969 MB / 394.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.64e-05/0.007535, allocations: 133.6 kB / 428.5 MB, free: 2.828 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.871e-05/0.007554, allocations: 15.98 kB / 428.6 MB, free: 2.812 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.981e-05/0.007584, allocations: 21.41 kB / 428.6 MB, free: 2.793 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.007586, allocations: 0 / 428.6 MB, free: 2.793 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.007591, allocations: 4 kB / 428.6 MB, free: 2.789 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.007595, allocations: 0 / 428.6 MB, free: 2.789 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003189/0.007914, allocations: 345.9 kB / 428.9 MB, free: 2.426 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.007918, allocations: 4 kB / 428.9 MB, free: 2.422 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.417e-05/0.007972, allocations: 19.86 kB / 428.9 MB, free: 2.402 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.007976, allocations: 4 kB / 429 MB, free: 2.398 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.007986, allocations: 4 kB / 429 MB, free: 2.395 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.007988, allocations: 0 / 429 MB, free: 2.395 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.00799, allocations: 4 kB / 429 MB, free: 2.391 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001751/0.008165, allocations: 276.4 kB / 429.2 MB, free: 2.098 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.663e-05/0.008182, allocations: 19.84 kB / 429.2 MB, free: 2.078 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.556e-05/0.008198, allocations: 4 kB / 429.3 MB, free: 2.074 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.883e-05/0.008266, allocations: 15.98 kB / 429.3 MB, free: 2.059 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.682e-05/0.008303, allocations: 11.98 kB / 429.3 MB, free: 2.047 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-06/0.00831, allocations: 3.984 kB / 429.3 MB, free: 2.043 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.858e-05/0.008348, allocations: 57.84 kB / 429.3 MB, free: 1.984 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008348, allocations: 0 / 429.3 MB, free: 1.984 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000199/0.008547, allocations: 27.94 kB / 429.4 MB, free: 1.957 MB / 394.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.0001025/0.00865, allocations: 84.36 kB / 429.4 MB, free: 1.867 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001119/0.008762, allocations: 76.7 kB / 429.5 MB, free: 1.789 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/0.008767, allocations: 4 kB / 429.5 MB, free: 1.785 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.293e-05/0.00881, allocations: 28.78 kB / 429.6 MB, free: 1.754 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000298/0.009108, allocations: 83.97 kB / 429.6 MB, free: 1.676 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003929/0.0095, allocations: 332.5 kB / 430 MB, free: 1.312 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.752e-05/0.009548, allocations: 79.84 kB / 430 MB, free: 1.211 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.625e-05/0.009604, allocations: 13.48 kB / 430.1 MB, free: 1.199 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.861e-05/0.009693, allocations: 83.36 kB / 430.1 MB, free: 1.117 MB / 394.7 MB Notification: Performance of SimCode: time 6.91e-07/0.009694, allocations: 0 / 430.1 MB, free: 1.117 MB / 394.7 MB Notification: Performance of Templates: time 0.004003/0.0137, allocations: 2.216 MB / 432.4 MB, free: 14.91 MB / 410.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.409933516290039]