Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.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.00171/0.00171, 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.001841/0.001841, allocations: 213.3 kB / 22.24 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.541/1.541, 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.284/1.284, allocations: 203.5 MB / 0.5038 GB, free: 4.898 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.Integers.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Max") translateModel(IDEAS.Controls.OBC.CDL.Integers.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Max") [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.002009/0.002009, allocations: 74.91 kB / 0.7183 GB, free: 1.742 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7716/0.7736, allocations: 102 MB / 0.8179 GB, free: 2.363 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Max): time 0.002093/0.7757, allocations: 0.7371 MB / 0.8186 GB, free: 1.633 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.001246/0.777, allocations: 0.8938 MB / 0.8195 GB, free: 0.7266 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.093e-05/0.777, allocations: 0 / 0.8195 GB, free: 0.7266 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 3.95e-05/0.777, allocations: 7.922 kB / 0.8195 GB, free: 0.7188 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 7.974e-05/0.7771, allocations: 7.875 kB / 0.8195 GB, free: 0.7109 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001882/0.7773, allocations: 47.88 kB / 0.8195 GB, free: 0.6641 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001374/0.7774, allocations: 83.73 kB / 0.8196 GB, free: 0.582 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.7776, allocations: 23.78 kB / 0.8196 GB, free: 0.5625 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 8.544e-05/0.7777, allocations: 31.91 kB / 0.8197 GB, free: 0.5312 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 8.898e-05/0.7777, allocations: 51.83 kB / 0.8197 GB, free: 492 kB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.572e-05/0.7778, allocations: 11.94 kB / 0.8197 GB, free: 480 kB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 1.82e-05/0.7778, allocations: 8 kB / 0.8197 GB, free: 472 kB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 2.734e-05/0.7778, allocations: 19.91 kB / 0.8197 GB, free: 452 kB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 4.861e-05/0.7779, allocations: 27.86 kB / 0.8198 GB, free: 424 kB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001554/0.778, allocations: 90.47 kB / 0.8199 GB, free: 336 kB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.778, allocations: 0 / 0.8199 GB, free: 336 kB / 0.5919 GB Notification: Performance of FrontEnd: time 3.597e-06/0.778, allocations: 4 kB / 0.8199 GB, free: 332 kB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.095e-05/0.778, allocations: 0 / 0.8199 GB, free: 332 kB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007247/0.7788, allocations: 323.5 kB / 0.8202 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.7788, allocations: 11.97 kB / 0.8202 GB, free: 15.97 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.206e-05/0.7788, allocations: 8.891 kB / 0.8202 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001558/0.779, allocations: 118.4 kB / 0.8203 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.865e-05/0.779, allocations: 8.375 kB / 0.8203 GB, free: 15.81 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.097e-05/0.779, allocations: 4.375 kB / 0.8203 GB, free: 15.81 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003535/0.7794, allocations: 113.5 kB / 0.8204 GB, free: 15.69 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.7794, allocations: 0 / 0.8204 GB, free: 15.69 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.93e-05/0.7794, allocations: 4 kB / 0.8204 GB, free: 15.69 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.7794, allocations: 8 kB / 0.8204 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003898/0.7798, allocations: 87.91 kB / 0.8205 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005656/0.7804, allocations: 272.2 kB / 0.8208 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007038/0.7811, allocations: 114.6 kB / 0.8209 GB, free: 15.18 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002074/0.7813, allocations: 56.81 kB / 0.8209 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.781e-05/0.7813, allocations: 0 / 0.8209 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.197e-05/0.7814, allocations: 34.5 kB / 0.821 GB, free: 15.08 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.7814, allocations: 4 kB / 0.821 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0007308/0.7821, allocations: 189.5 kB / 0.8212 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.625e-05/0.7821, allocations: 55.41 kB / 0.8212 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/0.7823, allocations: 129.2 kB / 0.8213 GB, free: 14.68 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.288e-05/0.7823, allocations: 25.7 kB / 0.8214 GB, free: 14.65 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.205e-05/0.7824, allocations: 99.97 kB / 0.8214 GB, free: 14.55 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.976e-05/0.7824, allocations: 19.84 kB / 0.8215 GB, free: 14.53 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.045e-05/0.7825, allocations: 21.72 kB / 0.8215 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001673/0.7826, allocations: 322.8 kB / 0.8218 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001907/0.7828, allocations: 43.95 kB / 0.8218 GB, free: 14.14 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001869/0.783, allocations: 51.95 kB / 0.8219 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005236/0.7835, allocations: 100.7 kB / 0.822 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.7835, allocations: 0 / 0.822 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004388/0.784, allocations: 141.5 kB / 0.8221 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.784, allocations: 4 kB / 0.8221 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.784, allocations: 0 / 0.8221 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.784, allocations: 0 / 0.8221 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002159/0.7842, allocations: 27.97 kB / 0.8221 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.7842, allocations: 3.984 kB / 0.8222 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001268/0.7844, allocations: 15.92 kB / 0.8222 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.597e-05/0.7844, allocations: 7.938 kB / 0.8222 GB, free: 13.78 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (reaToInt1.y,reaToInt.y,max1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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 0.0001147/0.7845, allocations: 122.8 kB / 0.8223 GB, free: 13.65 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.459e-05/0.7845, allocations: 7.953 kB / 0.8223 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005025/0.785, allocations: 145.9 kB / 0.8224 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.785, allocations: 0 / 0.8224 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.785, allocations: 0 / 0.8224 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.785, allocations: 4 kB / 0.8224 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002004/0.7852, allocations: 137.2 kB / 0.8226 GB, free: 13.33 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.7852, allocations: 4 kB / 0.8226 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001771/0.7854, allocations: 35.89 kB / 0.8226 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.7854, allocations: 0 / 0.8226 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.7854, allocations: 0 / 0.8226 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.7854, allocations: 0 / 0.8226 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.7854, allocations: 0 / 0.8226 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006494/0.7861, allocations: 243.3 kB / 0.8228 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 1.942e-05/0.7861, allocations: 3.953 kB / 0.8228 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.669e-05/0.7861, allocations: 11.98 kB / 0.8229 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001524/0.7863, allocations: 7.984 kB / 0.8229 GB, free: 13.01 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.771e-05/0.7864, allocations: 27.91 kB / 0.8229 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.115e-06/0.7864, allocations: 0 / 0.8229 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.879e-05/0.7864, allocations: 95.27 kB / 0.823 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.7864, allocations: 0 / 0.823 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002502/0.7867, allocations: 16 kB / 0.823 GB, free: 12.88 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (max1.y,reaToInt.y,reaToInt1.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): 7 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001345/0.7868, allocations: 103.1 kB / 0.8231 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004577/0.7873, allocations: 100.6 kB / 0.8232 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.7873, allocations: 4 kB / 0.8232 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002384/0.7875, allocations: 59.89 kB / 0.8233 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004327/0.788, allocations: 21.95 kB / 0.8233 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005609/0.7885, allocations: 174.5 kB / 0.8234 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.581e-05/0.7886, allocations: 79.08 kB / 0.8235 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.512e-05/0.7887, allocations: 11.98 kB / 0.8235 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.488e-05/0.7888, allocations: 23.42 kB / 0.8236 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of SimCode: time 2.81e-07/0.7888, allocations: 0 / 0.8236 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of Templates: time 0.005641/0.7944, allocations: 1.734 MB / 0.8252 GB, free: 10.55 MB / 0.6075 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Max -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.99421589076519] Failed to read output from testmodel.py, exit status != 0: 0.8039578441530466 0.8290242940000001 0.045047553000000004 Calling exit ...