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.0009609/0.0009609, allocations: 80.39 kB / 20.97 MB, free: 3.578 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.0009858/0.0009858, allocations: 165.4 kB / 24.28 MB, free: 280 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.9699/0.9699, allocations: 177.1 MB / 204.6 MB, free: 5.629 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.586/0.586, allocations: 110.2 MB / 371.3 MB, free: 12.55 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.142e-06/1.142e-06, allocations: 3.938 kB / 475.2 MB, free: 15.21 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.387e-05/1.501e-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.001782/0.001797, allocations: 1.842 MB / 477 MB, free: 13.99 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006182/0.002415, allocations: 0.5544 MB / 477.6 MB, free: 13.62 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.44e-05/0.00249, allocations: 7.312 kB / 477.6 MB, free: 13.62 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 8.758e-05/0.002577, allocations: 26.05 kB / 477.6 MB, free: 13.6 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 4.632e-05/0.002624, allocations: 35.23 kB / 477.7 MB, free: 13.57 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001268/0.002751, allocations: 69.98 kB / 477.7 MB, free: 13.54 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001271/0.002878, allocations: 168.2 kB / 477.9 MB, free: 13.45 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.662e-05/0.002964, allocations: 43.25 kB / 477.9 MB, free: 13.43 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.966e-05/0.003034, allocations: 72.95 kB / 478 MB, free: 13.41 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.103e-05/0.003075, allocations: 42.3 kB / 478 MB, free: 13.39 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.964e-05/0.003095, allocations: 8.062 kB / 478.1 MB, free: 13.39 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.134e-05/0.003106, allocations: 10.81 kB / 478.1 MB, free: 13.39 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.202e-05/0.003128, allocations: 34.5 kB / 478.1 MB, free: 13.37 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.31e-05/0.003161, allocations: 40.23 kB / 478.1 MB, free: 13.35 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 9.811e-05/0.003259, allocations: 101.4 kB / 478.2 MB, free: 13.29 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.513e-06/0.003261, allocations: 0 / 478.2 MB, free: 13.29 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.81e-07/0.003261, allocations: 0.625 kB / 478.2 MB, free: 13.29 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.003265, allocations: 2.875 kB / 478.2 MB, free: 13.29 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.0003791/0.003644, allocations: 0.5139 MB / 478.8 MB, free: 12.82 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.641e-05/0.003671, allocations: 7.812 kB / 478.8 MB, free: 12.82 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.038e-05/0.003711, allocations: 33.86 kB / 478.8 MB, free: 12.81 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001453/0.003856, allocations: 182.5 kB / 479 MB, free: 12.64 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.003867, allocations: 10.09 kB / 479 MB, free: 12.64 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.773e-05/0.003885, allocations: 13.09 kB / 479 MB, free: 12.64 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000136/0.004021, allocations: 152.6 kB / 479.1 MB, free: 12.51 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.373e-06/0.004028, allocations: 5.656 kB / 479.1 MB, free: 12.51 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.819e-06/0.004038, allocations: 7.031 kB / 479.2 MB, free: 12.5 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.004046, allocations: 6.281 kB / 479.2 MB, free: 12.5 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.421e-05/0.0041, allocations: 38.2 kB / 479.2 MB, free: 12.49 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005879/0.004688, allocations: 0.8869 MB / 480.1 MB, free: 27.65 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.876e-05/0.004737, allocations: 41.47 kB / 480.1 MB, free: 27.61 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.314e-05/0.00476, allocations: 16.06 kB / 480.1 MB, free: 27.6 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.271e-05/0.004772, allocations: 5.625 kB / 480.1 MB, free: 27.6 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.224e-05/0.004865, allocations: 123.4 kB / 480.3 MB, free: 27.48 MB / 426.7 MB Notification: Performance of pre-optimization done (n=11): time 1.162e-06/0.004866, allocations: 0 / 480.3 MB, free: 27.48 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001722/0.005038, allocations: 113.8 kB / 480.4 MB, free: 27.42 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.739e-05/0.005065, allocations: 135.1 kB / 480.5 MB, free: 27.26 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.005173, allocations: 244.8 kB / 480.7 MB, free: 27.07 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.117e-06/0.005183, allocations: 29.7 kB / 480.8 MB, free: 27.03 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.137e-05/0.005244, allocations: 181.2 kB / 481 MB, free: 26.86 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.795e-05/0.005262, allocations: 36.52 kB / 481 MB, free: 26.84 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.618e-05/0.005298, allocations: 50.59 kB / 481 MB, free: 26.8 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.005411, allocations: 0.4942 MB / 481.5 MB, free: 26.3 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.003e-05/0.005441, allocations: 18.73 kB / 481.6 MB, free: 26.3 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.575e-05/0.005496, allocations: 170.6 kB / 481.7 MB, free: 26.09 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.673e-05/0.005593, allocations: 209.3 kB / 481.9 MB, free: 25.86 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.005595, allocations: 0.9375 kB / 481.9 MB, free: 25.86 MB / 426.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001498/0.005745, allocations: 173.8 kB / 482.1 MB, free: 25.77 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/0.005755, allocations: 9.938 kB / 482.1 MB, free: 25.77 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.00576, allocations: 2.594 kB / 482.1 MB, free: 25.77 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.005772, allocations: 8.609 kB / 482.1 MB, free: 25.77 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.908e-05/0.005842, allocations: 31.25 kB / 482.1 MB, free: 25.76 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.005848, allocations: 6.094 kB / 482.2 MB, free: 25.76 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.889e-05/0.005907, allocations: 21.12 kB / 482.2 MB, free: 25.75 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/0.005916, allocations: 15.53 kB / 482.2 MB, free: 25.75 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 6.792e-05/0.005984, allocations: 174.5 kB / 482.4 MB, free: 25.57 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.822e-05/0.006003, allocations: 20.84 kB / 482.4 MB, free: 25.56 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.35e-05/0.006026, allocations: 23.7 kB / 482.4 MB, free: 25.55 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.006028, allocations: 2.5 kB / 482.4 MB, free: 25.55 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.006031, allocations: 6.016 kB / 482.4 MB, free: 25.55 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.006035, allocations: 2.625 kB / 482.4 MB, free: 25.55 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003289/0.006364, allocations: 0.5059 MB / 482.9 MB, free: 25.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.006365, allocations: 0 / 482.9 MB, free: 25.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.949e-05/0.006415, allocations: 14.06 kB / 482.9 MB, free: 25.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.006417, allocations: 2.844 kB / 482.9 MB, free: 25.1 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.006428, allocations: 11.09 kB / 482.9 MB, free: 25.09 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.006429, allocations: 0 / 482.9 MB, free: 25.09 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.006431, allocations: 6.125 kB / 482.9 MB, free: 25.09 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000186/0.006617, allocations: 400.9 kB / 483.3 MB, free: 24.73 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.258e-05/0.006629, allocations: 17.34 kB / 483.4 MB, free: 24.72 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.597e-05/0.006645, allocations: 6 kB / 483.4 MB, free: 24.72 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.256e-05/0.006718, allocations: 9.25 kB / 483.4 MB, free: 24.71 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.467e-05/0.006752, allocations: 12.58 kB / 483.4 MB, free: 24.71 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.633e-06/0.006759, allocations: 6.781 kB / 483.4 MB, free: 24.71 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.415e-05/0.006823, allocations: 163.9 kB / 483.6 MB, free: 24.59 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006823, allocations: 0.6875 kB / 483.6 MB, free: 24.59 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001988/0.007022, allocations: 25.38 kB / 483.6 MB, free: 24.58 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 6.371e-05/0.007086, allocations: 112.2 kB / 483.7 MB, free: 24.48 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001172/0.007203, allocations: 88.09 kB / 483.8 MB, free: 24.45 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.007205, allocations: 2.938 kB / 483.8 MB, free: 24.45 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.674e-05/0.007251, allocations: 36.69 kB / 483.8 MB, free: 24.43 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003176/0.007569, allocations: 77.84 kB / 483.9 MB, free: 24.41 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000378/0.007947, allocations: 339 kB / 484.2 MB, free: 24.14 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.418e-05/0.007991, allocations: 80.09 kB / 484.3 MB, free: 24.07 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.599e-05/0.008037, allocations: 17.03 kB / 484.3 MB, free: 24.06 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.416e-05/0.008071, allocations: 16.38 kB / 484.3 MB, free: 24.05 MB / 426.7 MB Notification: Performance of SimCode: time 1.052e-06/0.008072, allocations: 1.375 kB / 484.3 MB, free: 24.05 MB / 426.7 MB Notification: Performance of Templates: time 0.00388/0.01195, allocations: 2.144 MB / 486.5 MB, free: 23.88 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.603783514117822]