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.001005/0.001005, allocations: 115 kB / 19.7 MB, free: 0.5273 MB / 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.0008022/0.0008022, allocations: 199.9 kB / 23 MB, free: 3.113 MB / 13.93 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.8971/0.8971, allocations: 230.6 MB / 256.8 MB, free: 3.48 MB / 202.7 MB " [Timeout remaining time 179] 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 0.7521/0.7521, allocations: 203.8 MB / 0.5049 GB, free: 0.7617 MB / 410.7 MB " [Timeout remaining time 179] 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.0009411/0.0009411, allocations: 63.91 kB / 0.7195 GB, free: 14.47 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4401/0.4411, allocations: 102 MB / 0.8191 GB, free: 25.25 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Change): time 0.001494/0.4425, allocations: 0.7289 MB / 0.8198 GB, free: 24.8 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001094/0.4436, allocations: 1.198 MB / 0.821 GB, free: 23.93 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.247e-05/0.4437, allocations: 0 / 0.821 GB, free: 23.93 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.568e-05/0.4437, allocations: 5.453 kB / 0.821 GB, free: 23.93 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.193e-05/0.4438, allocations: 9.906 kB / 0.821 GB, free: 23.92 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004172/0.4442, allocations: 137 kB / 0.8211 GB, free: 23.85 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001619/0.4444, allocations: 128.1 kB / 0.8212 GB, free: 23.79 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 8.546e-05/0.4444, allocations: 10.98 kB / 0.8213 GB, free: 23.79 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 8.793e-05/0.4445, allocations: 43.56 kB / 0.8213 GB, free: 23.77 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 8.397e-05/0.4446, allocations: 49.41 kB / 0.8213 GB, free: 23.75 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.412e-05/0.4446, allocations: 10.22 kB / 0.8214 GB, free: 23.75 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 6.437e-05/0.4447, allocations: 23.98 kB / 0.8214 GB, free: 23.75 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.887e-05/0.4447, allocations: 13.75 kB / 0.8214 GB, free: 23.74 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 5.818e-05/0.4448, allocations: 46.36 kB / 0.8214 GB, free: 23.71 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001664/0.4449, allocations: 115.6 kB / 0.8215 GB, free: 23.67 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.445, allocations: 0.7812 kB / 0.8215 GB, free: 23.67 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.913e-06/0.445, allocations: 0.5938 kB / 0.8215 GB, free: 23.67 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.445, allocations: 0 / 0.8215 GB, free: 23.67 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004284/0.4454, allocations: 343 kB / 0.8219 GB, free: 23.35 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.4454, allocations: 11.16 kB / 0.8219 GB, free: 23.35 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.094e-05/0.4455, allocations: 6.031 kB / 0.8219 GB, free: 23.35 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.326e-05/0.4455, allocations: 116.1 kB / 0.822 GB, free: 23.22 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.4455, allocations: 4.859 kB / 0.822 GB, free: 23.22 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.947e-05/0.4456, allocations: 11.72 kB / 0.822 GB, free: 23.21 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001315/0.4457, allocations: 60.73 kB / 0.8221 GB, free: 23.18 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.655e-06/0.4457, allocations: 1.312 kB / 0.8221 GB, free: 23.18 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.4457, allocations: 7.938 kB / 0.8221 GB, free: 23.17 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.4457, allocations: 10.27 kB / 0.8221 GB, free: 23.16 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.894e-05/0.4458, allocations: 37.67 kB / 0.8221 GB, free: 23.16 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003644/0.4462, allocations: 301.4 kB / 0.8224 GB, free: 22.89 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001244/0.4463, allocations: 62.89 kB / 0.8225 GB, free: 22.86 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.422e-05/0.4464, allocations: 36.28 kB / 0.8225 GB, free: 22.84 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.015e-05/0.4464, allocations: 1.438 kB / 0.8225 GB, free: 22.84 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001586/0.4465, allocations: 83.84 kB / 0.8226 GB, free: 22.79 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 1.243e-06/0.4465, allocations: 0.5938 kB / 0.8226 GB, free: 22.79 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.0002807/0.4468, allocations: 148.5 kB / 0.8227 GB, free: 22.72 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.702e-05/0.4468, allocations: 57.08 kB / 0.8228 GB, free: 22.66 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.588e-05/0.4469, allocations: 119.6 kB / 0.8229 GB, free: 22.55 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.495e-05/0.4469, allocations: 28.55 kB / 0.8229 GB, free: 22.52 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.004e-05/0.4469, allocations: 94.05 kB / 0.823 GB, free: 22.43 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.491e-05/0.447, allocations: 19.34 kB / 0.823 GB, free: 22.41 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.206e-05/0.447, allocations: 42.17 kB / 0.8231 GB, free: 22.39 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.37e-05/0.447, allocations: 323.6 kB / 0.8234 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001009/0.4471, allocations: 49.81 kB / 0.8234 GB, free: 22.06 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001077/0.4472, allocations: 84 kB / 0.8235 GB, free: 22 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001603/0.4474, allocations: 153.6 kB / 0.8237 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.4474, allocations: 0.5 kB / 0.8237 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002713/0.4477, allocations: 214.1 kB / 0.8239 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.911e-05/0.4477, allocations: 33.81 kB / 0.8239 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.4477, allocations: 0.7812 kB / 0.8239 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.4477, allocations: 7.609 kB / 0.8239 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.328e-05/0.4478, allocations: 14.27 kB / 0.8239 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.4478, allocations: 6.5 kB / 0.8239 GB, free: 21.74 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001129/0.4479, allocations: 30.22 kB / 0.824 GB, free: 21.74 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.648e-05/0.4479, allocations: 8.609 kB / 0.824 GB, free: 21.74 MB / 0.6355 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 5.645e-05/0.448, allocations: 131.9 kB / 0.8241 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.112e-05/0.448, allocations: 11.08 kB / 0.8241 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.175e-05/0.448, allocations: 11.47 kB / 0.8241 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.448, allocations: 1.188 kB / 0.8241 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.448, allocations: 0 / 0.8241 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.448, allocations: 1.141 kB / 0.8241 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003145/0.4483, allocations: 349 kB / 0.8244 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.4483, allocations: 1.359 kB / 0.8244 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.441e-05/0.4484, allocations: 11.95 kB / 0.8245 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.4484, allocations: 5.094 kB / 0.8245 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.4484, allocations: 1.328 kB / 0.8245 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.4484, allocations: 0.7188 kB / 0.8245 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.4484, allocations: 1.344 kB / 0.8245 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001809/0.4486, allocations: 212 kB / 0.8247 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.055e-05/0.4486, allocations: 7.5 kB / 0.8247 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.352e-05/0.4486, allocations: 5.906 kB / 0.8247 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.713e-05/0.4486, allocations: 6.562 kB / 0.8247 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.18e-05/0.4487, allocations: 9.812 kB / 0.8247 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.4487, allocations: 7.266 kB / 0.8247 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.313e-05/0.4487, allocations: 94.62 kB / 0.8248 GB, free: 21.03 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4487, allocations: 0 / 0.8248 GB, free: 21.03 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001834/0.4489, allocations: 24.86 kB / 0.8248 GB, free: 21.02 MB / 0.6355 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.0001093/0.449, allocations: 102.4 kB / 0.8249 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002367/0.4493, allocations: 159.8 kB / 0.8251 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.4493, allocations: 0 / 0.8251 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.767e-05/0.4493, allocations: 40.34 kB / 0.8251 GB, free: 20.83 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000201/0.4495, allocations: 10.81 kB / 0.8251 GB, free: 20.83 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002911/0.4498, allocations: 201.7 kB / 0.8253 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.561e-05/0.4499, allocations: 0.6883 MB / 0.826 GB, free: 19.95 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.563e-05/0.4499, allocations: 15.47 kB / 0.826 GB, free: 19.94 MB / 0.6355 GB Notification: Performance of SimCode: time 7.02e-07/0.4499, allocations: 0 / 0.826 GB, free: 19.94 MB / 0.6355 GB Notification: Performance of Templates: time 0.002522/0.4524, allocations: 1.253 MB / 0.8272 GB, free: 19.84 MB / 0.6355 GB " [Timeout remaining time 660] 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: 5.400858534965664] Failed to read output from testmodel.py, exit status != 0: 0.45806263806298375 0.469397755 0.021099516000000002 Calling exit ...