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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001435/0.001435, allocations: 73.09 kB / 20.65 MB, free: 3.844 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001367/0.001367, allocations: 169 kB / 24.06 MB, free: 452 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.048/1.048, allocations: 177.1 MB / 204.5 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8033/0.8033, allocations: 154.9 MB / 415.9 MB, free: 252 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset") translateModel(IDEAS.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.485e-06/2.485e-06, allocations: 1.094 kB / 0.5219 GB, free: 404 kB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.614e-05/2.862e-05, allocations: 2.844 kB / 0.5219 GB, free: 400 kB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegratorWithReset): time 0.002925/0.002953, allocations: 1.834 MB / 0.5237 GB, free: 14.58 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009232/0.003876, allocations: 0.5508 MB / 0.5242 GB, free: 14.02 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001079/0.003984, allocations: 12.44 kB / 0.5242 GB, free: 14.01 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001396/0.004124, allocations: 24.7 kB / 0.5243 GB, free: 13.99 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 6.889e-05/0.004193, allocations: 37.28 kB / 0.5243 GB, free: 13.95 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002107/0.004404, allocations: 59.92 kB / 0.5244 GB, free: 13.89 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.000174/0.004578, allocations: 175.4 kB / 0.5245 GB, free: 13.72 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.004694, allocations: 41.72 kB / 0.5246 GB, free: 13.68 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001006/0.004795, allocations: 80.67 kB / 0.5246 GB, free: 13.61 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.648e-05/0.004851, allocations: 39.83 kB / 0.5247 GB, free: 13.57 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 2.082e-05/0.004872, allocations: 12 kB / 0.5247 GB, free: 13.55 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.317e-05/0.004885, allocations: 13.41 kB / 0.5247 GB, free: 13.54 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 2.844e-05/0.004914, allocations: 27.91 kB / 0.5247 GB, free: 13.52 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 4.162e-05/0.004956, allocations: 43.83 kB / 0.5248 GB, free: 13.47 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001423/0.005098, allocations: 96.73 kB / 0.5249 GB, free: 13.38 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.0051, allocations: 0 / 0.5249 GB, free: 13.38 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.005102, allocations: 0 / 0.5249 GB, free: 13.38 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.005106, allocations: 0 / 0.5249 GB, free: 13.38 MB / 458.7 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.0004792/0.005585, allocations: 0.5205 MB / 0.5254 GB, free: 12.82 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.167e-05/0.005617, allocations: 8.031 kB / 0.5254 GB, free: 12.81 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.138e-05/0.005658, allocations: 28.84 kB / 0.5254 GB, free: 12.78 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000181/0.005839, allocations: 185.5 kB / 0.5256 GB, free: 12.57 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.005851, allocations: 9 kB / 0.5256 GB, free: 12.57 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.987e-05/0.005881, allocations: 22.11 kB / 0.5256 GB, free: 12.55 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001741/0.006055, allocations: 144 kB / 0.5257 GB, free: 12.38 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.006063, allocations: 192 / 0.5257 GB, free: 12.38 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.006076, allocations: 12.3 kB / 0.5258 GB, free: 12.37 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.006082, allocations: 7.938 kB / 0.5258 GB, free: 12.36 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.361e-05/0.006126, allocations: 25.61 kB / 0.5258 GB, free: 12.34 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006176/0.006743, allocations: 0.8606 MB / 0.5266 GB, free: 11.43 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.471e-05/0.006808, allocations: 43.05 kB / 0.5267 GB, free: 11.38 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.178e-05/0.00683, allocations: 19.67 kB / 0.5267 GB, free: 11.35 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.496e-05/0.006845, allocations: 0.9688 kB / 0.5267 GB, free: 11.35 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00012/0.006965, allocations: 119.8 kB / 0.5268 GB, free: 11.2 MB / 458.7 MB Notification: Performance of pre-optimization done (n=11): time 1.232e-06/0.006966, allocations: 0.9688 kB / 0.5268 GB, free: 11.2 MB / 458.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001935/0.007159, allocations: 106.9 kB / 0.5269 GB, free: 11.09 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.743e-05/0.007217, allocations: 136.5 kB / 0.527 GB, free: 10.93 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/0.007333, allocations: 242.8 kB / 0.5273 GB, free: 10.68 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/0.007351, allocations: 33.7 kB / 0.5273 GB, free: 10.64 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.685e-05/0.007428, allocations: 175.1 kB / 0.5275 GB, free: 10.46 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.649e-05/0.007454, allocations: 40.7 kB / 0.5275 GB, free: 10.42 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.942e-05/0.007503, allocations: 51.33 kB / 0.5276 GB, free: 10.36 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.007625, allocations: 0.4962 MB / 0.528 GB, free: 9.855 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.504e-05/0.00765, allocations: 13.2 kB / 0.5281 GB, free: 9.844 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.559e-05/0.007736, allocations: 171.5 kB / 0.5282 GB, free: 9.605 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001671/0.007903, allocations: 199.7 kB / 0.5284 GB, free: 9.344 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.007908, allocations: 256 / 0.5284 GB, free: 9.344 MB / 458.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001967/0.008104, allocations: 162.4 kB / 0.5286 GB, free: 9.184 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.008122, allocations: 15.92 kB / 0.5286 GB, free: 9.168 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.008129, allocations: 8 kB / 0.5286 GB, free: 9.16 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.578e-06/0.008139, allocations: 4 kB / 0.5286 GB, free: 9.156 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.038e-05/0.008219, allocations: 31.92 kB / 0.5286 GB, free: 9.125 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.008226, allocations: 10.72 kB / 0.5286 GB, free: 9.117 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.986e-05/0.008296, allocations: 23.83 kB / 0.5287 GB, free: 9.094 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.008305, allocations: 8 kB / 0.5287 GB, free: 9.086 MB / 458.7 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,intNoReset.trigger_internal,intDef.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.0001033/0.008408, allocations: 172.7 kB / 0.5288 GB, free: 8.906 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.326e-05/0.008442, allocations: 31.83 kB / 0.5289 GB, free: 8.875 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.716e-05/0.008479, allocations: 21.45 kB / 0.5289 GB, free: 8.844 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.008482, allocations: 0 / 0.5289 GB, free: 8.844 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.008486, allocations: 5.562 kB / 0.5289 GB, free: 8.84 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.008491, allocations: 0 / 0.5289 GB, free: 8.84 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003707/0.008861, allocations: 473.1 kB / 0.5293 GB, free: 8.344 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.008865, allocations: 13.2 kB / 0.5293 GB, free: 8.332 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.618e-05/0.008922, allocations: 11.94 kB / 0.5294 GB, free: 8.32 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.008925, allocations: 4 kB / 0.5294 GB, free: 8.316 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.008935, allocations: 0 / 0.5294 GB, free: 8.316 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.008938, allocations: 4.656 kB / 0.5294 GB, free: 8.312 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.008941, allocations: 4.828 kB / 0.5294 GB, free: 8.309 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005279/0.009469, allocations: 398.2 kB / 0.5297 GB, free: 7.891 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.698e-05/0.009486, allocations: 16.34 kB / 0.5298 GB, free: 7.875 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.648e-05/0.009502, allocations: 10.05 kB / 0.5298 GB, free: 7.867 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.241e-05/0.009575, allocations: 8 kB / 0.5298 GB, free: 7.859 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.173e-05/0.009616, allocations: 15.97 kB / 0.5298 GB, free: 7.844 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.009623, allocations: 4 kB / 0.5298 GB, free: 7.84 MB / 458.7 MB Notification: Performance of sorting global known variables: time 6.734e-05/0.00969, allocations: 157.8 kB / 0.53 GB, free: 7.688 MB / 458.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00969, allocations: 2.438 kB / 0.53 GB, free: 7.688 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002271/0.009917, allocations: 35.94 kB / 0.53 GB, free: 7.652 MB / 458.7 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 9.977e-05/0.01002, allocations: 99.25 kB / 0.5301 GB, free: 7.547 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001272/0.01014, allocations: 79.91 kB / 0.5302 GB, free: 7.469 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.01015, allocations: 0 / 0.5302 GB, free: 7.469 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 4.462e-05/0.01019, allocations: 43.16 kB / 0.5302 GB, free: 7.426 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003459/0.01054, allocations: 72.55 kB / 0.5303 GB, free: 7.355 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004161/0.01095, allocations: 335.5 kB / 0.5306 GB, free: 6.984 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.479e-05/0.011, allocations: 71.98 kB / 0.5307 GB, free: 6.895 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 5.687e-05/0.01105, allocations: 23.19 kB / 0.5307 GB, free: 6.875 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.168e-05/0.01115, allocations: 106.2 kB / 0.5308 GB, free: 6.77 MB / 458.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01115, allocations: 0.6875 kB / 0.5308 GB, free: 6.77 MB / 458.7 MB Notification: Performance of Templates: time 0.004236/0.01538, allocations: 2.356 MB / 0.5331 GB, free: 4.566 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset.makefile [Timeout 660] (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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.839415460359305]