Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset") translateModel(IDEAS.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.001204/0.001204, allocations: 112.7 kB / 16.42 MB, free: 6.512 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.001238/0.001238, allocations: 190.7 kB / 17.35 MB, free: 5.738 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.219/1.219, 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/IDEAS 3.0.0-master/package.mo): time 0.716/0.716, allocations: 135.1 MB / 426.3 MB, free: 4.125 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001066/0.001066, allocations: 67.23 kB / 0.5863 GB, free: 21.77 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1279, allocations: 80.93 MB / 0.6653 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegratorWithReset): time 0.002714/0.1306, allocations: 1.806 MB / 0.6671 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009247/0.1316, allocations: 0.5454 MB / 0.6676 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.668e-05/0.1317, allocations: 4 kB / 0.6676 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001306/0.1318, allocations: 27.72 kB / 0.6676 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.355e-05/0.1319, allocations: 27.73 kB / 0.6677 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002006/0.1321, allocations: 67.84 kB / 0.6677 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002123/0.1323, allocations: 179.4 kB / 0.6679 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001337/0.1325, allocations: 53.62 kB / 0.668 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.907e-05/0.1326, allocations: 51.78 kB / 0.668 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.316e-05/0.1327, allocations: 63.64 kB / 0.6681 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.61e-05/0.1327, allocations: 8 kB / 0.6681 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.026e-05/0.1327, allocations: 12 kB / 0.6681 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.366e-05/0.1327, allocations: 31.91 kB / 0.6681 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.299e-05/0.1328, allocations: 63.55 kB / 0.6682 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001604/0.133, allocations: 135.4 kB / 0.6683 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.133, allocations: 0 / 0.6683 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.513e-06/0.133, allocations: 0 / 0.6683 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.133, allocations: 0 / 0.6683 GB, free: 2.828 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.000646/0.1337, allocations: 478.6 kB / 0.6688 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.1337, allocations: 17.11 kB / 0.6688 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.666e-05/0.1338, allocations: 16.75 kB / 0.6688 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002739/0.134, allocations: 237.2 kB / 0.669 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.1341, allocations: 8.375 kB / 0.669 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.815e-05/0.1341, allocations: 12.38 kB / 0.669 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002736/0.1344, allocations: 153.4 kB / 0.6692 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.1344, allocations: 0 / 0.6692 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.456e-05/0.1344, allocations: 4 kB / 0.6692 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.1344, allocations: 4 kB / 0.6692 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002145/0.1346, allocations: 71.88 kB / 0.6693 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008379/0.1355, allocations: 0.7354 MB / 0.67 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001314/0.1356, allocations: 50.5 kB / 0.67 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.893e-05/0.1357, allocations: 32.83 kB / 0.6701 GB, free: 0.8516 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.848e-05/0.1358, allocations: 4 kB / 0.6701 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002162/0.136, allocations: 126.6 kB / 0.6702 GB, free: 0.6992 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=11): time 1.383e-06/0.136, allocations: 4 kB / 0.6702 GB, free: 0.6953 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.0004372/0.1364, allocations: 161.4 kB / 0.6703 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.401e-05/0.1365, allocations: 136.5 kB / 0.6705 GB, free: 376 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001637/0.1367, allocations: 202.8 kB / 0.6707 GB, free: 164 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.646e-05/0.1367, allocations: 25.7 kB / 0.6707 GB, free: 132 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.05e-05/0.1368, allocations: 144.3 kB / 0.6708 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.957e-05/0.1368, allocations: 31.55 kB / 0.6709 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.353e-05/0.1369, allocations: 41.7 kB / 0.6709 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.674e-05/0.137, allocations: 326.8 kB / 0.6712 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001278/0.1371, allocations: 43.97 kB / 0.6713 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001703/0.1373, allocations: 151.9 kB / 0.6714 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002935/0.1376, allocations: 206.3 kB / 0.6716 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.1376, allocations: 4 kB / 0.6716 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003715/0.138, allocations: 201.5 kB / 0.6718 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.138, allocations: 11.98 kB / 0.6718 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.138, allocations: 8.031 kB / 0.6718 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.138, allocations: 4 kB / 0.6718 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/0.1382, allocations: 31.92 kB / 0.6718 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.345e-05/0.1382, allocations: 11.94 kB / 0.6719 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001385/0.1383, allocations: 28.08 kB / 0.6719 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.264e-05/0.1384, allocations: 12 kB / 0.6719 GB, free: 14.77 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.0001035/0.1385, allocations: 137.6 kB / 0.672 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.856e-05/0.1385, allocations: 23.81 kB / 0.672 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.837e-05/0.1385, allocations: 21.41 kB / 0.6721 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.1385, allocations: 3.984 kB / 0.6721 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.1386, allocations: 0 / 0.6721 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.812e-05/0.1386, allocations: 96.86 kB / 0.6722 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.413e-05/0.1386, allocations: 0 / 0.6722 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000117/0.1388, allocations: 19.92 kB / 0.6722 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.33e-05/0.1388, allocations: 7.984 kB / 0.6722 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005645/0.1394, allocations: 474.6 kB / 0.6726 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005495/0.1399, allocations: 0.5823 MB / 0.6732 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001296/0.1401, allocations: 47.95 kB / 0.6733 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 9.789e-05/0.1402, allocations: 140.6 kB / 0.6734 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of Backend: time 3.3e-07/0.1402, allocations: 0 / 0.6734 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0006986/0.1409, allocations: 162.2 kB / 0.6735 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of SimCode: time 0.0008463/0.1418, allocations: 0.8234 MB / 0.6743 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of Templates: time 0.00477/0.1465, allocations: 2.276 MB / 0.6766 GB, free: 9.887 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1)