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) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] 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=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset") translateModel(IBPSA.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 113.9 kB / 17.33 MB, free: 5.008 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.001342/0.001342, allocations: 197.8 kB / 18.33 MB, free: 4.016 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.489/1.489, allocations: 225.6 MB / 244.8 MB, free: 13.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.9314/0.9314, allocations: 128.4 MB / 426.1 MB, free: 7.211 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001927/0.001927, allocations: 68.95 kB / 0.5912 GB, free: 21.54 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2202/0.2221, allocations: 83.26 MB / 0.6725 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.IntegratorWithReset): time 0.003645/0.2257, allocations: 1.824 MB / 0.6743 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001143/0.2269, allocations: 0.557 MB / 0.6748 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001047/0.227, allocations: 4 kB / 0.6748 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001603/0.2272, allocations: 27.72 kB / 0.6748 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.697e-05/0.2272, allocations: 19.75 kB / 0.6748 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002852/0.2275, allocations: 71.84 kB / 0.6749 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002742/0.2278, allocations: 175.4 kB / 0.6751 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001379/0.2279, allocations: 33.66 kB / 0.6751 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001049/0.228, allocations: 59.77 kB / 0.6752 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.805e-05/0.2281, allocations: 59.64 kB / 0.6752 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.668e-05/0.2282, allocations: 12 kB / 0.6752 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.202e-05/0.2282, allocations: 8 kB / 0.6752 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.001e-05/0.2282, allocations: 31.91 kB / 0.6753 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.333e-05/0.2283, allocations: 63.55 kB / 0.6753 GB, free: 1.059 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002241/0.2285, allocations: 143.2 kB / 0.6755 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.2285, allocations: 0 / 0.6755 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2285, allocations: 0 / 0.6755 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.2285, allocations: 4 kB / 0.6755 GB, free: 0.9141 MB / 0.4981 GB 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.0008013/0.2293, allocations: 474.6 kB / 0.6759 GB, free: 412 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.2294, allocations: 12.03 kB / 0.6759 GB, free: 400 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.536e-05/0.2294, allocations: 24.8 kB / 0.676 GB, free: 376 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003549/0.2298, allocations: 236 kB / 0.6762 GB, free: 100 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.057e-05/0.2298, allocations: 12.23 kB / 0.6762 GB, free: 88 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.96e-05/0.2299, allocations: 12.38 kB / 0.6762 GB, free: 76 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003513/0.2302, allocations: 152.2 kB / 0.6764 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.749e-06/0.2302, allocations: 0 / 0.6764 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.923e-05/0.2302, allocations: 4 kB / 0.6764 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.2302, allocations: 4 kB / 0.6764 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002503/0.2305, allocations: 76.91 kB / 0.6764 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001093/0.2316, allocations: 0.7315 MB / 0.6772 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001551/0.2317, allocations: 50.48 kB / 0.6772 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001085/0.2318, allocations: 36.83 kB / 0.6772 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.367e-05/0.2319, allocations: 0 / 0.6772 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002615/0.2321, allocations: 130.9 kB / 0.6774 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=11): time 1.092e-06/0.2321, allocations: 4 kB / 0.6774 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11): time 0.0005131/0.2326, allocations: 161.4 kB / 0.6775 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.487e-05/0.2327, allocations: 136.5 kB / 0.6776 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000225/0.233, allocations: 207 kB / 0.6778 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.335e-05/0.233, allocations: 29.7 kB / 0.6779 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/0.2331, allocations: 131.9 kB / 0.678 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.815e-05/0.2331, allocations: 35.69 kB / 0.678 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.543e-05/0.2332, allocations: 41.7 kB / 0.6781 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001722/0.2334, allocations: 330.8 kB / 0.6784 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000133/0.2335, allocations: 39.91 kB / 0.6784 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002174/0.2337, allocations: 151.4 kB / 0.6786 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003407/0.2341, allocations: 202.3 kB / 0.6788 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.2341, allocations: 4 kB / 0.6788 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003992/0.2345, allocations: 202 kB / 0.679 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.2345, allocations: 8 kB / 0.679 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/0.2345, allocations: 7.984 kB / 0.679 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.985e-05/0.2345, allocations: 4 kB / 0.679 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000133/0.2347, allocations: 43.91 kB / 0.679 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.178e-05/0.2347, allocations: 7.938 kB / 0.679 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001356/0.2348, allocations: 23.88 kB / 0.6791 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.726e-05/0.2348, allocations: 12 kB / 0.6791 GB, free: 12.85 MB / 0.5137 GB 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.0001616/0.235, allocations: 141.9 kB / 0.6792 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.045e-05/0.235, allocations: 19.84 kB / 0.6792 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.448e-05/0.2351, allocations: 17.41 kB / 0.6792 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.511e-06/0.2351, allocations: 4 kB / 0.6792 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.2351, allocations: 3.984 kB / 0.6792 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.2351, allocations: 0 / 0.6792 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008054/0.2359, allocations: 0.521 MB / 0.6798 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.2359, allocations: 0 / 0.6798 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001171/0.236, allocations: 23.92 kB / 0.6798 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.236, allocations: 0 / 0.6798 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.621e-05/0.236, allocations: 4 kB / 0.6798 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.236, allocations: 0 / 0.6798 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.236, allocations: 7.938 kB / 0.6798 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005302/0.2366, allocations: 356.2 kB / 0.6801 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.838e-05/0.2366, allocations: 92.97 kB / 0.6802 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.935e-05/0.2367, allocations: 8 kB / 0.6802 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001656/0.2368, allocations: 16.02 kB / 0.6802 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.784e-05/0.2369, allocations: 19.92 kB / 0.6803 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.088e-05/0.2369, allocations: 4 kB / 0.6803 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001338/0.237, allocations: 140.4 kB / 0.6804 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7.1e-08/0.237, allocations: 0 / 0.6804 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003245/0.2374, allocations: 28 kB / 0.6804 GB, free: 11.36 MB / 0.5137 GB 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.000149/0.2375, allocations: 107.2 kB / 0.6805 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003489/0.2379, allocations: 115.7 kB / 0.6806 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.2379, allocations: 3.938 kB / 0.6806 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001455/0.238, allocations: 49.03 kB / 0.6807 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005565/0.2386, allocations: 74.78 kB / 0.6808 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007172/0.2393, allocations: 348 kB / 0.6811 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000394/0.2397, allocations: 0.7242 MB / 0.6818 GB, free: 9.879 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 7.487e-05/0.2397, allocations: 21.86 kB / 0.6818 GB, free: 9.859 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.742e-05/0.2398, allocations: 15.44 kB / 0.6818 GB, free: 9.844 MB / 0.5137 GB Notification: Performance of SimCode: time 3.21e-07/0.2398, allocations: 0 / 0.6818 GB, free: 9.844 MB / 0.5137 GB Notification: Performance of Templates: time 0.005679/0.2455, allocations: 2.055 MB / 0.6838 GB, free: 7.809 MB / 0.5137 GB 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=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1) [Timeout 480]