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.001185/0.001185, allocations: 115.8 kB / 16.42 MB, free: 6.488 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.001163/0.001163, allocations: 185.7 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.233/1.233, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002029/0.002029, allocations: 295.4 kB / 291.5 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8979/0.8979, allocations: 169.2 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001692/0.001692, allocations: 95.86 kB / 0.6821 GB, free: 6.938 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3602/0.3619, allocations: 86.98 MB / 0.7671 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.IntegratorWithReset): time 0.00288/0.3648, allocations: 1.832 MB / 0.7689 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009638/0.3658, allocations: 0.5338 MB / 0.7694 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000119/0.3659, allocations: 4 kB / 0.7694 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001359/0.366, allocations: 27.72 kB / 0.7694 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.423e-05/0.3662, allocations: 31.67 kB / 0.7694 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002116/0.3664, allocations: 59.92 kB / 0.7695 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002298/0.3666, allocations: 183.4 kB / 0.7697 GB, free: 1.254 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001401/0.3668, allocations: 53.28 kB / 0.7697 GB, free: 1.203 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 9.74e-05/0.3669, allocations: 55.73 kB / 0.7698 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.32e-05/0.3669, allocations: 55.7 kB / 0.7698 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.788e-05/0.367, allocations: 12 kB / 0.7698 GB, free: 1.082 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 2.052e-05/0.367, allocations: 19.88 kB / 0.7699 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.319e-05/0.367, allocations: 31.89 kB / 0.7699 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.531e-05/0.3671, allocations: 63.61 kB / 0.7699 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001679/0.3673, allocations: 123.5 kB / 0.7701 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.3673, allocations: 4 kB / 0.7701 GB, free: 0.8438 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.192e-06/0.3673, allocations: 3.938 kB / 0.7701 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.614e-06/0.3673, allocations: 0 / 0.7701 GB, free: 0.8398 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.0006615/0.368, allocations: 473.3 kB / 0.7705 GB, free: 340 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.368, allocations: 12.03 kB / 0.7705 GB, free: 328 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.814e-05/0.3681, allocations: 20.75 kB / 0.7706 GB, free: 308 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002763/0.3684, allocations: 243.8 kB / 0.7708 GB, free: 24 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.3684, allocations: 4.375 kB / 0.7708 GB, free: 20 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.179e-05/0.3684, allocations: 16.38 kB / 0.7708 GB, free: 4 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002904/0.3687, allocations: 151.6 kB / 0.771 GB, free: 15.84 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.3687, allocations: 0 / 0.771 GB, free: 15.84 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.452e-05/0.3688, allocations: 4 kB / 0.771 GB, free: 15.83 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.3688, allocations: 4 kB / 0.771 GB, free: 15.83 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002304/0.369, allocations: 79.88 kB / 0.771 GB, free: 15.75 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008756/0.3699, allocations: 0.7392 MB / 0.7718 GB, free: 14.95 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000138/0.37, allocations: 46.5 kB / 0.7718 GB, free: 14.89 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001116/0.3702, allocations: 36.83 kB / 0.7718 GB, free: 14.85 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.3702, allocations: 0 / 0.7718 GB, free: 14.85 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002136/0.3704, allocations: 126.7 kB / 0.772 GB, free: 14.7 MB / 0.545 GB Notification: Performance of pre-optimization done (n=11): time 1.382e-06/0.3704, allocations: 0 / 0.772 GB, free: 14.7 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.0004651/0.3709, allocations: 169.3 kB / 0.7721 GB, free: 14.53 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.006e-05/0.371, allocations: 128.5 kB / 0.7722 GB, free: 14.38 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001688/0.3711, allocations: 211.8 kB / 0.7724 GB, free: 14.16 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.804e-05/0.3712, allocations: 25.7 kB / 0.7725 GB, free: 14.13 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.451e-05/0.3713, allocations: 131.6 kB / 0.7726 GB, free: 14 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.472e-05/0.3713, allocations: 39.59 kB / 0.7726 GB, free: 13.96 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.122e-05/0.3714, allocations: 45.64 kB / 0.7727 GB, free: 13.91 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.3715, allocations: 326.8 kB / 0.773 GB, free: 13.58 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001227/0.3716, allocations: 43.91 kB / 0.773 GB, free: 13.54 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001778/0.3718, allocations: 148.2 kB / 0.7732 GB, free: 13.34 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003086/0.3721, allocations: 210.3 kB / 0.7734 GB, free: 13.08 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.3721, allocations: 0 / 0.7734 GB, free: 13.08 MB / 0.545 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000385/0.3725, allocations: 197.5 kB / 0.7736 GB, free: 12.88 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.3725, allocations: 11.98 kB / 0.7736 GB, free: 12.87 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.3725, allocations: 4 kB / 0.7736 GB, free: 12.87 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.3726, allocations: 11.88 kB / 0.7736 GB, free: 12.86 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/0.3727, allocations: 31.98 kB / 0.7736 GB, free: 12.82 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.187e-05/0.3727, allocations: 11.94 kB / 0.7736 GB, free: 12.81 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001408/0.3728, allocations: 23.83 kB / 0.7736 GB, free: 12.79 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.36e-05/0.3729, allocations: 12 kB / 0.7737 GB, free: 12.78 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.0001092/0.373, allocations: 137.8 kB / 0.7738 GB, free: 12.63 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.891e-05/0.373, allocations: 15.81 kB / 0.7738 GB, free: 12.62 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.196e-05/0.3731, allocations: 25.62 kB / 0.7738 GB, free: 12.59 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.3731, allocations: 0 / 0.7738 GB, free: 12.59 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.3731, allocations: 3.984 kB / 0.7738 GB, free: 12.59 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.953e-05/0.3731, allocations: 96.92 kB / 0.7739 GB, free: 12.47 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.544e-05/0.3732, allocations: 0 / 0.7739 GB, free: 12.47 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001212/0.3733, allocations: 15.92 kB / 0.7739 GB, free: 12.46 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.894e-05/0.3734, allocations: 15.98 kB / 0.774 GB, free: 12.44 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005921/0.374, allocations: 466.5 kB / 0.7744 GB, free: 11.98 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005685/0.3745, allocations: 0.5854 MB / 0.775 GB, free: 11.38 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001479/0.3747, allocations: 56.27 kB / 0.775 GB, free: 11.32 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001002/0.3748, allocations: 140.6 kB / 0.7752 GB, free: 11.18 MB / 0.545 GB Notification: Performance of Backend: time 5.31e-07/0.3748, allocations: 0 / 0.7752 GB, free: 11.18 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0007066/0.3755, allocations: 167 kB / 0.7753 GB, free: 11.02 MB / 0.545 GB Notification: Performance of SimCode: time 0.0009155/0.3764, allocations: 0.8107 MB / 0.7761 GB, free: 10.16 MB / 0.545 GB Notification: Performance of Templates: time 0.005231/0.3817, allocations: 2.293 MB / 0.7784 GB, free: 7.891 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)