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.00119/0.00119, allocations: 76.45 kB / 19.9 MB, free: 16 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.001487/0.001487, allocations: 170.2 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.9263/0.9263, allocations: 177.2 MB / 203.6 MB, free: 5.777 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.7481/0.7481, 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.0009448/0.0009448, allocations: 73.89 kB / 0.6196 GB, free: 13.06 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.4982/0.4992, allocations: 101.9 MB / 0.7192 GB, free: 23.66 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.001822/0.501, allocations: 0.8496 MB / 0.72 GB, free: 23.13 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001211/0.5022, allocations: 1.193 MB / 0.7212 GB, free: 22.28 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.837e-05/0.5023, allocations: 2 kB / 0.7212 GB, free: 22.28 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.841e-05/0.5023, allocations: 9.562 kB / 0.7212 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 7.802e-05/0.5024, allocations: 27.94 kB / 0.7212 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004848/0.5029, allocations: 149.2 kB / 0.7213 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0002149/0.5031, allocations: 171.2 kB / 0.7215 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001296/0.5032, allocations: 22.78 kB / 0.7215 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001481/0.5034, allocations: 103.7 kB / 0.7216 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001066/0.5035, allocations: 59.83 kB / 0.7217 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.838e-05/0.5035, allocations: 14.91 kB / 0.7217 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 6.686e-05/0.5036, allocations: 27.64 kB / 0.7217 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 3.151e-05/0.5036, allocations: 24.84 kB / 0.7217 GB, free: 21.99 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 6.181e-05/0.5037, allocations: 62 kB / 0.7218 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002466/0.5039, allocations: 167.7 kB / 0.722 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.5039, allocations: 0 / 0.722 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.265e-06/0.5039, allocations: 0 / 0.722 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.833e-06/0.5039, allocations: 4.938 kB / 0.722 GB, free: 21.89 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.0005538/0.5045, allocations: 416 kB / 0.7224 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.5045, allocations: 14.39 kB / 0.7224 GB, free: 21.51 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.268e-05/0.5046, allocations: 17.27 kB / 0.7224 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003667/0.5049, allocations: 186.5 kB / 0.7226 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.505, allocations: 9.938 kB / 0.7226 GB, free: 21.35 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.668e-05/0.505, allocations: 14.67 kB / 0.7226 GB, free: 21.35 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001768/0.5052, allocations: 91.12 kB / 0.7227 GB, free: 21.3 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.5052, allocations: 3.938 kB / 0.7227 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.5052, allocations: 2.281 kB / 0.7227 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.5052, allocations: 2.406 kB / 0.7227 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000104/0.5053, allocations: 53.72 kB / 0.7227 GB, free: 21.28 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005298/0.5058, allocations: 308.6 kB / 0.723 GB, free: 21.03 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.81e-05/0.5059, allocations: 39.7 kB / 0.7231 GB, free: 21 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.132e-05/0.506, allocations: 21.38 kB / 0.7231 GB, free: 20.99 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.013e-05/0.506, allocations: 1.281 kB / 0.7231 GB, free: 20.99 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002107/0.5062, allocations: 101.6 kB / 0.7232 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 1.593e-06/0.5062, allocations: 1.094 kB / 0.7232 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0003219/0.5065, allocations: 134.7 kB / 0.7233 GB, free: 20.87 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.963e-05/0.5066, allocations: 52.47 kB / 0.7234 GB, free: 20.81 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.5067, allocations: 154 kB / 0.7235 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.775e-05/0.5067, allocations: 28.05 kB / 0.7235 GB, free: 20.65 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.217e-05/0.5067, allocations: 111.2 kB / 0.7237 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.967e-05/0.5068, allocations: 35.3 kB / 0.7237 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.54e-05/0.5068, allocations: 54.62 kB / 0.7237 GB, free: 20.49 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.811e-05/0.5069, allocations: 322.5 kB / 0.724 GB, free: 20.17 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000125/0.507, allocations: 77.27 kB / 0.7241 GB, free: 20.13 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001333/0.5071, allocations: 163 kB / 0.7243 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001887/0.5073, allocations: 202.5 kB / 0.7245 GB, free: 19.8 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.5073, allocations: 1.219 kB / 0.7245 GB, free: 19.8 MB / 0.6355 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003338/0.5076, allocations: 277.3 kB / 0.7247 GB, free: 19.64 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.426e-05/0.5077, allocations: 36.16 kB / 0.7248 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.5077, allocations: 7.438 kB / 0.7248 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.5077, allocations: 3.406 kB / 0.7248 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.536e-05/0.5078, allocations: 28.09 kB / 0.7248 GB, free: 19.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.185e-05/0.5078, allocations: 4.719 kB / 0.7248 GB, free: 19.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001331/0.5079, allocations: 52.94 kB / 0.7249 GB, free: 19.58 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.169e-05/0.5079, allocations: 9.953 kB / 0.7249 GB, free: 19.58 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 7.301e-05/0.508, allocations: 134.6 kB / 0.725 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.207e-05/0.508, allocations: 8.859 kB / 0.725 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.565e-05/0.5081, allocations: 16.72 kB / 0.725 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.5081, allocations: 6 kB / 0.725 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.5081, allocations: 1.188 kB / 0.725 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.5081, allocations: 8.5 kB / 0.725 GB, free: 19.42 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003673/0.5084, allocations: 330.2 kB / 0.7254 GB, free: 19.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.5084, allocations: 3.938 kB / 0.7254 GB, free: 19.16 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.392e-05/0.5085, allocations: 13.41 kB / 0.7254 GB, free: 19.16 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.5085, allocations: 0.6094 kB / 0.7254 GB, free: 19.16 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.5085, allocations: 3.109 kB / 0.7254 GB, free: 19.16 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.5085, allocations: 3.938 kB / 0.7254 GB, free: 19.15 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.5085, allocations: 1 kB / 0.7254 GB, free: 19.15 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000291/0.5088, allocations: 246.5 kB / 0.7256 GB, free: 18.98 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.306e-05/0.5088, allocations: 12.23 kB / 0.7256 GB, free: 18.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.629e-05/0.5088, allocations: 1.422 kB / 0.7256 GB, free: 18.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.843e-05/0.5089, allocations: 11.33 kB / 0.7256 GB, free: 18.97 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.287e-05/0.5089, allocations: 11.31 kB / 0.7256 GB, free: 18.97 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.046e-05/0.5089, allocations: 8 kB / 0.7257 GB, free: 18.96 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.905e-05/0.509, allocations: 107.6 kB / 0.7258 GB, free: 18.88 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.509, allocations: 0 / 0.7258 GB, free: 18.88 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002117/0.5092, allocations: 37.52 kB / 0.7258 GB, free: 18.87 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.0001325/0.5093, allocations: 98.73 kB / 0.7259 GB, free: 18.79 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002965/0.5096, allocations: 205.4 kB / 0.7261 GB, free: 18.65 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.5096, allocations: 2.312 kB / 0.7261 GB, free: 18.65 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.946e-05/0.5097, allocations: 39.89 kB / 0.7261 GB, free: 18.64 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002375/0.5099, allocations: 20.66 kB / 0.7261 GB, free: 18.64 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004887/0.5104, allocations: 267.3 kB / 0.7264 GB, free: 18.44 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.084e-05/0.5105, allocations: 91.61 kB / 0.7265 GB, free: 18.37 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.72e-05/0.5106, allocations: 14.92 kB / 0.7265 GB, free: 18.36 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.219e-05/0.5106, allocations: 17.72 kB / 0.7265 GB, free: 18.36 MB / 0.6355 GB Notification: Performance of SimCode: time 8.92e-07/0.5106, allocations: 4 kB / 0.7265 GB, free: 18.35 MB / 0.6355 GB Notification: Performance of Templates: time 0.004466/0.5151, allocations: 1.748 MB / 0.7282 GB, free: 18.14 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 cvode -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.4375582539942116] Failed to read output from testmodel.py, exit status != 0: 0.5212881040060893 0.5313893869999999 0.025456708 Calling exit ...