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) 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/IBPSA 4.0.0-master/package.mo", uses=false) 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=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset") translateModel(IBPSA.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0008655/0.0008656, allocations: 98.42 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009161/0.0009163, allocations: 176.8 kB / 16.92 MB, free: 6.922 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.405/1.405, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7163/0.7163, allocations: 115.5 MB / 407.6 MB, free: 2.668 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005378/0.0005382, allocations: 8 kB / 495.9 MB, free: 6.352 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1887/0.1893, allocations: 77.53 MB / 0.56 GB, free: 9.027 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.IntegratorWithReset): time 0.002205/0.1915, allocations: 1.524 MB / 0.5614 GB, free: 7.488 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009181/0.1925, allocations: 0.5183 MB / 0.5619 GB, free: 6.965 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001185/0.1926, allocations: 3.938 kB / 0.562 GB, free: 6.961 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001507/0.1928, allocations: 23.84 kB / 0.562 GB, free: 6.938 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 8.883e-05/0.1929, allocations: 11.81 kB / 0.562 GB, free: 6.926 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002594/0.1931, allocations: 63.92 kB / 0.562 GB, free: 6.863 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002423/0.1934, allocations: 159.4 kB / 0.5622 GB, free: 6.707 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001725/0.1936, allocations: 53.64 kB / 0.5622 GB, free: 6.656 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.347e-05/0.1937, allocations: 47.7 kB / 0.5623 GB, free: 6.609 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.32e-05/0.1938, allocations: 47.72 kB / 0.5623 GB, free: 6.562 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.441e-05/0.1938, allocations: 4 kB / 0.5623 GB, free: 6.559 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.795e-05/0.1938, allocations: 7.938 kB / 0.5624 GB, free: 6.551 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.059e-05/0.1939, allocations: 23.86 kB / 0.5624 GB, free: 6.527 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 8.364e-05/0.1939, allocations: 85.31 kB / 0.5625 GB, free: 6.438 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001534/0.1941, allocations: 119.7 kB / 0.5626 GB, free: 6.32 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.1941, allocations: 0 / 0.5626 GB, free: 6.32 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.1941, allocations: 0 / 0.5626 GB, free: 6.32 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.1941, allocations: 0 / 0.5626 GB, free: 6.32 MB / 430.1 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.0007193/0.1949, allocations: 462.8 kB / 0.563 GB, free: 5.82 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.1949, allocations: 8.031 kB / 0.563 GB, free: 5.812 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.595e-05/0.195, allocations: 20.75 kB / 0.563 GB, free: 5.793 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002618/0.1952, allocations: 223.9 kB / 0.5633 GB, free: 5.535 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/0.1953, allocations: 8.375 kB / 0.5633 GB, free: 5.527 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.683e-05/0.1953, allocations: 16.36 kB / 0.5633 GB, free: 5.512 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003278/0.1956, allocations: 157.6 kB / 0.5634 GB, free: 5.34 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.1957, allocations: 0 / 0.5634 GB, free: 5.34 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.779e-05/0.1957, allocations: 8 kB / 0.5634 GB, free: 5.332 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.196e-06/0.1957, allocations: 0 / 0.5634 GB, free: 5.332 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002546/0.196, allocations: 85.77 kB / 0.5635 GB, free: 5.25 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009376/0.1969, allocations: 0.7431 MB / 0.5642 GB, free: 4.441 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001586/0.1971, allocations: 58.48 kB / 0.5643 GB, free: 4.375 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001179/0.1972, allocations: 40.83 kB / 0.5643 GB, free: 4.332 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.272e-05/0.1972, allocations: 0 / 0.5643 GB, free: 4.332 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002693/0.1975, allocations: 134.7 kB / 0.5645 GB, free: 4.176 MB / 430.1 MB Notification: Performance of pre-optimization done (n=11): time 1.533e-06/0.1975, allocations: 0 / 0.5645 GB, free: 4.176 MB / 430.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005141/0.198, allocations: 181.5 kB / 0.5646 GB, free: 3.992 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.497e-05/0.1981, allocations: 132.5 kB / 0.5648 GB, free: 3.832 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001851/0.1983, allocations: 198.8 kB / 0.565 GB, free: 3.629 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.355e-05/0.1983, allocations: 37.69 kB / 0.565 GB, free: 3.586 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.125e-05/0.1984, allocations: 131.9 kB / 0.5651 GB, free: 3.453 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.456e-05/0.1985, allocations: 31.55 kB / 0.5651 GB, free: 3.422 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.666e-05/0.1985, allocations: 25.72 kB / 0.5652 GB, free: 3.391 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.1986, allocations: 334.8 kB / 0.5655 GB, free: 3.055 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001292/0.1988, allocations: 43.97 kB / 0.5655 GB, free: 3.012 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001837/0.199, allocations: 150.5 kB / 0.5657 GB, free: 2.812 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003225/0.1993, allocations: 222.3 kB / 0.5659 GB, free: 2.543 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.1993, allocations: 0 / 0.5659 GB, free: 2.543 MB / 430.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004368/0.1997, allocations: 213.3 kB / 0.5661 GB, free: 2.328 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.1998, allocations: 4 kB / 0.5661 GB, free: 2.324 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.1998, allocations: 4 kB / 0.5661 GB, free: 2.32 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.1998, allocations: 4 kB / 0.5661 GB, free: 2.316 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001351/0.1999, allocations: 44.16 kB / 0.5661 GB, free: 2.273 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.2, allocations: 12.19 kB / 0.5662 GB, free: 2.262 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00015/0.2001, allocations: 35.77 kB / 0.5662 GB, free: 2.227 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.522e-05/0.2001, allocations: 16 kB / 0.5662 GB, free: 2.211 MB / 430.1 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,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.0001016/0.2003, allocations: 129.7 kB / 0.5663 GB, free: 2.074 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.942e-05/0.2003, allocations: 15.81 kB / 0.5663 GB, free: 2.059 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.301e-05/0.2003, allocations: 25.39 kB / 0.5664 GB, free: 2.035 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.2004, allocations: 0 / 0.5664 GB, free: 2.035 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.2004, allocations: 4 kB / 0.5664 GB, free: 2.031 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.2004, allocations: 4 kB / 0.5664 GB, free: 2.027 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000757/0.2011, allocations: 0.5287 MB / 0.5669 GB, free: 1.441 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.2012, allocations: 4 kB / 0.5669 GB, free: 1.438 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001221/0.2013, allocations: 23.92 kB / 0.5669 GB, free: 1.414 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.2013, allocations: 4 kB / 0.5669 GB, free: 1.41 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.448e-05/0.2013, allocations: 3.984 kB / 0.5669 GB, free: 1.406 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.2013, allocations: 4 kB / 0.5669 GB, free: 1.402 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.2013, allocations: 3.938 kB / 0.5669 GB, free: 1.398 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005279/0.2019, allocations: 384.2 kB / 0.5673 GB, free: 1.004 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.28e-05/0.2019, allocations: 88.92 kB / 0.5674 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.903e-05/0.202, allocations: 8 kB / 0.5674 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000176/0.2021, allocations: 16.03 kB / 0.5674 GB, free: 0.875 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.375e-05/0.2022, allocations: 19.91 kB / 0.5674 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.887e-06/0.2022, allocations: 8 kB / 0.5674 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001156/0.2024, allocations: 140.4 kB / 0.5676 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.2024, allocations: 4 kB / 0.5676 GB, free: 0.707 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003477/0.2027, allocations: 24 kB / 0.5676 GB, free: 0.6836 MB / 430.1 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 0.0001525/0.2029, allocations: 107.2 kB / 0.5677 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003573/0.2032, allocations: 123.8 kB / 0.5678 GB, free: 460 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.2033, allocations: 7.938 kB / 0.5678 GB, free: 452 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001647/0.2034, allocations: 57.03 kB / 0.5679 GB, free: 396 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006054/0.204, allocations: 55.94 kB / 0.5679 GB, free: 340 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006406/0.2047, allocations: 406.9 kB / 0.5683 GB, free: 15.9 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002987/0.205, allocations: 0.7245 MB / 0.569 GB, free: 15.15 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.422e-05/0.2051, allocations: 17.55 kB / 0.569 GB, free: 15.13 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.388e-05/0.2052, allocations: 15.44 kB / 0.5691 GB, free: 15.11 MB / 446.1 MB Notification: Performance of SimCode: time 4.31e-07/0.2052, allocations: 0 / 0.5691 GB, free: 15.11 MB / 446.1 MB Notification: Performance of Templates: time 0.005168/0.2103, allocations: 1.802 MB / 0.5708 GB, free: 13.34 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.makefile (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)