Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegratorWithReset") translateModel(BuildingSystems.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001008/0.001008, allocations: 116.4 kB / 16.42 MB, free: 6.496 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.001197/0.001197, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.224/1.224, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001977/0.001977, allocations: 293.7 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8922/0.8922, allocations: 169.3 MB / 0.499 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001697/0.001697, allocations: 99.84 kB / 0.6821 GB, free: 6.941 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3701/0.3718, allocations: 86.97 MB / 0.7671 GB, free: 3.879 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.IntegratorWithReset): time 0.002675/0.3745, allocations: 1.832 MB / 0.7689 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0008413/0.3753, allocations: 0.5416 MB / 0.7694 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.778e-05/0.3754, allocations: 4 kB / 0.7694 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001273/0.3756, allocations: 19.73 kB / 0.7694 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.979e-05/0.3756, allocations: 31.67 kB / 0.7694 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001887/0.3758, allocations: 63.91 kB / 0.7695 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002074/0.3761, allocations: 175.4 kB / 0.7697 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001302/0.3762, allocations: 57.3 kB / 0.7697 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.19e-05/0.3763, allocations: 55.77 kB / 0.7698 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.282e-05/0.3764, allocations: 55.7 kB / 0.7698 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.515e-05/0.3764, allocations: 15.94 kB / 0.7698 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 2.674e-05/0.3764, allocations: 15.94 kB / 0.7699 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.979e-05/0.3764, allocations: 23.92 kB / 0.7699 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.742e-05/0.3765, allocations: 67.61 kB / 0.7699 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001462/0.3767, allocations: 123.5 kB / 0.7701 GB, free: 0.793 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.3767, allocations: 4 kB / 0.7701 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.172e-06/0.3767, allocations: 3.938 kB / 0.7701 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.481e-05/0.3767, allocations: 0 / 0.7701 GB, free: 0.7852 MB / 0.5294 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.0006526/0.3774, allocations: 473.3 kB / 0.7705 GB, free: 284 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.3774, allocations: 12.02 kB / 0.7705 GB, free: 272 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.309e-05/0.3775, allocations: 24.75 kB / 0.7706 GB, free: 248 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002611/0.3777, allocations: 232 kB / 0.7708 GB, free: 15.97 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.3777, allocations: 8.375 kB / 0.7708 GB, free: 15.96 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.813e-05/0.3778, allocations: 12.38 kB / 0.7708 GB, free: 15.95 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002693/0.378, allocations: 151.6 kB / 0.7709 GB, free: 15.79 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.3781, allocations: 0 / 0.7709 GB, free: 15.79 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.3781, allocations: 4 kB / 0.7709 GB, free: 15.78 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.3781, allocations: 4 kB / 0.7709 GB, free: 15.78 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002192/0.3783, allocations: 71.88 kB / 0.771 GB, free: 15.71 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008163/0.3791, allocations: 0.7429 MB / 0.7717 GB, free: 14.9 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001346/0.3793, allocations: 54.44 kB / 0.7718 GB, free: 14.84 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001022/0.3794, allocations: 36.83 kB / 0.7718 GB, free: 14.8 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.796e-05/0.3794, allocations: 0 / 0.7718 GB, free: 14.8 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002122/0.3796, allocations: 126.7 kB / 0.772 GB, free: 14.65 MB / 0.545 GB Notification: Performance of pre-optimization done (n=11): time 1.212e-06/0.3797, allocations: 0 / 0.772 GB, free: 14.65 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.0004428/0.3801, allocations: 169.5 kB / 0.7721 GB, free: 14.48 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.626e-05/0.3802, allocations: 128.5 kB / 0.7722 GB, free: 14.32 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001628/0.3803, allocations: 203.6 kB / 0.7724 GB, free: 14.12 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/0.3804, allocations: 29.7 kB / 0.7725 GB, free: 14.08 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.003e-05/0.3804, allocations: 131.8 kB / 0.7726 GB, free: 13.95 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.018e-05/0.3805, allocations: 43.64 kB / 0.7726 GB, free: 13.91 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.514e-05/0.3805, allocations: 45.7 kB / 0.7727 GB, free: 13.86 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001004/0.3806, allocations: 322.8 kB / 0.773 GB, free: 13.53 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000132/0.3808, allocations: 43.91 kB / 0.773 GB, free: 13.49 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001664/0.381, allocations: 149.3 kB / 0.7732 GB, free: 13.29 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002983/0.3813, allocations: 210.3 kB / 0.7734 GB, free: 13.04 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.3813, allocations: 0 / 0.7734 GB, free: 13.04 MB / 0.545 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003627/0.3816, allocations: 205.1 kB / 0.7736 GB, free: 12.83 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.3817, allocations: 8 kB / 0.7736 GB, free: 12.82 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.3817, allocations: 4.5 kB / 0.7736 GB, free: 12.82 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.3817, allocations: 11.94 kB / 0.7736 GB, free: 12.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/0.3818, allocations: 27.98 kB / 0.7736 GB, free: 12.78 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.327e-05/0.3818, allocations: 11.94 kB / 0.7736 GB, free: 12.77 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001364/0.382, allocations: 31.81 kB / 0.7736 GB, free: 12.73 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.2e-05/0.382, allocations: 8 kB / 0.7737 GB, free: 12.73 MB / 0.545 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.0001025/0.3821, allocations: 138.8 kB / 0.7738 GB, free: 12.59 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.532e-05/0.3821, allocations: 15.81 kB / 0.7738 GB, free: 12.57 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.352e-05/0.3822, allocations: 29.39 kB / 0.7738 GB, free: 12.54 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.3822, allocations: 0 / 0.7738 GB, free: 12.54 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3822, allocations: 0 / 0.7738 GB, free: 12.54 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.724e-05/0.3823, allocations: 92.92 kB / 0.7739 GB, free: 12.43 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.45e-05/0.3823, allocations: 0 / 0.7739 GB, free: 12.43 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001124/0.3824, allocations: 23.91 kB / 0.7739 GB, free: 12.41 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.912e-05/0.3824, allocations: 7.984 kB / 0.774 GB, free: 12.4 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000563/0.383, allocations: 474.5 kB / 0.7744 GB, free: 11.93 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005471/0.3836, allocations: 0.5745 MB / 0.775 GB, free: 11.33 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001302/0.3837, allocations: 52.27 kB / 0.775 GB, free: 11.28 MB / 0.545 GB Notification: Performance of sorting global known variables: time 9.993e-05/0.3838, allocations: 136.6 kB / 0.7751 GB, free: 11.15 MB / 0.545 GB Notification: Performance of Backend: time 3.51e-07/0.3838, allocations: 4 kB / 0.7751 GB, free: 11.14 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006715/0.3845, allocations: 172.8 kB / 0.7753 GB, free: 10.97 MB / 0.545 GB Notification: Performance of SimCode: time 0.0008395/0.3854, allocations: 0.8121 MB / 0.7761 GB, free: 10.11 MB / 0.545 GB Notification: Performance of Templates: time 0.004782/0.3902, allocations: 2.298 MB / 0.7783 GB, free: 7.84 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegratorWithReset.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegratorWithReset.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1)