Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.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.0007588/0.0007588, allocations: 96.38 kB / 19.7 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.0008216/0.0008216, allocations: 211.2 kB / 23 MB, free: 2.977 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.9025/0.9025, allocations: 230.6 MB / 256.8 MB, free: 9.59 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.7636/0.7636, allocations: 203.5 MB / 0.5046 GB, free: 10.68 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.Edge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.Edge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge") [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.0008792/0.0008792, allocations: 66.47 kB / 0.719 GB, free: 3.887 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4546/0.4555, allocations: 102 MB / 0.8186 GB, free: 1.508 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Edge): time 0.00151/0.457, allocations: 0.7244 MB / 0.8193 GB, free: 1.055 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00104/0.458, allocations: 1.168 MB / 0.8205 GB, free: 216 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.754e-05/0.4581, allocations: 1.531 kB / 0.8205 GB, free: 216 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.447e-05/0.4581, allocations: 4.734 kB / 0.8205 GB, free: 212 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.997e-05/0.4581, allocations: 11.36 kB / 0.8205 GB, free: 204 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000433/0.4586, allocations: 131.8 kB / 0.8206 GB, free: 136 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001597/0.4587, allocations: 121.4 kB / 0.8207 GB, free: 80 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.4588, allocations: 15.58 kB / 0.8207 GB, free: 72 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.215e-05/0.4589, allocations: 53.62 kB / 0.8208 GB, free: 48 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.629e-05/0.459, allocations: 39.7 kB / 0.8208 GB, free: 32 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.03e-05/0.459, allocations: 10 kB / 0.8208 GB, free: 32 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.689e-05/0.4591, allocations: 20.52 kB / 0.8208 GB, free: 32 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.378e-05/0.4591, allocations: 16.42 kB / 0.8209 GB, free: 20 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.898e-05/0.4592, allocations: 43.17 kB / 0.8209 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001819/0.4594, allocations: 115 kB / 0.821 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.4594, allocations: 0 / 0.821 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.853e-06/0.4594, allocations: 0 / 0.821 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.4594, allocations: 0 / 0.821 GB, free: 15.96 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.000511/0.4599, allocations: 326.7 kB / 0.8213 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.071e-05/0.4599, allocations: 11 kB / 0.8213 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.885e-05/0.46, allocations: 13.98 kB / 0.8213 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001055/0.4601, allocations: 125 kB / 0.8215 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.963e-05/0.4601, allocations: 7.234 kB / 0.8215 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.952e-05/0.4602, allocations: 7.828 kB / 0.8215 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001705/0.4603, allocations: 62.73 kB / 0.8215 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.4603, allocations: 192 / 0.8215 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.4603, allocations: 4.688 kB / 0.8215 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.4603, allocations: 1.562 kB / 0.8215 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001097/0.4605, allocations: 41.56 kB / 0.8216 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00041/0.4609, allocations: 269.7 kB / 0.8218 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001394/0.461, allocations: 56.53 kB / 0.8219 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.166e-05/0.4611, allocations: 32.55 kB / 0.8219 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.205e-05/0.4611, allocations: 1.156 kB / 0.8219 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000205/0.4613, allocations: 88.55 kB / 0.822 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.673e-06/0.4613, allocations: 0 / 0.822 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0003352/0.4616, allocations: 148 kB / 0.8222 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.064e-05/0.4617, allocations: 52.05 kB / 0.8222 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.079e-05/0.4617, allocations: 120.5 kB / 0.8223 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.02e-05/0.4617, allocations: 28.53 kB / 0.8223 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.66e-05/0.4618, allocations: 101.5 kB / 0.8224 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.703e-05/0.4618, allocations: 19.09 kB / 0.8225 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.884e-05/0.4619, allocations: 35.8 kB / 0.8225 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.682e-05/0.4619, allocations: 323 kB / 0.8228 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001208/0.4621, allocations: 85.08 kB / 0.8229 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001186/0.4622, allocations: 119 kB / 0.823 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001645/0.4623, allocations: 141.9 kB / 0.8231 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.4623, allocations: 6.812 kB / 0.8231 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002996/0.4626, allocations: 245.1 kB / 0.8234 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.37e-05/0.4627, allocations: 38.81 kB / 0.8234 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.4627, allocations: 2.578 kB / 0.8234 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.4627, allocations: 5.125 kB / 0.8234 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.374e-05/0.4628, allocations: 11.7 kB / 0.8234 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.4628, allocations: 1.75 kB / 0.8234 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000115/0.4629, allocations: 34.77 kB / 0.8235 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.805e-05/0.4629, allocations: 12.22 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,edge1.y,edge1.u,$PRE.edge1.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.607e-05/0.463, allocations: 127.8 kB / 0.8236 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.096e-05/0.463, allocations: 11.31 kB / 0.8236 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.577e-05/0.463, allocations: 11.09 kB / 0.8236 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.463, allocations: 1.25 kB / 0.8236 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.463, allocations: 0 / 0.8236 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.676e-06/0.463, allocations: 2.672 kB / 0.8236 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003054/0.4633, allocations: 314.4 kB / 0.8239 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.4633, allocations: 1.219 kB / 0.8239 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.075e-05/0.4634, allocations: 12.84 kB / 0.8239 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.4634, allocations: 0 / 0.8239 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.4634, allocations: 5.281 kB / 0.8239 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.4634, allocations: 0 / 0.8239 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.4634, allocations: 5.266 kB / 0.8239 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001856/0.4636, allocations: 210.5 kB / 0.8242 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.195e-05/0.4636, allocations: 11.2 kB / 0.8242 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.59e-05/0.4636, allocations: 5.031 kB / 0.8242 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.621e-05/0.4636, allocations: 11.61 kB / 0.8242 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.809e-05/0.4637, allocations: 5.344 kB / 0.8242 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.4637, allocations: 2.25 kB / 0.8242 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.141e-05/0.4637, allocations: 92.39 kB / 0.8243 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4637, allocations: 0 / 0.8243 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000186/0.4639, allocations: 26.47 kB / 0.8243 GB, free: 13.27 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 (edge1.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,edge1.u,triggeredSampler.y) * Number of discrete states: 1 (edge1.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.0001264/0.464, allocations: 103.2 kB / 0.8244 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002849/0.4643, allocations: 195.8 kB / 0.8246 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.4643, allocations: 5.281 kB / 0.8246 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.731e-05/0.4644, allocations: 36.05 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.0002097/0.4646, allocations: 8.578 kB / 0.8246 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003489/0.465, allocations: 200.1 kB / 0.8248 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.667e-05/0.465, allocations: 70.31 kB / 0.8249 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.798e-05/0.465, allocations: 16.56 kB / 0.8249 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of SimCode: time 7.12e-07/0.465, allocations: 3.938 kB / 0.8249 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of Templates: time 0.002802/0.4678, allocations: 1.273 MB / 0.8262 GB, free: 12.67 MB / 0.6198 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.467446708120406] Failed to read output from testmodel.py, exit status != 0: 0.4736388842575252 0.48624569799999995 0.024869524 Calling exit ...