Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.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.001765/0.001765, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.002365/0.002365, allocations: 220.2 kB / 22.26 MB, free: 5.121 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.512/1.512, allocations: 230.6 MB / 256 MB, free: 8.02 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.332/1.332, allocations: 203.8 MB / 0.5041 GB, free: 4.957 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.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change") [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.002137/0.002137, allocations: 67.89 kB / 0.7187 GB, free: 2.238 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6578/0.6599, allocations: 102 MB / 0.8183 GB, free: 29.17 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Change): time 0.002187/0.6621, allocations: 0.7355 MB / 0.8191 GB, free: 28.71 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.001596/0.6637, allocations: 1.195 MB / 0.8202 GB, free: 27.84 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.589e-05/0.6638, allocations: 1.031 kB / 0.8202 GB, free: 27.84 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 3.128e-05/0.6638, allocations: 3.938 kB / 0.8202 GB, free: 27.84 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 8.819e-05/0.6639, allocations: 15.34 kB / 0.8202 GB, free: 27.83 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005532/0.6644, allocations: 129.2 kB / 0.8204 GB, free: 27.77 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0002058/0.6646, allocations: 121.7 kB / 0.8205 GB, free: 27.71 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.6647, allocations: 15.11 kB / 0.8205 GB, free: 27.7 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001048/0.6648, allocations: 50.03 kB / 0.8205 GB, free: 27.68 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000113/0.665, allocations: 40.94 kB / 0.8206 GB, free: 27.67 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 3.006e-05/0.665, allocations: 9.938 kB / 0.8206 GB, free: 27.67 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 7.829e-05/0.6651, allocations: 28.59 kB / 0.8206 GB, free: 27.66 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 2.397e-05/0.6651, allocations: 14.09 kB / 0.8206 GB, free: 27.65 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 6.894e-05/0.6652, allocations: 41.97 kB / 0.8207 GB, free: 27.63 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0002244/0.6654, allocations: 114.2 kB / 0.8208 GB, free: 27.59 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.6654, allocations: 1.312 kB / 0.8208 GB, free: 27.59 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.663e-06/0.6654, allocations: 0.7812 kB / 0.8208 GB, free: 27.59 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.6654, allocations: 0 / 0.8208 GB, free: 27.59 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.0005893/0.666, allocations: 340.8 kB / 0.8211 GB, free: 27.27 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.666, allocations: 11.81 kB / 0.8211 GB, free: 27.27 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.99e-05/0.6661, allocations: 6.312 kB / 0.8211 GB, free: 27.27 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.059e-05/0.6662, allocations: 120.4 kB / 0.8212 GB, free: 27.14 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.756e-05/0.6662, allocations: 9.859 kB / 0.8213 GB, free: 27.13 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.144e-05/0.6662, allocations: 7.531 kB / 0.8213 GB, free: 27.13 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002094/0.6664, allocations: 63.05 kB / 0.8213 GB, free: 27.09 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.6664, allocations: 192 / 0.8213 GB, free: 27.09 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.51e-05/0.6665, allocations: 10.97 kB / 0.8213 GB, free: 27.09 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.74e-06/0.6665, allocations: 4.438 kB / 0.8213 GB, free: 27.08 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001959/0.6667, allocations: 43.02 kB / 0.8214 GB, free: 27.07 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005066/0.6672, allocations: 294 kB / 0.8217 GB, free: 26.82 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001863/0.6674, allocations: 72.17 kB / 0.8217 GB, free: 26.77 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001106/0.6675, allocations: 29.86 kB / 0.8218 GB, free: 26.76 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.166e-05/0.6675, allocations: 1.031 kB / 0.8218 GB, free: 26.76 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002912/0.6678, allocations: 93.36 kB / 0.8218 GB, free: 26.7 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=8): time 1.453e-06/0.6678, allocations: 0 / 0.8218 GB, free: 26.7 MB / 0.6387 GB Notification: Performance of matching and sorting (n=8): time 0.0005113/0.6683, allocations: 142.1 kB / 0.822 GB, free: 26.64 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.26e-05/0.6683, allocations: 57.27 kB / 0.822 GB, free: 26.57 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.291e-05/0.6684, allocations: 121 kB / 0.8221 GB, free: 26.46 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.471e-05/0.6684, allocations: 28.61 kB / 0.8222 GB, free: 26.43 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 5.252e-05/0.6685, allocations: 95.05 kB / 0.8223 GB, free: 26.34 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 2.896e-05/0.6685, allocations: 20.11 kB / 0.8223 GB, free: 26.33 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.319e-05/0.6686, allocations: 42.28 kB / 0.8223 GB, free: 26.3 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 6.828e-05/0.6687, allocations: 320.2 kB / 0.8226 GB, free: 25.98 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001994/0.6689, allocations: 57.69 kB / 0.8227 GB, free: 25.96 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002043/0.6691, allocations: 82.91 kB / 0.8228 GB, free: 25.91 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003106/0.6694, allocations: 145.6 kB / 0.8229 GB, free: 25.8 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.6694, allocations: 0.5312 kB / 0.8229 GB, free: 25.8 MB / 0.6387 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004879/0.6699, allocations: 207.3 kB / 0.8231 GB, free: 25.7 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.938e-05/0.6699, allocations: 38.25 kB / 0.8231 GB, free: 25.66 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.6699, allocations: 6.828 kB / 0.8231 GB, free: 25.66 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.471e-05/0.67, allocations: 2 kB / 0.8231 GB, free: 25.66 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.864e-05/0.6701, allocations: 10.44 kB / 0.8232 GB, free: 25.66 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.163e-05/0.6701, allocations: 6.562 kB / 0.8232 GB, free: 25.66 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002144/0.6703, allocations: 33.94 kB / 0.8232 GB, free: 25.65 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.344e-05/0.6703, allocations: 7.906 kB / 0.8232 GB, free: 25.65 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,change.y,change.u,$PRE.change.u,booPul.y,$PRE.booPul.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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 9.253e-05/0.6704, allocations: 130.9 kB / 0.8233 GB, free: 25.52 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.753e-05/0.6704, allocations: 8.594 kB / 0.8233 GB, free: 25.52 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.205e-05/0.6704, allocations: 10.59 kB / 0.8233 GB, free: 25.51 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.6704, allocations: 4.562 kB / 0.8234 GB, free: 25.51 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.6705, allocations: 1.344 kB / 0.8234 GB, free: 25.51 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.6705, allocations: 0.6094 kB / 0.8234 GB, free: 25.51 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004338/0.6709, allocations: 344.6 kB / 0.8237 GB, free: 25.21 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.6709, allocations: 1.688 kB / 0.8237 GB, free: 25.21 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.373e-05/0.6709, allocations: 12.52 kB / 0.8237 GB, free: 25.21 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.6709, allocations: 0 / 0.8237 GB, free: 25.21 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.671, allocations: 5.969 kB / 0.8237 GB, free: 25.2 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.255e-06/0.671, allocations: 1.594 kB / 0.8237 GB, free: 25.2 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.671, allocations: 0.6562 kB / 0.8237 GB, free: 25.2 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002679/0.6712, allocations: 212.3 kB / 0.8239 GB, free: 25.04 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.198e-05/0.6712, allocations: 11.08 kB / 0.8239 GB, free: 25.04 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.113e-05/0.6713, allocations: 5.969 kB / 0.8239 GB, free: 25.03 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.178e-05/0.6713, allocations: 6.75 kB / 0.8239 GB, free: 25.03 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.049e-05/0.6714, allocations: 14.12 kB / 0.8239 GB, free: 25.02 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.886e-06/0.6714, allocations: 5.844 kB / 0.8239 GB, free: 25.02 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 4.174e-05/0.6714, allocations: 95.02 kB / 0.824 GB, free: 24.94 MB / 0.6387 GB Notification: Performance of sort global known variables: time 6e-08/0.6714, allocations: 0 / 0.824 GB, free: 24.94 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002724/0.6717, allocations: 25.05 kB / 0.8241 GB, free: 24.94 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: 7 (change.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.000134/0.6719, allocations: 101.8 kB / 0.8242 GB, free: 24.85 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0003876/0.6722, allocations: 167.4 kB / 0.8243 GB, free: 24.75 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.6722, allocations: 0 / 0.8243 GB, free: 24.75 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001245/0.6724, allocations: 36.55 kB / 0.8244 GB, free: 24.74 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002937/0.6727, allocations: 16.41 kB / 0.8244 GB, free: 24.73 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004001/0.6731, allocations: 167.8 kB / 0.8245 GB, free: 24.59 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001599/0.6732, allocations: 0.6885 MB / 0.8252 GB, free: 23.89 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 3.525e-05/0.6733, allocations: 9.453 kB / 0.8252 GB, free: 23.89 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.809e-05/0.6733, allocations: 10.78 kB / 0.8252 GB, free: 23.88 MB / 0.6387 GB Notification: Performance of SimCode: time 2.91e-07/0.6733, allocations: 0 / 0.8252 GB, free: 23.88 MB / 0.6387 GB Notification: Performance of Templates: time 0.005567/0.6789, allocations: 1.476 MB / 0.8267 GB, free: 23.74 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.964834554120898] Failed to read output from testmodel.py, exit status != 0: 0.6878061778843403 0.701242591 0.032964249 Calling exit ...