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.0007901/0.0007901, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0008531/0.0008531, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8394/0.8394, allocations: 177.1 MB / 203.5 MB, free: 5.734 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.7067/0.7067, allocations: 154.6 MB / 414.5 MB, free: 0.7852 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: Performance of FrontEnd - loaded program: time 2.735e-06/2.735e-06, allocations: 0 / 0.6194 GB, free: 13.11 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.739e-05/3.013e-05, allocations: 2.281 kB / 0.6194 GB, free: 13.11 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.002029/0.00206, allocations: 0.838 MB / 0.6202 GB, free: 12.27 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001428/0.003488, allocations: 1.205 MB / 0.6214 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.946e-05/0.003557, allocations: 4 kB / 0.6214 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 4.112e-05/0.003598, allocations: 11.86 kB / 0.6214 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 8.503e-05/0.003684, allocations: 19.75 kB / 0.6214 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004967/0.00418, allocations: 161.5 kB / 0.6216 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.000209/0.004389, allocations: 163.6 kB / 0.6217 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001304/0.00452, allocations: 29.23 kB / 0.6218 GB, free: 10.67 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001367/0.004656, allocations: 91.86 kB / 0.6218 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001013/0.004758, allocations: 59.78 kB / 0.6219 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.882e-05/0.004786, allocations: 16 kB / 0.6219 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 6.571e-05/0.004852, allocations: 27.92 kB / 0.6219 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 3.031e-05/0.004882, allocations: 23.91 kB / 0.622 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 6.572e-05/0.004948, allocations: 59.89 kB / 0.622 GB, free: 10.4 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002382/0.005186, allocations: 187.4 kB / 0.6222 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.00519, allocations: 0 / 0.6222 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.142e-06/0.005191, allocations: 0 / 0.6222 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.005196, allocations: 0 / 0.6222 GB, free: 10.21 MB / 0.5886 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.0006335/0.005829, allocations: 410.1 kB / 0.6226 GB, free: 9.766 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.005869, allocations: 12.02 kB / 0.6226 GB, free: 9.754 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.848e-05/0.005928, allocations: 16.84 kB / 0.6226 GB, free: 9.738 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004027/0.006331, allocations: 191.8 kB / 0.6228 GB, free: 9.527 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/0.006348, allocations: 12.36 kB / 0.6228 GB, free: 9.516 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.464e-05/0.006383, allocations: 16.33 kB / 0.6228 GB, free: 9.5 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001823/0.006565, allocations: 94.14 kB / 0.6229 GB, free: 9.402 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.006575, allocations: 192 / 0.6229 GB, free: 9.402 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.006587, allocations: 384 / 0.6229 GB, free: 9.402 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.006596, allocations: 8.109 kB / 0.6229 GB, free: 9.395 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001146/0.006711, allocations: 47.97 kB / 0.623 GB, free: 9.348 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005805/0.007291, allocations: 304.2 kB / 0.6233 GB, free: 9.02 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 8.174e-05/0.007373, allocations: 42.48 kB / 0.6233 GB, free: 8.969 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.824e-05/0.007421, allocations: 24.97 kB / 0.6233 GB, free: 8.941 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.106e-05/0.007442, allocations: 0 / 0.6233 GB, free: 8.941 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000213/0.007655, allocations: 103.2 kB / 0.6234 GB, free: 8.828 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=10): time 1.382e-06/0.007657, allocations: 4 kB / 0.6234 GB, free: 8.824 MB / 0.5886 GB Notification: Performance of matching and sorting (n=10): time 0.0002699/0.007926, allocations: 133.5 kB / 0.6236 GB, free: 8.688 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.44e-05/0.007961, allocations: 51.41 kB / 0.6236 GB, free: 8.625 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.307e-05/0.008054, allocations: 142.2 kB / 0.6237 GB, free: 8.477 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.13e-05/0.008075, allocations: 29.7 kB / 0.6238 GB, free: 8.441 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.943e-05/0.008135, allocations: 116.1 kB / 0.6239 GB, free: 8.324 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.859e-05/0.008153, allocations: 27.8 kB / 0.6239 GB, free: 8.297 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.983e-05/0.008213, allocations: 57.62 kB / 0.624 GB, free: 8.234 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.628e-05/0.008289, allocations: 322.8 kB / 0.6243 GB, free: 7.91 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001068/0.008396, allocations: 77.67 kB / 0.6244 GB, free: 7.828 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000131/0.008527, allocations: 162.7 kB / 0.6245 GB, free: 7.625 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001819/0.008709, allocations: 200.6 kB / 0.6247 GB, free: 7.383 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.008712, allocations: 0 / 0.6247 GB, free: 7.383 MB / 0.5886 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000287/0.008999, allocations: 280.6 kB / 0.625 GB, free: 7.09 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.559e-05/0.009035, allocations: 33.7 kB / 0.625 GB, free: 7.051 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.00904, allocations: 4 kB / 0.625 GB, free: 7.047 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.009054, allocations: 4 kB / 0.625 GB, free: 7.043 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.516e-05/0.00912, allocations: 28.36 kB / 0.625 GB, free: 7.016 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.009129, allocations: 15.92 kB / 0.625 GB, free: 7 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001092/0.009238, allocations: 39.86 kB / 0.6251 GB, free: 6.961 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.667e-05/0.009255, allocations: 12 kB / 0.6251 GB, free: 6.949 MB / 0.5886 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.758e-05/0.009333, allocations: 130.8 kB / 0.6252 GB, free: 6.812 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.048e-05/0.009343, allocations: 11.95 kB / 0.6252 GB, free: 6.801 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.116e-05/0.009374, allocations: 16.72 kB / 0.6252 GB, free: 6.785 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.009376, allocations: 0 / 0.6252 GB, free: 6.785 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.009381, allocations: 0 / 0.6252 GB, free: 6.785 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.009386, allocations: 7.984 kB / 0.6253 GB, free: 6.777 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000339/0.009725, allocations: 342 kB / 0.6256 GB, free: 6.406 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.009726, allocations: 0 / 0.6256 GB, free: 6.406 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.647e-05/0.009773, allocations: 11.98 kB / 0.6256 GB, free: 6.395 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.009775, allocations: 0 / 0.6256 GB, free: 6.395 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.009785, allocations: 4 kB / 0.6256 GB, free: 6.391 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.552e-06/0.009787, allocations: 3.938 kB / 0.6256 GB, free: 6.387 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.009788, allocations: 0 / 0.6256 GB, free: 6.387 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002345/0.01002, allocations: 251.3 kB / 0.6258 GB, free: 6.125 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.184e-05/0.01003, allocations: 8.141 kB / 0.6258 GB, free: 6.117 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.391e-05/0.01005, allocations: 0 / 0.6258 GB, free: 6.117 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.708e-05/0.0101, allocations: 11.97 kB / 0.6259 GB, free: 6.105 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.871e-05/0.01013, allocations: 12.12 kB / 0.6259 GB, free: 6.094 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.374e-06/0.01014, allocations: 7.938 kB / 0.6259 GB, free: 6.086 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.733e-05/0.01019, allocations: 112.6 kB / 0.626 GB, free: 5.977 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.01019, allocations: 0 / 0.626 GB, free: 5.977 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001856/0.01037, allocations: 32 kB / 0.626 GB, free: 5.945 MB / 0.5886 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.000145/0.01052, allocations: 107.1 kB / 0.6261 GB, free: 5.832 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002512/0.01077, allocations: 200.9 kB / 0.6263 GB, free: 5.617 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.01077, allocations: 0.75 kB / 0.6263 GB, free: 5.617 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.000269/0.01104, allocations: 43.91 kB / 0.6264 GB, free: 5.574 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002304/0.01127, allocations: 18.73 kB / 0.6264 GB, free: 5.559 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004395/0.01171, allocations: 259.5 kB / 0.6266 GB, free: 5.273 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.632e-05/0.01177, allocations: 97.75 kB / 0.6267 GB, free: 5.16 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.025e-05/0.0118, allocations: 20.48 kB / 0.6267 GB, free: 5.141 MB / 0.5886 GB Notification: Performance of SimCode: time 8.21e-07/0.0118, allocations: 4 kB / 0.6267 GB, free: 5.137 MB / 0.5886 GB Notification: Performance of Templates: time 0.002723/0.01452, allocations: 1.768 MB / 0.6285 GB, free: 3.387 MB / 0.5886 GB " [Timeout remaining time 660] 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 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.985849728807807] Failed to read output from testmodel.py, exit status != 0: 0.020423240959644318 0.028151414000000003 0.021105588 Calling exit ...