Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0007828/0.0007828, allocations: 100.4 kB / 19.71 MB, free: 448 kB / 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.0007505/0.0007505, allocations: 212.1 kB / 23 MB, free: 2.973 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.9087/0.9087, allocations: 230.6 MB / 256.8 MB, free: 9.57 MB / 202.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.7466/0.7466, allocations: 203.5 MB / 0.5046 GB, free: 10.64 MB / 410.7 MB " [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.Logical.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_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_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.0009656/0.0009656, allocations: 68.86 kB / 0.719 GB, free: 3.875 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4574/0.4583, allocations: 102 MB / 0.8186 GB, free: 1.5 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Change): time 0.001692/0.46, allocations: 0.7178 MB / 0.8193 GB, free: 1.055 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009779/0.461, allocations: 1.175 MB / 0.8205 GB, free: 208 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.945e-05/0.461, allocations: 2.719 kB / 0.8205 GB, free: 208 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.415e-05/0.4611, allocations: 4.594 kB / 0.8205 GB, free: 204 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.396e-05/0.4611, allocations: 7.234 kB / 0.8205 GB, free: 200 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004054/0.4615, allocations: 142 kB / 0.8206 GB, free: 124 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001395/0.4617, allocations: 122.5 kB / 0.8207 GB, free: 64 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.696e-05/0.4618, allocations: 19.89 kB / 0.8207 GB, free: 52 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.055e-05/0.4619, allocations: 47.67 kB / 0.8208 GB, free: 32 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.203e-05/0.4619, allocations: 38.08 kB / 0.8208 GB, free: 20 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.938e-05/0.462, allocations: 8.969 kB / 0.8208 GB, free: 20 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.839e-05/0.462, allocations: 22.91 kB / 0.8209 GB, free: 16 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.325e-05/0.462, allocations: 13.48 kB / 0.8209 GB, free: 8 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.643e-05/0.4621, allocations: 37.88 kB / 0.8209 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001776/0.4623, allocations: 115.7 kB / 0.821 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.4623, allocations: 0 / 0.821 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.134e-06/0.4623, allocations: 0 / 0.821 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.4623, allocations: 0 / 0.821 GB, free: 15.95 MB / 0.6198 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.0005061/0.4628, allocations: 336.1 kB / 0.8213 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.4628, allocations: 9.219 kB / 0.8213 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.696e-05/0.4629, allocations: 11.81 kB / 0.8214 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.405e-05/0.463, allocations: 121.3 kB / 0.8215 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.463, allocations: 7.234 kB / 0.8215 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.857e-05/0.463, allocations: 8.906 kB / 0.8215 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000148/0.4632, allocations: 64.84 kB / 0.8215 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.4632, allocations: 192 / 0.8215 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.4632, allocations: 4.453 kB / 0.8216 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.4632, allocations: 4 kB / 0.8216 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001091/0.4633, allocations: 38.64 kB / 0.8216 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004051/0.4637, allocations: 265.1 kB / 0.8218 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001268/0.4638, allocations: 58.05 kB / 0.8219 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.85e-05/0.4639, allocations: 34.95 kB / 0.8219 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.121e-05/0.4639, allocations: 7.672 kB / 0.8219 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001727/0.4641, allocations: 86.27 kB / 0.822 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.533e-06/0.4641, allocations: 0 / 0.822 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0003003/0.4644, allocations: 142.3 kB / 0.8222 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.075e-05/0.4644, allocations: 53.3 kB / 0.8222 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.134e-05/0.4645, allocations: 117.3 kB / 0.8223 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.054e-05/0.4645, allocations: 33.33 kB / 0.8224 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.698e-05/0.4645, allocations: 99.22 kB / 0.8224 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.882e-05/0.4645, allocations: 20.31 kB / 0.8225 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.111e-05/0.4646, allocations: 36.73 kB / 0.8225 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.876e-05/0.4647, allocations: 320.4 kB / 0.8228 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001147/0.4648, allocations: 84.44 kB / 0.8229 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001166/0.4649, allocations: 115.6 kB / 0.823 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001589/0.4651, allocations: 145.8 kB / 0.8231 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.4651, allocations: 0 / 0.8231 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000289/0.4654, allocations: 249.8 kB / 0.8234 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.244e-05/0.4654, allocations: 36.22 kB / 0.8234 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.4654, allocations: 1.406 kB / 0.8234 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.4654, allocations: 5.688 kB / 0.8234 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.192e-05/0.4655, allocations: 10.88 kB / 0.8234 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.4655, allocations: 2.656 kB / 0.8234 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001133/0.4656, allocations: 36.34 kB / 0.8235 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.456e-05/0.4656, allocations: 5.906 kB / 0.8235 GB, free: 13.94 MB / 0.6198 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 7.465e-05/0.4657, allocations: 131.5 kB / 0.8236 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.959e-06/0.4657, allocations: 11.12 kB / 0.8236 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.469e-05/0.4657, allocations: 13.94 kB / 0.8236 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.4657, allocations: 5.688 kB / 0.8236 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.4657, allocations: 0 / 0.8236 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.4657, allocations: 2.781 kB / 0.8236 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004498/0.4662, allocations: 313.7 kB / 0.8239 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.4662, allocations: 0 / 0.8239 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.126e-05/0.4662, allocations: 11.95 kB / 0.8239 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.4662, allocations: 1.719 kB / 0.8239 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.196e-06/0.4662, allocations: 1.688 kB / 0.8239 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.4662, allocations: 4 kB / 0.8239 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.4662, allocations: 1.469 kB / 0.8239 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001832/0.4664, allocations: 217.7 kB / 0.8242 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.486e-06/0.4664, allocations: 6.609 kB / 0.8242 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.351e-05/0.4664, allocations: 2.547 kB / 0.8242 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.599e-05/0.4665, allocations: 7.031 kB / 0.8242 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.924e-05/0.4665, allocations: 9.828 kB / 0.8242 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.274e-06/0.4665, allocations: 3.359 kB / 0.8242 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.602e-05/0.4666, allocations: 94.86 kB / 0.8243 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.4666, allocations: 0 / 0.8243 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001795/0.4667, allocations: 24.36 kB / 0.8243 GB, free: 13.26 MB / 0.6198 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.0001094/0.4668, allocations: 105.1 kB / 0.8244 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002672/0.4671, allocations: 195.7 kB / 0.8246 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.4671, allocations: 0 / 0.8246 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.13e-05/0.4672, allocations: 37.31 kB / 0.8246 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002087/0.4674, allocations: 12.86 kB / 0.8246 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003066/0.4677, allocations: 207.2 kB / 0.8248 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.115e-05/0.4678, allocations: 74.62 kB / 0.8249 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.639e-05/0.4678, allocations: 12.81 kB / 0.8249 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of SimCode: time 7.21e-07/0.4678, allocations: 0 / 0.8249 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of Templates: time 0.002729/0.4705, allocations: 1.279 MB / 0.8262 GB, free: 12.65 MB / 0.6198 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.606831387151033] Failed to read output from testmodel.py, exit status != 0: 0.4765995508059859 0.48698367600000003 0.022645293 Calling exit ...