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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset") translateModel(IBPSA.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001745/0.001745, allocations: 102.5 kB / 16.27 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00185/0.00185, allocations: 190.5 kB / 17.2 MB, free: 5.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.484/1.484, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8332/0.8332, allocations: 125.4 MB / 416.4 MB, free: 13.62 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001822/0.001822, allocations: 71.88 kB / 0.4941 GB, free: 4.449 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4039/0.4057, allocations: 78.56 MB / 0.5709 GB, free: 31.37 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.IntegratorWithReset): time 0.003433/0.4092, allocations: 1.811 MB / 0.5726 GB, free: 30.11 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001015/0.4103, allocations: 0.5381 MB / 0.5731 GB, free: 29.73 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001086/0.4104, allocations: 6.562 kB / 0.5732 GB, free: 29.72 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000144/0.4105, allocations: 27.55 kB / 0.5732 GB, free: 29.7 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.796e-05/0.4106, allocations: 22.11 kB / 0.5732 GB, free: 29.69 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002567/0.4109, allocations: 68.92 kB / 0.5733 GB, free: 29.65 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002456/0.4111, allocations: 169.1 kB / 0.5734 GB, free: 29.57 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001833/0.4113, allocations: 53.66 kB / 0.5735 GB, free: 29.55 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.587e-05/0.4114, allocations: 53.56 kB / 0.5735 GB, free: 29.52 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.235e-05/0.4115, allocations: 58.23 kB / 0.5736 GB, free: 29.49 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.17e-05/0.4116, allocations: 9.719 kB / 0.5736 GB, free: 29.49 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.527e-05/0.4116, allocations: 15.28 kB / 0.5736 GB, free: 29.49 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.698e-05/0.4116, allocations: 26 kB / 0.5736 GB, free: 29.47 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.225e-05/0.4117, allocations: 64.22 kB / 0.5737 GB, free: 29.43 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001991/0.4119, allocations: 132.1 kB / 0.5738 GB, free: 29.37 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.4119, allocations: 0.6562 kB / 0.5738 GB, free: 29.37 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.444e-06/0.4119, allocations: 2.406 kB / 0.5738 GB, free: 29.37 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.625e-06/0.4119, allocations: 0 / 0.5738 GB, free: 29.37 MB / 446.1 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.0007157/0.4127, allocations: 473.7 kB / 0.5743 GB, free: 28.94 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.4127, allocations: 12.69 kB / 0.5743 GB, free: 28.94 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.32e-05/0.4128, allocations: 17.25 kB / 0.5743 GB, free: 28.93 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002675/0.4131, allocations: 231.7 kB / 0.5745 GB, free: 28.7 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.772e-05/0.4131, allocations: 10.03 kB / 0.5745 GB, free: 28.7 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.72e-05/0.4131, allocations: 13.84 kB / 0.5745 GB, free: 28.7 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002957/0.4134, allocations: 158 kB / 0.5747 GB, free: 28.59 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.4135, allocations: 1.094 kB / 0.5747 GB, free: 28.59 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.611e-05/0.4135, allocations: 2.609 kB / 0.5747 GB, free: 28.59 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-06/0.4135, allocations: 3.062 kB / 0.5747 GB, free: 28.59 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002452/0.4137, allocations: 74.7 kB / 0.5748 GB, free: 28.57 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008663/0.4146, allocations: 0.7341 MB / 0.5755 GB, free: 27.9 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001704/0.4148, allocations: 52.86 kB / 0.5755 GB, free: 27.87 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001149/0.4149, allocations: 32.84 kB / 0.5756 GB, free: 27.86 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.687e-05/0.415, allocations: 1.125 kB / 0.5756 GB, free: 27.86 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003068/0.4153, allocations: 132.5 kB / 0.5757 GB, free: 27.75 MB / 446.1 MB Notification: Performance of pre-optimization done (n=11): time 1.533e-06/0.4153, allocations: 0 / 0.5757 GB, free: 27.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005159/0.4158, allocations: 172.3 kB / 0.5759 GB, free: 27.68 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.816e-05/0.4159, allocations: 135.3 kB / 0.576 GB, free: 27.52 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001897/0.4161, allocations: 200.7 kB / 0.5762 GB, free: 27.39 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/0.4161, allocations: 31.77 kB / 0.5762 GB, free: 27.35 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.124e-05/0.4162, allocations: 130.7 kB / 0.5763 GB, free: 27.23 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.307e-05/0.4162, allocations: 31.36 kB / 0.5764 GB, free: 27.21 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.226e-05/0.4163, allocations: 43.97 kB / 0.5764 GB, free: 27.18 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.024e-05/0.4164, allocations: 330 kB / 0.5767 GB, free: 26.86 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001301/0.4165, allocations: 40.59 kB / 0.5768 GB, free: 26.85 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001702/0.4167, allocations: 147.1 kB / 0.5769 GB, free: 26.7 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002824/0.417, allocations: 207.4 kB / 0.5771 GB, free: 26.52 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.417, allocations: 0.7031 kB / 0.5771 GB, free: 26.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004209/0.4174, allocations: 205.4 kB / 0.5773 GB, free: 26.43 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/0.4174, allocations: 5.844 kB / 0.5773 GB, free: 26.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.398e-05/0.4175, allocations: 7.484 kB / 0.5773 GB, free: 26.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.929e-05/0.4175, allocations: 4.844 kB / 0.5773 GB, free: 26.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001468/0.4176, allocations: 33.52 kB / 0.5774 GB, free: 26.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.866e-05/0.4177, allocations: 9.234 kB / 0.5774 GB, free: 26.42 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001554/0.4178, allocations: 30.09 kB / 0.5774 GB, free: 26.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.775e-05/0.4179, allocations: 8.25 kB / 0.5774 GB, free: 26.41 MB / 446.1 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 0.0001144/0.418, allocations: 141.9 kB / 0.5775 GB, free: 26.27 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.554e-05/0.418, allocations: 18.33 kB / 0.5775 GB, free: 26.27 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.304e-05/0.4181, allocations: 20.55 kB / 0.5776 GB, free: 26.25 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.4181, allocations: 4.359 kB / 0.5776 GB, free: 26.25 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/0.4181, allocations: 0 / 0.5776 GB, free: 26.25 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.4181, allocations: 3 kB / 0.5776 GB, free: 26.25 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007946/0.4189, allocations: 0.5127 MB / 0.5781 GB, free: 25.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.4189, allocations: 1.938 kB / 0.5781 GB, free: 25.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001237/0.4191, allocations: 20.2 kB / 0.5781 GB, free: 25.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.4191, allocations: 5.406 kB / 0.5781 GB, free: 25.82 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/0.4191, allocations: 4.547 kB / 0.5781 GB, free: 25.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.4191, allocations: 5.25 kB / 0.5781 GB, free: 25.81 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.4191, allocations: 7.422 kB / 0.5781 GB, free: 25.81 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004863/0.4196, allocations: 359.9 kB / 0.5785 GB, free: 25.54 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.316e-05/0.4197, allocations: 95.17 kB / 0.5786 GB, free: 25.43 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.012e-05/0.4197, allocations: 3.594 kB / 0.5786 GB, free: 25.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001645/0.4199, allocations: 17.8 kB / 0.5786 GB, free: 25.43 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.029e-05/0.4199, allocations: 13.23 kB / 0.5786 GB, free: 25.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.198e-05/0.42, allocations: 9.391 kB / 0.5786 GB, free: 25.42 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001096/0.4201, allocations: 142.4 kB / 0.5787 GB, free: 25.33 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4201, allocations: 0 / 0.5787 GB, free: 25.33 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003305/0.4204, allocations: 31.03 kB / 0.5788 GB, free: 25.32 MB / 446.1 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.0001441/0.4206, allocations: 104.5 kB / 0.5789 GB, free: 25.23 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003529/0.4209, allocations: 125.1 kB / 0.579 GB, free: 25.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.4209, allocations: 5.281 kB / 0.579 GB, free: 25.19 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001524/0.4211, allocations: 48.17 kB / 0.579 GB, free: 25.18 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005886/0.4217, allocations: 67.69 kB / 0.5791 GB, free: 25.16 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000612/0.4223, allocations: 348.4 kB / 0.5794 GB, free: 24.91 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001822/0.4225, allocations: 0.7218 MB / 0.5801 GB, free: 24.22 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.084e-05/0.4226, allocations: 17.44 kB / 0.5801 GB, free: 24.22 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.521e-05/0.4226, allocations: 19.19 kB / 0.5802 GB, free: 24.21 MB / 446.1 MB Notification: Performance of SimCode: time 5.61e-07/0.4227, allocations: 0.6875 kB / 0.5802 GB, free: 24.21 MB / 446.1 MB Notification: Performance of Templates: time 0.006817/0.4295, allocations: 2.021 MB / 0.5821 GB, free: 23.5 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.makefile (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=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1)