Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.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.001368/0.001368, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001587/0.001587, allocations: 215 kB / 22.25 MB, free: 4.859 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.498/1.498, 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.311/1.311, allocations: 203.8 MB / 0.5041 GB, free: 4.602 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.Logical.Sources.Validation.SampleTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") translateModel(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") [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.002207/0.002207, allocations: 59.91 kB / 0.7187 GB, free: 1.887 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6591/0.6613, allocations: 102 MB / 0.8183 GB, free: 28.9 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.001967/0.6633, allocations: 0.723 MB / 0.819 GB, free: 28.48 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.001283/0.6646, allocations: 1.093 MB / 0.82 GB, free: 27.68 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.917e-05/0.6646, allocations: 0 / 0.82 GB, free: 27.68 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 3.28e-05/0.6647, allocations: 5.734 kB / 0.82 GB, free: 27.68 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 7.113e-05/0.6647, allocations: 14.2 kB / 0.8201 GB, free: 27.67 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002982/0.665, allocations: 53.5 kB / 0.8201 GB, free: 27.64 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0001076/0.6651, allocations: 77.61 kB / 0.8202 GB, free: 27.6 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.6652, allocations: 16.67 kB / 0.8202 GB, free: 27.59 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 7.386e-05/0.6653, allocations: 26.91 kB / 0.8202 GB, free: 27.58 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 5.8e-05/0.6654, allocations: 31.25 kB / 0.8203 GB, free: 27.57 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.813e-05/0.6654, allocations: 6.188 kB / 0.8203 GB, free: 27.57 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 6.188e-05/0.6654, allocations: 21.72 kB / 0.8203 GB, free: 27.56 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 2.378e-05/0.6655, allocations: 9.719 kB / 0.8203 GB, free: 27.55 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 4.603e-05/0.6655, allocations: 27.52 kB / 0.8203 GB, free: 27.54 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0001618/0.6657, allocations: 82.8 kB / 0.8204 GB, free: 27.51 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.6657, allocations: 3.578 kB / 0.8204 GB, free: 27.51 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.753e-06/0.6657, allocations: 0 / 0.8204 GB, free: 27.51 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.6657, allocations: 0 / 0.8204 GB, free: 27.51 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004981/0.6662, allocations: 303.3 kB / 0.8207 GB, free: 27.23 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.6662, allocations: 11.2 kB / 0.8207 GB, free: 27.23 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.666e-05/0.6663, allocations: 9.828 kB / 0.8207 GB, free: 27.22 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.98e-05/0.6664, allocations: 124.7 kB / 0.8208 GB, free: 27.08 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.617e-05/0.6664, allocations: 6.594 kB / 0.8208 GB, free: 27.08 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.807e-05/0.6664, allocations: 4.891 kB / 0.8208 GB, free: 27.08 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002098/0.6666, allocations: 69.06 kB / 0.8209 GB, free: 27.04 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.6666, allocations: 4.531 kB / 0.8209 GB, free: 27.03 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.6666, allocations: 9.797 kB / 0.8209 GB, free: 27.02 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.6666, allocations: 1.344 kB / 0.8209 GB, free: 27.02 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001852/0.6668, allocations: 45.52 kB / 0.821 GB, free: 27.02 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005803/0.6674, allocations: 255.8 kB / 0.8212 GB, free: 26.79 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001794/0.6676, allocations: 55.09 kB / 0.8213 GB, free: 26.76 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.926e-05/0.6677, allocations: 28.62 kB / 0.8213 GB, free: 26.75 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.212e-05/0.6677, allocations: 2.469 kB / 0.8213 GB, free: 26.75 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00019/0.6679, allocations: 78.41 kB / 0.8214 GB, free: 26.69 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=7): time 1.533e-06/0.6679, allocations: 4.547 kB / 0.8214 GB, free: 26.68 MB / 0.6387 GB Notification: Performance of matching and sorting (n=7): time 0.0004359/0.6683, allocations: 130.8 kB / 0.8215 GB, free: 26.63 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.308e-05/0.6684, allocations: 54.09 kB / 0.8215 GB, free: 26.57 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.414e-05/0.6684, allocations: 125 kB / 0.8217 GB, free: 26.46 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.431e-05/0.6685, allocations: 27.38 kB / 0.8217 GB, free: 26.43 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 3.924e-05/0.6685, allocations: 104.8 kB / 0.8218 GB, free: 26.33 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 1.988e-05/0.6685, allocations: 11.55 kB / 0.8218 GB, free: 26.32 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.752e-05/0.6686, allocations: 30.34 kB / 0.8218 GB, free: 26.3 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 5.345e-05/0.6686, allocations: 323.9 kB / 0.8221 GB, free: 25.98 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001286/0.6687, allocations: 26.84 kB / 0.8222 GB, free: 25.97 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001476/0.6689, allocations: 72.05 kB / 0.8222 GB, free: 25.91 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002672/0.6692, allocations: 110.8 kB / 0.8223 GB, free: 25.83 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.6692, allocations: 1 kB / 0.8223 GB, free: 25.83 MB / 0.6387 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003359/0.6695, allocations: 133.8 kB / 0.8225 GB, free: 25.77 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/0.6695, allocations: 7.844 kB / 0.8225 GB, free: 25.77 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.6695, allocations: 2.219 kB / 0.8225 GB, free: 25.77 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.6696, allocations: 2.5 kB / 0.8225 GB, free: 25.77 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001445/0.6697, allocations: 24.66 kB / 0.8225 GB, free: 25.77 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.298e-06/0.6697, allocations: 6.578 kB / 0.8225 GB, free: 25.76 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.058e-05/0.6698, allocations: 16.67 kB / 0.8225 GB, free: 25.75 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.597e-05/0.6698, allocations: 4.688 kB / 0.8225 GB, free: 25.75 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 8 (triggeredSampler1.y,$PRE.triggeredSampler1.y,triggeredSampler.y,$PRE.triggeredSampler.y,samTri.y,$whenCondition1,samTri1.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 7.023e-05/0.6699, allocations: 130.2 kB / 0.8227 GB, free: 25.62 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.377e-05/0.6699, allocations: 7.609 kB / 0.8227 GB, free: 25.62 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.829e-05/0.6699, allocations: 14.27 kB / 0.8227 GB, free: 25.61 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.6699, allocations: 5.109 kB / 0.8227 GB, free: 25.61 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.6699, allocations: 0 / 0.8227 GB, free: 25.61 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.6699, allocations: 0.6094 kB / 0.8227 GB, free: 25.61 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003955/0.6703, allocations: 313.7 kB / 0.823 GB, free: 25.34 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.6703, allocations: 0 / 0.823 GB, free: 25.34 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.574e-05/0.6704, allocations: 15.62 kB / 0.823 GB, free: 25.34 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.6704, allocations: 1.828 kB / 0.823 GB, free: 25.34 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.297e-06/0.6704, allocations: 0.875 kB / 0.823 GB, free: 25.34 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.6704, allocations: 5.062 kB / 0.823 GB, free: 25.33 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.6704, allocations: 4 kB / 0.823 GB, free: 25.33 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002598/0.6707, allocations: 201.7 kB / 0.8232 GB, free: 25.18 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.114e-05/0.6707, allocations: 7.5 kB / 0.8232 GB, free: 25.17 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.661e-05/0.6707, allocations: 2.047 kB / 0.8232 GB, free: 25.17 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.439e-05/0.6708, allocations: 10.8 kB / 0.8232 GB, free: 25.17 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.547e-05/0.6708, allocations: 4.656 kB / 0.8232 GB, free: 25.17 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.053e-06/0.6708, allocations: 7.344 kB / 0.8232 GB, free: 25.16 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 4.002e-05/0.6709, allocations: 97.8 kB / 0.8233 GB, free: 25.08 MB / 0.6387 GB Notification: Performance of sort global known variables: time 7e-08/0.6709, allocations: 3.938 kB / 0.8233 GB, free: 25.08 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.000253/0.6711, allocations: 18.84 kB / 0.8233 GB, free: 25.07 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: 6 (samTri1.y,samTri.y,$whenCondition2,$whenCondition1,triggeredSampler.y,triggeredSampler1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * 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.0001357/0.6712, allocations: 102.9 kB / 0.8234 GB, free: 24.98 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0002807/0.6715, allocations: 72.5 kB / 0.8235 GB, free: 24.97 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.6715, allocations: 448 / 0.8235 GB, free: 24.97 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001115/0.6716, allocations: 37.44 kB / 0.8236 GB, free: 24.96 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000264/0.6719, allocations: 15.39 kB / 0.8236 GB, free: 24.95 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000309/0.6722, allocations: 160.4 kB / 0.8237 GB, free: 24.81 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.988e-05/0.6723, allocations: 76.08 kB / 0.8238 GB, free: 24.73 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 3.573e-05/0.6723, allocations: 13.2 kB / 0.8238 GB, free: 24.73 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.178e-05/0.6723, allocations: 17.05 kB / 0.8238 GB, free: 24.71 MB / 0.6387 GB Notification: Performance of SimCode: time 3.51e-07/0.6723, allocations: 1.438 kB / 0.8238 GB, free: 24.71 MB / 0.6387 GB Notification: Performance of Templates: time 0.003852/0.6762, allocations: 1.059 MB / 0.8249 GB, free: 24.59 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.889166697859764] Failed to read output from testmodel.py, exit status != 0: 0.6837345641106367 0.6954530720000001 0.027102424 Calling exit ...