Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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.001032/0.001032, allocations: 77.09 kB / 20.65 MB, free: 3.844 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.00114/0.00114, allocations: 169 kB / 24.05 MB, free: 456 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 1.036/1.036, allocations: 177.1 MB / 204.5 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.6572/0.6572, allocations: 115 MB / 376 MB, free: 7.512 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset") translateModel(IBPSA.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.744e-06/1.744e-06, allocations: 0 / 482 MB, free: 11.81 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.356e-05/2.531e-05, allocations: 3.578 kB / 482 MB, free: 11.81 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.IntegratorWithReset): time 0.002901/0.002927, allocations: 1.829 MB / 483.8 MB, free: 10.6 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001215/0.004141, allocations: 0.5643 MB / 484.4 MB, free: 10.22 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001296/0.004271, allocations: 6.875 kB / 484.4 MB, free: 10.22 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001483/0.004419, allocations: 25.89 kB / 484.4 MB, free: 10.2 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 8.95e-05/0.004509, allocations: 31.19 kB / 484.4 MB, free: 10.18 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002404/0.004749, allocations: 63.19 kB / 484.5 MB, free: 10.14 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000238/0.004987, allocations: 177.6 kB / 484.7 MB, free: 10.06 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001439/0.005131, allocations: 34.03 kB / 484.7 MB, free: 10.04 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000141/0.005272, allocations: 77.33 kB / 484.8 MB, free: 10.01 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.512e-05/0.005357, allocations: 42.84 kB / 484.8 MB, free: 9.996 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.288e-05/0.00539, allocations: 10.19 kB / 484.8 MB, free: 9.996 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.129e-05/0.005411, allocations: 11.28 kB / 484.8 MB, free: 9.996 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.112e-05/0.005442, allocations: 28.34 kB / 484.9 MB, free: 9.977 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.124e-05/0.005494, allocations: 42 kB / 484.9 MB, free: 9.957 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00017/0.005664, allocations: 102.2 kB / 485 MB, free: 9.902 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.005667, allocations: 0 / 485 MB, free: 9.902 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.005668, allocations: 0.7812 kB / 485 MB, free: 9.902 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.005673, allocations: 0 / 485 MB, free: 9.902 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.000547/0.00622, allocations: 0.5254 MB / 485.5 MB, free: 9.422 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.006263, allocations: 9.812 kB / 485.5 MB, free: 9.422 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.276e-05/0.006326, allocations: 23.56 kB / 485.6 MB, free: 9.414 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002001/0.006526, allocations: 183.2 kB / 485.7 MB, free: 9.25 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.00654, allocations: 9.406 kB / 485.8 MB, free: 9.246 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.687e-05/0.006567, allocations: 14.53 kB / 485.8 MB, free: 9.242 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002079/0.006775, allocations: 150.2 kB / 485.9 MB, free: 9.117 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.006786, allocations: 1.375 kB / 485.9 MB, free: 9.117 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.006798, allocations: 6.312 kB / 485.9 MB, free: 9.113 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.006807, allocations: 6.531 kB / 485.9 MB, free: 9.109 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.258e-05/0.00687, allocations: 33.67 kB / 486 MB, free: 9.102 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009314/0.007801, allocations: 0.8546 MB / 486.8 MB, free: 24.3 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.161e-05/0.007863, allocations: 35.78 kB / 486.9 MB, free: 24.26 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.439e-05/0.007887, allocations: 15.53 kB / 486.9 MB, free: 24.25 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.328e-05/0.007911, allocations: 4 kB / 486.9 MB, free: 24.25 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001282/0.008039, allocations: 128.3 kB / 487 MB, free: 24.12 MB / 426.7 MB Notification: Performance of pre-optimization done (n=11): time 1.513e-06/0.00804, allocations: 0 / 487 MB, free: 24.12 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002704/0.008311, allocations: 120.2 kB / 487.1 MB, free: 24.06 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.575e-05/0.008347, allocations: 134.2 kB / 487.2 MB, free: 23.9 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001269/0.008473, allocations: 247.6 kB / 487.5 MB, free: 23.7 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.279e-05/0.008486, allocations: 27.64 kB / 487.5 MB, free: 23.67 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.361e-05/0.00856, allocations: 187.4 kB / 487.7 MB, free: 23.5 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.173e-05/0.008582, allocations: 37.08 kB / 487.7 MB, free: 23.47 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.129e-05/0.008633, allocations: 49 kB / 487.8 MB, free: 23.43 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.008754, allocations: 0.4985 MB / 488.3 MB, free: 22.93 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.351e-05/0.008778, allocations: 13.61 kB / 488.3 MB, free: 22.93 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.191e-05/0.00884, allocations: 160.9 kB / 488.4 MB, free: 22.72 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001038/0.008944, allocations: 208.3 kB / 488.7 MB, free: 22.49 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.008946, allocations: 2.938 kB / 488.7 MB, free: 22.49 MB / 426.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001576/0.009104, allocations: 156 kB / 488.8 MB, free: 22.41 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.00912, allocations: 16.61 kB / 488.8 MB, free: 22.41 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.009126, allocations: 3.469 kB / 488.8 MB, free: 22.41 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.009141, allocations: 5.5 kB / 488.8 MB, free: 22.41 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001042/0.009245, allocations: 34.2 kB / 488.9 MB, free: 22.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.009251, allocations: 5.219 kB / 488.9 MB, free: 22.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.981e-05/0.00932, allocations: 17.42 kB / 488.9 MB, free: 22.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.957e-06/0.009329, allocations: 10.53 kB / 488.9 MB, free: 22.39 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 8.05e-05/0.00941, allocations: 178.8 kB / 489.1 MB, free: 22.22 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.549e-05/0.009435, allocations: 30.22 kB / 489.1 MB, free: 22.2 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.417e-05/0.009469, allocations: 18.34 kB / 489.1 MB, free: 22.19 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.009472, allocations: 3.125 kB / 489.1 MB, free: 22.19 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.009476, allocations: 1.688 kB / 489.1 MB, free: 22.19 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.00948, allocations: 6.328 kB / 489.1 MB, free: 22.19 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003666/0.009847, allocations: 480.5 kB / 489.6 MB, free: 21.77 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.00985, allocations: 5.062 kB / 489.6 MB, free: 21.77 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.081e-05/0.009901, allocations: 17.84 kB / 489.6 MB, free: 21.77 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.009904, allocations: 6.031 kB / 489.6 MB, free: 21.76 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.009916, allocations: 2.469 kB / 489.6 MB, free: 21.76 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.00992, allocations: 6.156 kB / 489.6 MB, free: 21.76 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.009922, allocations: 1.938 kB / 489.6 MB, free: 21.76 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000327/0.01025, allocations: 389.3 kB / 490 MB, free: 21.41 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.449e-05/0.0103, allocations: 22.38 kB / 490 MB, free: 21.39 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.915e-05/0.01032, allocations: 2.156 kB / 490 MB, free: 21.39 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001718/0.01049, allocations: 12.19 kB / 490.1 MB, free: 21.39 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.655e-05/0.01053, allocations: 17.14 kB / 490.1 MB, free: 21.39 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-06/0.01054, allocations: 7.469 kB / 490.1 MB, free: 21.38 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.576e-05/0.01062, allocations: 158 kB / 490.2 MB, free: 21.26 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01062, allocations: 1.094 kB / 490.2 MB, free: 21.26 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002388/0.01085, allocations: 31.7 kB / 490.3 MB, free: 21.25 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.507e-05/0.01095, allocations: 101 kB / 490.4 MB, free: 21.16 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000143/0.01109, allocations: 82.56 kB / 490.4 MB, free: 21.12 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.01109, allocations: 1.25 kB / 490.4 MB, free: 21.12 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.331e-05/0.01114, allocations: 35.47 kB / 490.5 MB, free: 21.11 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003367/0.01147, allocations: 76.23 kB / 490.6 MB, free: 21.09 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004029/0.01188, allocations: 340 kB / 490.9 MB, free: 20.82 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.544e-05/0.01192, allocations: 76.8 kB / 491 MB, free: 20.74 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.05e-05/0.01198, allocations: 22.61 kB / 491 MB, free: 20.74 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.354e-05/0.01208, allocations: 104.9 kB / 491.1 MB, free: 20.67 MB / 426.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01208, allocations: 0 / 491.1 MB, free: 20.67 MB / 426.7 MB Notification: Performance of Templates: time 0.003871/0.01595, allocations: 2.299 MB / 493.4 MB, free: 20.48 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5352056669071317]