Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler.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.001556/0.001556, allocations: 95.64 kB / 18.95 MB, free: 2.691 MB / 14.72 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.002083/0.002083, allocations: 213.6 kB / 22.24 MB, free: 5.242 MB / 14.72 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.565/1.565, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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-531:190: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-531:198: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 1.292/1.292, allocations: 203.8 MB / 0.5041 GB, free: 4.621 MB / 414.1 MB " [Timeout remaining time 178] 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.Discrete.Validation.Sampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler") translateModel(IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler") [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.002179/0.002179, allocations: 75.89 kB / 0.7186 GB, free: 2.02 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.64/0.6421, allocations: 102 MB / 0.8182 GB, free: 28.93 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler): time 0.002276/0.6444, allocations: 0.6521 MB / 0.8189 GB, free: 28.55 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.001689/0.6461, allocations: 1.084 MB / 0.8199 GB, free: 27.77 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.212e-05/0.6462, allocations: 2.281 kB / 0.8199 GB, free: 27.77 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 3.186e-05/0.6462, allocations: 3.938 kB / 0.8199 GB, free: 27.77 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 8.672e-05/0.6463, allocations: 6.75 kB / 0.82 GB, free: 27.76 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.000372/0.6467, allocations: 46.81 kB / 0.82 GB, free: 27.73 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0001207/0.6468, allocations: 46.95 kB / 0.82 GB, free: 27.71 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.6469, allocations: 5.281 kB / 0.82 GB, free: 27.71 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 9.554e-05/0.647, allocations: 26.39 kB / 0.8201 GB, free: 27.7 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 6.572e-05/0.6471, allocations: 21.58 kB / 0.8201 GB, free: 27.7 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 2.275e-05/0.6471, allocations: 6.375 kB / 0.8201 GB, free: 27.7 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001011/0.6472, allocations: 27.45 kB / 0.8201 GB, free: 27.68 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 3.244e-05/0.6472, allocations: 9.156 kB / 0.8201 GB, free: 27.68 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 4.314e-05/0.6473, allocations: 18.84 kB / 0.8201 GB, free: 27.67 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0001863/0.6474, allocations: 59.47 kB / 0.8202 GB, free: 27.65 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/0.6474, allocations: 1.625 kB / 0.8202 GB, free: 27.65 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.064e-06/0.6474, allocations: 0 / 0.8202 GB, free: 27.65 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.762e-06/0.6475, allocations: 1.094 kB / 0.8202 GB, free: 27.65 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006915/0.6481, allocations: 294.2 kB / 0.8205 GB, free: 27.37 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.955e-05/0.6482, allocations: 12.16 kB / 0.8205 GB, free: 27.37 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001216/0.6483, allocations: 9.641 kB / 0.8205 GB, free: 27.37 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.247e-05/0.6484, allocations: 110.5 kB / 0.8206 GB, free: 27.24 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/0.6484, allocations: 2.125 kB / 0.8206 GB, free: 27.24 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.619e-05/0.6484, allocations: 4.688 kB / 0.8206 GB, free: 27.24 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002274/0.6487, allocations: 65.62 kB / 0.8207 GB, free: 27.2 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.6487, allocations: 1.75 kB / 0.8207 GB, free: 27.2 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.578e-05/0.6487, allocations: 6.562 kB / 0.8207 GB, free: 27.19 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.6487, allocations: 1.438 kB / 0.8207 GB, free: 27.19 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002043/0.6489, allocations: 46.72 kB / 0.8207 GB, free: 27.18 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004654/0.6494, allocations: 209 kB / 0.8209 GB, free: 26.97 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001976/0.6496, allocations: 55.84 kB / 0.821 GB, free: 26.94 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001157/0.6497, allocations: 35.55 kB / 0.821 GB, free: 26.92 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.751e-05/0.6497, allocations: 2.094 kB / 0.821 GB, free: 26.92 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002432/0.65, allocations: 72.81 kB / 0.8211 GB, free: 26.86 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=6): time 1.453e-06/0.65, allocations: 0.5 kB / 0.8211 GB, free: 26.86 MB / 0.6387 GB Notification: Performance of matching and sorting (n=6): time 0.0004898/0.6505, allocations: 128.2 kB / 0.8212 GB, free: 26.8 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.561e-05/0.6505, allocations: 57.12 kB / 0.8213 GB, free: 26.74 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.626e-05/0.6506, allocations: 105.6 kB / 0.8214 GB, free: 26.64 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.355e-05/0.6506, allocations: 27.58 kB / 0.8214 GB, free: 26.61 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 4.475e-05/0.6506, allocations: 87.14 kB / 0.8215 GB, free: 26.52 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 2.651e-05/0.6507, allocations: 22.64 kB / 0.8215 GB, free: 26.5 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.801e-05/0.6507, allocations: 22.16 kB / 0.8215 GB, free: 26.48 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 7.847e-05/0.6508, allocations: 318.4 kB / 0.8218 GB, free: 26.17 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001146/0.6509, allocations: 23.16 kB / 0.8219 GB, free: 26.16 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00012/0.651, allocations: 47.86 kB / 0.8219 GB, free: 26.13 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002226/0.6513, allocations: 87.25 kB / 0.822 GB, free: 26.07 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.6513, allocations: 0.625 kB / 0.822 GB, free: 26.07 MB / 0.6387 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002959/0.6516, allocations: 111 kB / 0.8221 GB, free: 26.02 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.6516, allocations: 10.3 kB / 0.8221 GB, free: 26.02 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.6516, allocations: 0 / 0.8221 GB, free: 26.02 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.102e-05/0.6516, allocations: 6.734 kB / 0.8221 GB, free: 26.01 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001197/0.6517, allocations: 16.75 kB / 0.8221 GB, free: 26.01 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.119e-05/0.6517, allocations: 2.125 kB / 0.8221 GB, free: 26.01 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.706e-05/0.6518, allocations: 7.062 kB / 0.8221 GB, free: 26.01 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.88e-05/0.6518, allocations: 3.734 kB / 0.8221 GB, free: 26.01 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 (sampler1.firstTrigger,$PRE.sampler1.firstTrigger,sampler1.sampleTrigger,$whenCondition1,sampler1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 8.702e-05/0.6519, allocations: 119.6 kB / 0.8222 GB, free: 25.89 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.636e-05/0.6519, allocations: 10.7 kB / 0.8223 GB, free: 25.88 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003609/0.6523, allocations: 104.8 kB / 0.8224 GB, free: 25.82 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.6523, allocations: 1.172 kB / 0.8224 GB, free: 25.82 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.6523, allocations: 0.5625 kB / 0.8224 GB, free: 25.82 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.6523, allocations: 1.141 kB / 0.8224 GB, free: 25.82 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004383/0.6527, allocations: 293 kB / 0.8226 GB, free: 25.57 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.6527, allocations: 1.406 kB / 0.8226 GB, free: 25.57 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.745e-05/0.6528, allocations: 13.05 kB / 0.8227 GB, free: 25.56 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.6528, allocations: 0.5312 kB / 0.8227 GB, free: 25.56 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.6528, allocations: 5.703 kB / 0.8227 GB, free: 25.56 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.095e-06/0.6528, allocations: 4.562 kB / 0.8227 GB, free: 25.55 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.6528, allocations: 0.5312 kB / 0.8227 GB, free: 25.55 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003238/0.6532, allocations: 199.5 kB / 0.8229 GB, free: 25.4 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.153e-05/0.6532, allocations: 5.938 kB / 0.8229 GB, free: 25.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.6532, allocations: 2.391 kB / 0.8229 GB, free: 25.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.6533, allocations: 16.06 kB / 0.8229 GB, free: 25.39 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.304e-05/0.6533, allocations: 3.172 kB / 0.8229 GB, free: 25.39 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.409e-05/0.6533, allocations: 2.938 kB / 0.8229 GB, free: 25.39 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 3.184e-05/0.6534, allocations: 86.41 kB / 0.823 GB, free: 25.31 MB / 0.6387 GB Notification: Performance of sort global known variables: time 7e-08/0.6534, allocations: 0 / 0.823 GB, free: 25.31 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002486/0.6536, allocations: 11.59 kB / 0.823 GB, free: 25.31 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (sampler1.sampleTrigger,$whenCondition1,sampler1.y,sampler1.firstTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000144/0.6538, allocations: 100.8 kB / 0.8231 GB, free: 25.22 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0002821/0.654, allocations: 68.03 kB / 0.8231 GB, free: 25.2 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.654, allocations: 1.281 kB / 0.8231 GB, free: 25.2 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001161/0.6542, allocations: 34.64 kB / 0.8232 GB, free: 25.19 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002949/0.6545, allocations: 13.72 kB / 0.8232 GB, free: 25.18 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003952/0.6549, allocations: 132.3 kB / 0.8233 GB, free: 25.06 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.976e-05/0.6549, allocations: 66.16 kB / 0.8234 GB, free: 24.99 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 3.48e-05/0.655, allocations: 7.516 kB / 0.8234 GB, free: 24.99 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.086e-05/0.655, allocations: 11.62 kB / 0.8234 GB, free: 24.98 MB / 0.6387 GB Notification: Performance of SimCode: time 6.81e-07/0.655, allocations: 0 / 0.8234 GB, free: 24.98 MB / 0.6387 GB Notification: Performance of Templates: time 0.004151/0.6591, allocations: 0.8494 MB / 0.8242 GB, free: 24.88 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.057282987982035] Failed to read output from testmodel.py, exit status != 0: 0.668450478464365 0.6835726280000001 0.032960973000000005 Calling exit ...