Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.And.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.001443/0.001443, 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.002134/0.002134, allocations: 217.6 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.687/1.687, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] 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 1.404/1.404, allocations: 203.5 MB / 0.5038 GB, free: 4.902 MB / 414.1 MB " [Timeout remaining time 178] 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.And,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.And") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.And,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.And") [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.00243/0.00243, allocations: 75.88 kB / 0.7183 GB, free: 2.312 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6071/0.6095, allocations: 102 MB / 0.8179 GB, free: 29.09 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.And): time 0.002003/0.6115, allocations: 0.6361 MB / 0.8185 GB, free: 28.73 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.001708/0.6132, allocations: 1.206 MB / 0.8197 GB, free: 27.86 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.102e-05/0.6133, allocations: 4.062 kB / 0.8197 GB, free: 27.86 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 3.764e-05/0.6133, allocations: 4.453 kB / 0.8197 GB, free: 27.86 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 8.945e-05/0.6134, allocations: 17.2 kB / 0.8197 GB, free: 27.84 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007105/0.6141, allocations: 215.6 kB / 0.8199 GB, free: 27.74 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.000286/0.6144, allocations: 165.1 kB / 0.82 GB, free: 27.67 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.6145, allocations: 10.5 kB / 0.8201 GB, free: 27.67 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001344/0.6147, allocations: 75.25 kB / 0.8201 GB, free: 27.64 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001824/0.6149, allocations: 52 kB / 0.8202 GB, free: 27.62 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 4.515e-05/0.6149, allocations: 17.12 kB / 0.8202 GB, free: 27.62 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 9.286e-05/0.615, allocations: 32.08 kB / 0.8202 GB, free: 27.62 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 2.506e-05/0.615, allocations: 9.422 kB / 0.8202 GB, free: 27.61 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 8.753e-05/0.6151, allocations: 51.67 kB / 0.8203 GB, free: 27.59 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0002764/0.6154, allocations: 150.1 kB / 0.8204 GB, free: 27.54 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.6154, allocations: 0 / 0.8204 GB, free: 27.54 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.014e-06/0.6154, allocations: 1.516 kB / 0.8204 GB, free: 27.54 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.6154, allocations: 0.6562 kB / 0.8204 GB, free: 27.54 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005252/0.6159, allocations: 357.4 kB / 0.8208 GB, free: 27.2 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/0.616, allocations: 11.31 kB / 0.8208 GB, free: 27.2 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.074e-05/0.616, allocations: 12.05 kB / 0.8208 GB, free: 27.2 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.145e-05/0.6161, allocations: 120.4 kB / 0.8209 GB, free: 27.06 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.349e-05/0.6161, allocations: 6.531 kB / 0.8209 GB, free: 27.06 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.911e-05/0.6162, allocations: 12.47 kB / 0.8209 GB, free: 27.05 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001239/0.6163, allocations: 48.23 kB / 0.821 GB, free: 27.02 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.6163, allocations: 0.75 kB / 0.821 GB, free: 27.02 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.6163, allocations: 5.125 kB / 0.821 GB, free: 27.02 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.6163, allocations: 4.547 kB / 0.821 GB, free: 27.01 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.747e-05/0.6164, allocations: 13.17 kB / 0.821 GB, free: 27.01 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004474/0.6168, allocations: 271.2 kB / 0.8212 GB, free: 26.78 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 8.332e-05/0.6169, allocations: 35.3 kB / 0.8213 GB, free: 26.75 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.997e-05/0.6169, allocations: 22.95 kB / 0.8213 GB, free: 26.73 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.209e-05/0.617, allocations: 1 kB / 0.8213 GB, free: 26.73 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001866/0.6171, allocations: 79.08 kB / 0.8214 GB, free: 26.67 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=7): time 1.452e-06/0.6171, allocations: 1.281 kB / 0.8214 GB, free: 26.67 MB / 0.6387 GB Notification: Performance of matching and sorting (n=7): time 0.000271/0.6174, allocations: 108.2 kB / 0.8215 GB, free: 26.61 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.105e-05/0.6174, allocations: 58.2 kB / 0.8215 GB, free: 26.55 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.969e-05/0.6175, allocations: 117.5 kB / 0.8217 GB, free: 26.44 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.977e-05/0.6176, allocations: 29.86 kB / 0.8217 GB, free: 26.41 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 4.916e-05/0.6176, allocations: 94.98 kB / 0.8218 GB, free: 26.32 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 1.554e-05/0.6176, allocations: 11.94 kB / 0.8218 GB, free: 26.31 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001036/0.6177, allocations: 53.47 kB / 0.8218 GB, free: 26.29 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 5.188e-05/0.6178, allocations: 318.6 kB / 0.8221 GB, free: 25.97 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001844/0.618, allocations: 121.7 kB / 0.8223 GB, free: 25.88 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001955/0.6182, allocations: 158.7 kB / 0.8224 GB, free: 25.75 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001938/0.6184, allocations: 161.8 kB / 0.8226 GB, free: 25.61 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.6184, allocations: 1.156 kB / 0.8226 GB, free: 25.61 MB / 0.6387 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004724/0.6188, allocations: 327.1 kB / 0.8229 GB, free: 25.39 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 4.683e-05/0.6189, allocations: 68.72 kB / 0.8229 GB, free: 25.33 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.6189, allocations: 4 kB / 0.8229 GB, free: 25.32 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.6189, allocations: 3.516 kB / 0.8229 GB, free: 25.32 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.06e-05/0.6189, allocations: 2.141 kB / 0.8229 GB, free: 25.32 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.6189, allocations: 5.766 kB / 0.823 GB, free: 25.32 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003505/0.6193, allocations: 60.66 kB / 0.823 GB, free: 25.31 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.424e-05/0.6193, allocations: 11.77 kB / 0.823 GB, free: 25.31 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: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,and1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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.901e-05/0.6194, allocations: 128.7 kB / 0.8231 GB, free: 25.19 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.474e-05/0.6194, allocations: 11.84 kB / 0.8232 GB, free: 25.18 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.499e-05/0.6194, allocations: 11.72 kB / 0.8232 GB, free: 25.17 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.6194, allocations: 2 kB / 0.8232 GB, free: 25.17 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.6194, allocations: 1.219 kB / 0.8232 GB, free: 25.17 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.6194, allocations: 0.5625 kB / 0.8232 GB, free: 25.17 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.887e-05/0.6195, allocations: 124.2 kB / 0.8233 GB, free: 25.04 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.6195, allocations: 1.375 kB / 0.8233 GB, free: 25.04 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.758e-06/0.6195, allocations: 2.156 kB / 0.8233 GB, free: 25.04 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.6195, allocations: 4 kB / 0.8233 GB, free: 25.03 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.988e-06/0.6195, allocations: 2.078 kB / 0.8233 GB, free: 25.03 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.6195, allocations: 2.031 kB / 0.8233 GB, free: 25.03 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.6195, allocations: 0 / 0.8233 GB, free: 25.03 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001408/0.6197, allocations: 117.2 kB / 0.8234 GB, free: 24.94 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 9.709e-06/0.6197, allocations: 7.516 kB / 0.8234 GB, free: 24.94 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.554e-05/0.6197, allocations: 0.75 kB / 0.8234 GB, free: 24.94 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.088e-05/0.6197, allocations: 2.016 kB / 0.8234 GB, free: 24.94 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.614e-05/0.6198, allocations: 9.328 kB / 0.8234 GB, free: 24.93 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.654e-06/0.6198, allocations: 3.359 kB / 0.8234 GB, free: 24.93 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 3.437e-05/0.6198, allocations: 94.11 kB / 0.8235 GB, free: 24.85 MB / 0.6387 GB Notification: Performance of sort global known variables: time 8e-08/0.6198, allocations: 0 / 0.8235 GB, free: 24.85 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002638/0.6201, allocations: 27.38 kB / 0.8235 GB, free: 24.85 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 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,and1.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.0001146/0.6202, allocations: 109.9 kB / 0.8237 GB, free: 24.75 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0003369/0.6205, allocations: 280.4 kB / 0.8239 GB, free: 24.52 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.6205, allocations: 0 / 0.8239 GB, free: 24.52 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 4.706e-05/0.6206, allocations: 29 kB / 0.8239 GB, free: 24.51 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002418/0.6208, allocations: 30.03 kB / 0.824 GB, free: 24.5 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003111/0.6211, allocations: 158.7 kB / 0.8241 GB, free: 24.36 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.638e-05/0.6212, allocations: 70.12 kB / 0.8242 GB, free: 24.29 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 2.599e-05/0.6212, allocations: 9.156 kB / 0.8242 GB, free: 24.29 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.152e-05/0.6212, allocations: 11.28 kB / 0.8242 GB, free: 24.28 MB / 0.6387 GB Notification: Performance of SimCode: time 3.01e-07/0.6212, allocations: 0 / 0.8242 GB, free: 24.28 MB / 0.6387 GB Notification: Performance of Templates: time 0.006354/0.6276, allocations: 2.084 MB / 0.8263 GB, free: 24.03 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.And.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.And.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.And -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.244071699678898] Failed to read output from testmodel.py, exit status != 0: 0.6373181454837322 0.650272349 0.032132699 Calling exit ...