Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0007547/0.0007547, allocations: 80.45 kB / 19.9 MB, free: 12 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.0007797/0.0007797, allocations: 165.9 kB / 23.18 MB, free: 1.383 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 0.9246/0.9246, allocations: 177.2 MB / 203.6 MB, free: 5.77 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7402/0.7402, allocations: 154.7 MB / 414.7 MB, free: 0.75 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_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_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009506/0.0009506, allocations: 73.45 kB / 0.6196 GB, free: 13.04 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4894/0.4903, allocations: 102 MB / 0.7192 GB, free: 23.64 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.001843/0.4921, allocations: 0.8343 MB / 0.72 GB, free: 23.12 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001433/0.4936, allocations: 1.194 MB / 0.7212 GB, free: 22.26 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.618e-05/0.4936, allocations: 1.188 kB / 0.7212 GB, free: 22.26 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.557e-05/0.4937, allocations: 9.516 kB / 0.7212 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 7.578e-05/0.4938, allocations: 23.55 kB / 0.7212 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004998/0.4943, allocations: 153.5 kB / 0.7213 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.000208/0.4945, allocations: 170.4 kB / 0.7215 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00012/0.4946, allocations: 31.97 kB / 0.7215 GB, free: 22.06 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001251/0.4947, allocations: 90.95 kB / 0.7216 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001057/0.4948, allocations: 62.86 kB / 0.7217 GB, free: 22 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.95e-05/0.4948, allocations: 15.5 kB / 0.7217 GB, free: 22 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 6.456e-05/0.4949, allocations: 31.22 kB / 0.7217 GB, free: 21.99 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.996e-05/0.4949, allocations: 22.11 kB / 0.7217 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 6.336e-05/0.495, allocations: 57.56 kB / 0.7218 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002296/0.4952, allocations: 175.6 kB / 0.722 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.4952, allocations: 0 / 0.722 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.004e-06/0.4952, allocations: 0 / 0.722 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.081e-06/0.4952, allocations: 0 / 0.722 GB, free: 21.88 MB / 0.6355 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.0005897/0.4958, allocations: 421.2 kB / 0.7224 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.4959, allocations: 9.906 kB / 0.7224 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.849e-05/0.4959, allocations: 17.72 kB / 0.7224 GB, free: 21.49 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003476/0.4963, allocations: 190 kB / 0.7226 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/0.4963, allocations: 9.844 kB / 0.7226 GB, free: 21.33 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.535e-05/0.4963, allocations: 14.19 kB / 0.7226 GB, free: 21.33 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001717/0.4965, allocations: 91.28 kB / 0.7227 GB, free: 21.28 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.4965, allocations: 8.875 kB / 0.7227 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.4965, allocations: 1.156 kB / 0.7227 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.4965, allocations: 2.375 kB / 0.7227 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001055/0.4966, allocations: 46.84 kB / 0.7227 GB, free: 21.26 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000501/0.4971, allocations: 307.7 kB / 0.723 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.744e-05/0.4972, allocations: 36 kB / 0.7231 GB, free: 20.99 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.521e-05/0.4973, allocations: 25.45 kB / 0.7231 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.78e-05/0.4973, allocations: 5.188 kB / 0.7231 GB, free: 20.97 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002109/0.4975, allocations: 97.66 kB / 0.7232 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 2.595e-06/0.4975, allocations: 0 / 0.7232 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0003311/0.4978, allocations: 140.1 kB / 0.7233 GB, free: 20.85 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.36e-05/0.4979, allocations: 52.59 kB / 0.7234 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.498, allocations: 160.6 kB / 0.7235 GB, free: 20.66 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.498, allocations: 29.09 kB / 0.7236 GB, free: 20.63 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.85e-05/0.498, allocations: 114 kB / 0.7237 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.814e-05/0.4981, allocations: 30.59 kB / 0.7237 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.303e-05/0.4981, allocations: 51.17 kB / 0.7237 GB, free: 20.47 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.957e-05/0.4982, allocations: 321.4 kB / 0.7241 GB, free: 20.15 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001177/0.4983, allocations: 77.84 kB / 0.7241 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001241/0.4984, allocations: 164.8 kB / 0.7243 GB, free: 19.95 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001906/0.4986, allocations: 209.4 kB / 0.7245 GB, free: 19.77 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.4986, allocations: 1.703 kB / 0.7245 GB, free: 19.77 MB / 0.6355 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003507/0.4989, allocations: 269.9 kB / 0.7247 GB, free: 19.62 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.546e-05/0.499, allocations: 35.39 kB / 0.7248 GB, free: 19.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.499, allocations: 11.55 kB / 0.7248 GB, free: 19.58 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.02e-05/0.499, allocations: 5.062 kB / 0.7248 GB, free: 19.58 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.013e-05/0.4991, allocations: 30.81 kB / 0.7248 GB, free: 19.57 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.4991, allocations: 5.406 kB / 0.7248 GB, free: 19.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001346/0.4992, allocations: 46.64 kB / 0.7249 GB, free: 19.55 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.031e-05/0.4993, allocations: 11.27 kB / 0.7249 GB, free: 19.55 MB / 0.6355 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 8.115e-05/0.4993, allocations: 129.6 kB / 0.725 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.584e-05/0.4994, allocations: 13.7 kB / 0.725 GB, free: 19.42 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.241e-05/0.4994, allocations: 16.25 kB / 0.725 GB, free: 19.41 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.4994, allocations: 1.281 kB / 0.725 GB, free: 19.41 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.4994, allocations: 2.016 kB / 0.725 GB, free: 19.41 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.4994, allocations: 3.938 kB / 0.725 GB, free: 19.4 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003901/0.4998, allocations: 330.1 kB / 0.7254 GB, free: 19.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.4998, allocations: 0.7031 kB / 0.7254 GB, free: 19.14 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.566e-05/0.4999, allocations: 12.97 kB / 0.7254 GB, free: 19.14 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.4999, allocations: 5.5 kB / 0.7254 GB, free: 19.14 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.4999, allocations: 2.141 kB / 0.7254 GB, free: 19.14 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.4999, allocations: 4.734 kB / 0.7254 GB, free: 19.13 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.4999, allocations: 3.938 kB / 0.7254 GB, free: 19.13 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002682/0.5001, allocations: 238.3 kB / 0.7256 GB, free: 18.97 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.481e-05/0.5002, allocations: 11.89 kB / 0.7256 GB, free: 18.96 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.62e-05/0.5002, allocations: 7.531 kB / 0.7256 GB, free: 18.96 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.846e-05/0.5002, allocations: 13.39 kB / 0.7256 GB, free: 18.95 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.152e-05/0.5003, allocations: 11.94 kB / 0.7257 GB, free: 18.95 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.181e-05/0.5003, allocations: 12.12 kB / 0.7257 GB, free: 18.94 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.183e-05/0.5003, allocations: 105 kB / 0.7258 GB, free: 18.86 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.5003, allocations: 0 / 0.7258 GB, free: 18.86 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000226/0.5006, allocations: 32.53 kB / 0.7258 GB, free: 18.85 MB / 0.6355 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.0001428/0.5007, allocations: 104.8 kB / 0.7259 GB, free: 18.76 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002851/0.501, allocations: 196.9 kB / 0.7261 GB, free: 18.63 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.501, allocations: 0 / 0.7261 GB, free: 18.63 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.353e-05/0.5011, allocations: 40.75 kB / 0.7261 GB, free: 18.62 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002337/0.5013, allocations: 23.77 kB / 0.7261 GB, free: 18.61 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005419/0.5018, allocations: 268.5 kB / 0.7264 GB, free: 18.42 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.974e-05/0.5019, allocations: 95.09 kB / 0.7265 GB, free: 18.34 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.405e-05/0.502, allocations: 15.34 kB / 0.7265 GB, free: 18.34 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.95e-05/0.502, allocations: 20.84 kB / 0.7265 GB, free: 18.32 MB / 0.6355 GB Notification: Performance of SimCode: time 9.31e-07/0.502, allocations: 0 / 0.7265 GB, free: 18.32 MB / 0.6355 GB Notification: Performance of Templates: time 0.004661/0.5067, allocations: 1.76 MB / 0.7282 GB, free: 18.11 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset -abortSlowSimulation -alarm=480 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.316592773073353] Failed to read output from testmodel.py, exit status != 0: 0.5129288099706173 0.5234856179999999 0.025990592000000003 Calling exit ...