Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.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.001236/0.001236, allocations: 93.16 kB / 19.65 MB, free: 292 kB / 13.93 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.001445/0.001445, allocations: 168.9 kB / 23.01 MB, free: 1.566 MB / 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.001/1.001, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.7883/0.7883, allocations: 154.8 MB / 414.7 MB, free: 0.5078 MB / 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.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.146e-06/3.146e-06, allocations: 0.5469 kB / 0.5206 GB, free: 1.867 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.233e-05/3.548e-05, allocations: 6.109 kB / 0.5206 GB, free: 1.863 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.002857/0.002892, allocations: 0.862 MB / 0.5215 GB, free: 1.027 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001908/0.0048, allocations: 1.229 MB / 0.5227 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.668e-05/0.004886, allocations: 1.75 kB / 0.5227 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 4.722e-05/0.004934, allocations: 7.875 kB / 0.5227 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001096/0.005043, allocations: 23.8 kB / 0.5227 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006286/0.005672, allocations: 141.4 kB / 0.5228 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.00027/0.005942, allocations: 171.6 kB / 0.523 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001572/0.006099, allocations: 25.3 kB / 0.523 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001764/0.006275, allocations: 95.84 kB / 0.5231 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001158/0.006391, allocations: 52.59 kB / 0.5232 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.866e-05/0.00643, allocations: 16 kB / 0.5232 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 8.285e-05/0.006513, allocations: 25.34 kB / 0.5232 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 3.81e-05/0.006551, allocations: 31.89 kB / 0.5232 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 8.271e-05/0.006634, allocations: 51.89 kB / 0.5233 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002429/0.006876, allocations: 135.5 kB / 0.5234 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.00688, allocations: 1.25 kB / 0.5234 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.994e-06/0.006882, allocations: 0 / 0.5234 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.73e-06/0.006888, allocations: 0 / 0.5234 GB, free: 15.03 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007215/0.007609, allocations: 0.5106 MB / 0.5239 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.037e-05/0.00766, allocations: 8.031 kB / 0.5239 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.948e-05/0.007739, allocations: 20.89 kB / 0.5239 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000424/0.008163, allocations: 183.5 kB / 0.5241 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.13e-05/0.008185, allocations: 8.375 kB / 0.5241 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.305e-05/0.008238, allocations: 20.36 kB / 0.5241 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000204/0.008442, allocations: 84.75 kB / 0.5242 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/0.008451, allocations: 192 / 0.5242 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.008465, allocations: 0.9375 kB / 0.5242 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.4e-05/0.008479, allocations: 9.125 kB / 0.5242 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.176e-05/0.00853, allocations: 19.98 kB / 0.5243 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007249/0.009255, allocations: 368.3 kB / 0.5246 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.195e-05/0.009327, allocations: 27.06 kB / 0.5246 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.406e-05/0.009361, allocations: 24.73 kB / 0.5247 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.414e-05/0.009385, allocations: 4 kB / 0.5247 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000153/0.009538, allocations: 78.06 kB / 0.5247 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=10): time 1.743e-06/0.00954, allocations: 0 / 0.5247 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of matching and sorting (n=10): time 0.0002755/0.009816, allocations: 103.1 kB / 0.5248 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.123e-05/0.009857, allocations: 55.39 kB / 0.5249 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001507/0.01001, allocations: 199.2 kB / 0.5251 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.514e-05/0.01003, allocations: 30.7 kB / 0.5251 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.178e-05/0.01012, allocations: 162.7 kB / 0.5253 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.052e-05/0.01015, allocations: 35.72 kB / 0.5253 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.94e-05/0.01024, allocations: 56.03 kB / 0.5253 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001642/0.01041, allocations: 0.4961 MB / 0.5258 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001217/0.01053, allocations: 62.91 kB / 0.5259 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000171/0.0107, allocations: 189.6 kB / 0.5261 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002337/0.01093, allocations: 202.9 kB / 0.5263 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/0.01094, allocations: 4 kB / 0.5263 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000618/0.01156, allocations: 255.8 kB / 0.5265 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.363e-05/0.01161, allocations: 33.7 kB / 0.5265 GB, free: 11.47 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/0.01162, allocations: 4.047 kB / 0.5266 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.712e-05/0.01165, allocations: 11.92 kB / 0.5266 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001111/0.01176, allocations: 19.98 kB / 0.5266 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/0.01177, allocations: 9.438 kB / 0.5266 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001567/0.01193, allocations: 31.92 kB / 0.5266 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.518e-05/0.01196, allocations: 12 kB / 0.5266 GB, free: 11.38 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 (booleanPulse.y,$PRE.booleanPulse.y,$whenCondition4,$whenCondition1,$whenCondition2,sampleTrigger.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * 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.0001209/0.01208, allocations: 177 kB / 0.5268 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.44e-05/0.0121, allocations: 12.84 kB / 0.5268 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.246e-05/0.01214, allocations: 12.78 kB / 0.5268 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.01215, allocations: 0.6562 kB / 0.5268 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.01215, allocations: 4.5 kB / 0.5268 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.01216, allocations: 0 / 0.5268 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004459/0.0126, allocations: 376.2 kB / 0.5272 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.01261, allocations: 0 / 0.5272 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.691e-05/0.01267, allocations: 8 kB / 0.5272 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.01268, allocations: 3.984 kB / 0.5272 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.487e-05/0.01269, allocations: 4 kB / 0.5272 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.01269, allocations: 0 / 0.5272 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.626e-06/0.0127, allocations: 4 kB / 0.5272 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002708/0.01297, allocations: 254.2 kB / 0.5275 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.36e-05/0.01298, allocations: 7.906 kB / 0.5275 GB, free: 10.47 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.293e-05/0.01301, allocations: 4 kB / 0.5275 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.992e-05/0.01308, allocations: 4 kB / 0.5275 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.019e-05/0.01313, allocations: 7.984 kB / 0.5275 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.409e-05/0.01314, allocations: 11.92 kB / 0.5275 GB, free: 10.44 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.674e-05/0.01322, allocations: 150.8 kB / 0.5276 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9.1e-08/0.01322, allocations: 4 kB / 0.5276 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003392/0.01356, allocations: 31.94 kB / 0.5277 GB, free: 10.26 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (intWitRes2.y,intWitRes1.y,intDef.y) * Number of discrete variables: 6 (sampleTrigger.y,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,booleanPulse.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * 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.0001901/0.01375, allocations: 104.2 kB / 0.5278 GB, free: 10.15 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002963/0.01404, allocations: 185.2 kB / 0.5279 GB, free: 9.953 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.01404, allocations: 0 / 0.5279 GB, free: 9.953 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6.047e-05/0.01411, allocations: 36.17 kB / 0.528 GB, free: 9.914 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003252/0.01443, allocations: 33.38 kB / 0.528 GB, free: 9.883 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006027/0.01503, allocations: 247.1 kB / 0.5282 GB, free: 9.609 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.835e-05/0.01509, allocations: 72.41 kB / 0.5283 GB, free: 9.52 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.882e-05/0.01515, allocations: 12.3 kB / 0.5283 GB, free: 9.512 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.833e-05/0.01519, allocations: 17.16 kB / 0.5283 GB, free: 9.496 MB / 0.4948 GB Notification: Performance of SimCode: time 6.31e-07/0.01519, allocations: 0 / 0.5283 GB, free: 9.496 MB / 0.4948 GB Notification: Performance of Templates: time 0.005085/0.02027, allocations: 1.756 MB / 0.5301 GB, free: 7.863 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9488263060338795]