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.0006888/0.0006888, allocations: 72.19 kB / 9.907 MB, free: 0.7812 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008751/0.001564, allocations: 447.8 kB / 10.34 MB, free: 352 kB / 10.45 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.000669/0.000669, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008668/0.001536, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.069/1.069, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1048/1.173, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.645/0.645, allocations: 119.1 MB / 363.1 MB, free: 3.715 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06361/0.7086, allocations: 37.86 MB / 400.9 MB, free: 13.73 MB / 394.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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.873e-06/1.873e-06, allocations: 0 / 402.2 MB, free: 12.41 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.362e-05/2.549e-05, allocations: 6.312 kB / 402.2 MB, free: 12.41 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.IntegratorWithReset): time 0.00349/0.003516, allocations: 1.872 MB / 404.1 MB, free: 10.52 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001155/0.004671, allocations: 0.5764 MB / 404.7 MB, free: 9.934 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001109/0.004782, allocations: 3.938 kB / 404.7 MB, free: 9.93 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001113/0.004893, allocations: 27.67 kB / 404.7 MB, free: 9.902 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 8.763e-05/0.004981, allocations: 31.72 kB / 404.8 MB, free: 9.871 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002035/0.005184, allocations: 71.8 kB / 404.8 MB, free: 9.801 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002573/0.005442, allocations: 167.4 kB / 405 MB, free: 9.637 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001433/0.005585, allocations: 50.41 kB / 405 MB, free: 9.59 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001848/0.00577, allocations: 91.75 kB / 405.1 MB, free: 9.5 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.112e-05/0.005851, allocations: 39.83 kB / 405.2 MB, free: 9.461 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 3.361e-05/0.005884, allocations: 8 kB / 405.2 MB, free: 9.453 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.047e-05/0.005905, allocations: 12 kB / 405.2 MB, free: 9.441 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 3.477e-05/0.00594, allocations: 27.88 kB / 405.2 MB, free: 9.414 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 5.303e-05/0.005993, allocations: 27.94 kB / 405.2 MB, free: 9.387 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001821/0.006175, allocations: 95.47 kB / 405.3 MB, free: 9.293 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.043e-05/0.006195, allocations: 0 / 405.3 MB, free: 9.293 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.006197, allocations: 0 / 405.3 MB, free: 9.293 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.584e-05/0.006222, allocations: 4 kB / 405.3 MB, free: 9.289 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.0006841/0.006906, allocations: 391.8 kB / 405.7 MB, free: 8.883 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.006945, allocations: 8.031 kB / 405.7 MB, free: 8.875 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.609e-05/0.007001, allocations: 24.92 kB / 405.8 MB, free: 8.852 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002576/0.007258, allocations: 173.4 kB / 405.9 MB, free: 8.656 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.933e-05/0.007278, allocations: 12.38 kB / 405.9 MB, free: 8.645 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.158e-05/0.007309, allocations: 12.38 kB / 406 MB, free: 8.633 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002298/0.007539, allocations: 146.9 kB / 406.1 MB, free: 8.465 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.007551, allocations: 4.172 kB / 406.1 MB, free: 8.461 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.007564, allocations: 4.375 kB / 406.1 MB, free: 8.457 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.257e-06/0.007573, allocations: 7.938 kB / 406.1 MB, free: 8.449 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.721e-05/0.00765, allocations: 35.88 kB / 406.1 MB, free: 8.414 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007206/0.008371, allocations: 0.5709 MB / 406.7 MB, free: 7.812 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.508e-05/0.008446, allocations: 30.5 kB / 406.7 MB, free: 7.773 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.56e-05/0.008472, allocations: 8.859 kB / 406.8 MB, free: 7.762 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.501e-05/0.008497, allocations: 4 kB / 406.8 MB, free: 7.758 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000161/0.008658, allocations: 107 kB / 406.9 MB, free: 7.629 MB / 394.7 MB Notification: Performance of pre-optimization done (n=11): time 1.603e-06/0.008659, allocations: 0 / 406.9 MB, free: 7.629 MB / 394.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002094/0.008868, allocations: 89.53 kB / 407 MB, free: 7.535 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.597e-05/0.008944, allocations: 132.5 kB / 407.1 MB, free: 7.375 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001437/0.009088, allocations: 186.4 kB / 407.3 MB, free: 7.18 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.136e-05/0.00911, allocations: 33.7 kB / 407.3 MB, free: 7.141 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.485e-05/0.009174, allocations: 123.8 kB / 407.4 MB, free: 7.016 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.104e-05/0.009205, allocations: 39.72 kB / 407.5 MB, free: 6.977 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.663e-05/0.009262, allocations: 45.64 kB / 407.5 MB, free: 6.926 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.595e-05/0.009358, allocations: 330.8 kB / 407.8 MB, free: 6.594 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.112e-05/0.009389, allocations: 11.98 kB / 407.8 MB, free: 6.582 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.15e-05/0.009481, allocations: 126.7 kB / 408 MB, free: 6.406 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001526/0.009633, allocations: 154.3 kB / 408.1 MB, free: 6.203 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/0.009638, allocations: 4 kB / 408.1 MB, free: 6.199 MB / 394.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000212/0.00985, allocations: 141.5 kB / 408.2 MB, free: 6.055 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.359e-05/0.009874, allocations: 7.938 kB / 408.3 MB, free: 6.047 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.009883, allocations: 4 kB / 408.3 MB, free: 6.043 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.009897, allocations: 8 kB / 408.3 MB, free: 6.035 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001211/0.01002, allocations: 31.92 kB / 408.3 MB, free: 6.004 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.01003, allocations: 11.98 kB / 408.3 MB, free: 5.992 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001019/0.01013, allocations: 19.89 kB / 408.3 MB, free: 5.973 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.313e-05/0.01014, allocations: 8 kB / 408.3 MB, free: 5.965 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 9.44e-05/0.01024, allocations: 134 kB / 408.5 MB, free: 5.824 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.803e-05/0.01027, allocations: 11.98 kB / 408.5 MB, free: 5.812 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.062e-05/0.01031, allocations: 25.39 kB / 408.5 MB, free: 5.789 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.01031, allocations: 7.938 kB / 408.5 MB, free: 5.781 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.01031, allocations: 0 / 408.5 MB, free: 5.781 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.01032, allocations: 0 / 408.5 MB, free: 5.781 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000468/0.01079, allocations: 338 kB / 408.8 MB, free: 5.426 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.01079, allocations: 0 / 408.8 MB, free: 5.426 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001037/0.01089, allocations: 20.23 kB / 408.9 MB, free: 5.406 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.676e-05/0.01092, allocations: 19.84 kB / 408.9 MB, free: 5.387 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.55e-06/0.01092, allocations: 8 kB / 408.9 MB, free: 5.379 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.774e-05/0.01094, allocations: 8 kB / 408.9 MB, free: 5.371 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.01095, allocations: 0 / 408.9 MB, free: 5.371 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.01095, allocations: 7.938 kB / 408.9 MB, free: 5.363 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002412/0.01119, allocations: 268.7 kB / 409.2 MB, free: 5.078 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.61e-05/0.01122, allocations: 8 kB / 409.2 MB, free: 5.07 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001287/0.01134, allocations: 7.984 kB / 409.2 MB, free: 5.062 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.664e-05/0.01139, allocations: 19.95 kB / 409.2 MB, free: 5.043 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.303e-06/0.0114, allocations: 4 kB / 409.2 MB, free: 5.039 MB / 394.7 MB Notification: Performance of sorting global known variables: time 5.706e-05/0.01146, allocations: 57.83 kB / 409.3 MB, free: 4.98 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.01146, allocations: 4 kB / 409.3 MB, free: 4.977 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003391/0.01179, allocations: 31.94 kB / 409.3 MB, free: 4.945 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.0001212/0.01192, allocations: 76.42 kB / 409.4 MB, free: 4.859 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001472/0.01206, allocations: 73.89 kB / 409.4 MB, free: 4.785 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.744e-06/0.01207, allocations: 0 / 409.4 MB, free: 4.785 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.05e-05/0.01213, allocations: 40.91 kB / 409.5 MB, free: 4.742 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004859/0.01262, allocations: 79.78 kB / 409.6 MB, free: 4.664 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007637/0.01338, allocations: 331.3 kB / 409.9 MB, free: 4.301 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.678e-05/0.01343, allocations: 71.98 kB / 410 MB, free: 4.211 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.93e-05/0.0135, allocations: 17.61 kB / 410 MB, free: 4.195 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.401e-05/0.01359, allocations: 91.23 kB / 410.1 MB, free: 4.105 MB / 394.7 MB Notification: Performance of SimCode: time 1.372e-06/0.01359, allocations: 0 / 410.1 MB, free: 4.105 MB / 394.7 MB Notification: Performance of Templates: time 0.003868/0.01746, allocations: 2.259 MB / 412.3 MB, free: 1.844 MB / 394.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.2939769607037306]