Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.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.001497/0.001497, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002297/0.002297, allocations: 219 kB / 22.26 MB, free: 5.121 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.539/1.539, allocations: 230.6 MB / 256 MB, free: 7.973 MB / 206.1 MB " [Timeout remaining time 178] 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 1.286/1.286, allocations: 203.8 MB / 0.5041 GB, free: 4.922 MB / 414.1 MB " [Timeout remaining time 178] 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.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant") translateModel(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant") [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.003113/0.003113, allocations: 63.89 kB / 0.7187 GB, free: 2.23 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6822/0.6853, allocations: 102 MB / 0.8183 GB, free: 29.14 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.002035/0.6873, allocations: 0.5426 MB / 0.8189 GB, free: 28.82 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 5.229e-05/0.6874, allocations: 5.594 kB / 0.8189 GB, free: 28.82 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.908e-05/0.6874, allocations: 0 / 0.8189 GB, free: 28.82 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 3.282e-05/0.6874, allocations: 1.094 kB / 0.8189 GB, free: 28.82 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 3.001e-05/0.6875, allocations: 0.5312 kB / 0.8189 GB, free: 28.82 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 3.872e-05/0.6875, allocations: 0 / 0.8189 GB, free: 28.82 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 7.899e-05/0.6876, allocations: 8.297 kB / 0.8189 GB, free: 28.82 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 7.438e-05/0.6876, allocations: 2.188 kB / 0.8189 GB, free: 28.82 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 1.616e-05/0.6877, allocations: 0 / 0.8189 GB, free: 28.82 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 2.276e-05/0.6877, allocations: 2.844 kB / 0.8189 GB, free: 28.82 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.282e-05/0.6877, allocations: 3.938 kB / 0.8189 GB, free: 28.81 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 4.699e-06/0.6877, allocations: 1.156 kB / 0.8189 GB, free: 28.81 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 1.446e-05/0.6877, allocations: 0 / 0.8189 GB, free: 28.81 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 2.414e-05/0.6877, allocations: 0 / 0.8189 GB, free: 28.81 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 6.859e-05/0.6878, allocations: 4.141 kB / 0.8189 GB, free: 28.81 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.6878, allocations: 1.219 kB / 0.8189 GB, free: 28.81 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.565e-06/0.6878, allocations: 0 / 0.8189 GB, free: 28.81 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.148e-05/0.6878, allocations: 0.625 kB / 0.8189 GB, free: 28.81 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003115/0.6881, allocations: 244.9 kB / 0.8191 GB, free: 28.55 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.089e-05/0.6882, allocations: 13.06 kB / 0.8191 GB, free: 28.55 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.801e-05/0.6882, allocations: 2.062 kB / 0.8191 GB, free: 28.55 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.567e-05/0.6883, allocations: 105 kB / 0.8192 GB, free: 28.43 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.529e-05/0.6883, allocations: 5.5 kB / 0.8193 GB, free: 28.42 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.424e-05/0.6883, allocations: 384 / 0.8193 GB, free: 28.42 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.904e-05/0.6884, allocations: 30.12 kB / 0.8193 GB, free: 28.39 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.6885, allocations: 192 / 0.8193 GB, free: 28.39 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.6885, allocations: 3.938 kB / 0.8193 GB, free: 28.39 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.6885, allocations: 1.812 kB / 0.8193 GB, free: 28.39 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.585e-05/0.6885, allocations: 2.469 kB / 0.8193 GB, free: 28.39 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000264/0.6888, allocations: 354.7 kB / 0.8196 GB, free: 28 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 5.402e-05/0.6888, allocations: 180.2 kB / 0.8198 GB, free: 27.82 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.727e-05/0.6888, allocations: 80.14 kB / 0.8199 GB, free: 27.74 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.901e-05/0.6888, allocations: 76.78 kB / 0.82 GB, free: 27.66 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.647e-05/0.6889, allocations: 108.2 kB / 0.8201 GB, free: 27.55 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=0): time 7.82e-07/0.6889, allocations: 0 / 0.8201 GB, free: 27.55 MB / 0.6387 GB Notification: Performance of matching and sorting (n=0): time 7.254e-05/0.6889, allocations: 32.64 kB / 0.8201 GB, free: 27.52 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.222e-05/0.689, allocations: 127.5 kB / 0.8202 GB, free: 27.38 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.425e-05/0.689, allocations: 99.53 kB / 0.8203 GB, free: 27.28 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.342e-06/0.689, allocations: 30.36 kB / 0.8203 GB, free: 27.24 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 1.384e-05/0.6891, allocations: 81.84 kB / 0.8204 GB, free: 27.16 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 1.924e-06/0.6891, allocations: 0.6875 kB / 0.8204 GB, free: 27.16 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.799e-05/0.6891, allocations: 12.17 kB / 0.8204 GB, free: 27.14 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 4.95e-05/0.6891, allocations: 313.5 kB / 0.8207 GB, free: 26.83 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.328e-06/0.6891, allocations: 0 / 0.8207 GB, free: 26.83 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.306e-06/0.6891, allocations: 1.781 kB / 0.8207 GB, free: 26.83 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.304e-05/0.6891, allocations: 75.28 kB / 0.8208 GB, free: 26.76 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.161e-05/0.6892, allocations: 76.86 kB / 0.8209 GB, free: 26.68 MB / 0.6387 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.04e-05/0.6892, allocations: 40.67 kB / 0.8209 GB, free: 26.64 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.556e-05/0.6892, allocations: 80.59 kB / 0.821 GB, free: 26.57 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.634e-05/0.6893, allocations: 84.58 kB / 0.8211 GB, free: 26.49 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.35e-05/0.6893, allocations: 152.4 kB / 0.8212 GB, free: 26.34 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.556e-05/0.6893, allocations: 80.41 kB / 0.8213 GB, free: 26.26 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.46e-05/0.6893, allocations: 152 kB / 0.8214 GB, free: 26.11 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.25e-05/0.6894, allocations: 79.8 kB / 0.8215 GB, free: 26.04 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.399e-05/0.6894, allocations: 84 kB / 0.8216 GB, free: 25.96 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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 7.019e-05/0.6895, allocations: 268.4 kB / 0.8218 GB, free: 25.69 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.682e-05/0.6895, allocations: 105.6 kB / 0.8219 GB, free: 25.58 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.448e-05/0.6895, allocations: 113.7 kB / 0.8221 GB, free: 25.46 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.631e-05/0.6896, allocations: 178.8 kB / 0.8222 GB, free: 25.29 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-05/0.6896, allocations: 182.8 kB / 0.8224 GB, free: 25.1 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-05/0.6896, allocations: 179.2 kB / 0.8226 GB, free: 24.92 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001411/0.6898, allocations: 387.4 kB / 0.8229 GB, free: 24.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.871e-05/0.6898, allocations: 105.6 kB / 0.823 GB, free: 24.39 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.856e-05/0.6898, allocations: 102.8 kB / 0.8231 GB, free: 24.29 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.683e-05/0.6898, allocations: 182.2 kB / 0.8233 GB, free: 24.1 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.162e-05/0.6898, allocations: 189.2 kB / 0.8235 GB, free: 23.91 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-05/0.6899, allocations: 182.1 kB / 0.8237 GB, free: 23.73 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.449e-05/0.6899, allocations: 182.2 kB / 0.8238 GB, free: 23.55 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.916e-05/0.69, allocations: 304.9 kB / 0.8241 GB, free: 23.23 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 2.202e-05/0.69, allocations: 112.3 kB / 0.8242 GB, free: 23.12 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.824e-05/0.69, allocations: 179 kB / 0.8244 GB, free: 22.94 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.97e-05/0.6901, allocations: 110.6 kB / 0.8245 GB, free: 22.82 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.242e-05/0.6901, allocations: 177.7 kB / 0.8247 GB, free: 22.64 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.278e-05/0.6901, allocations: 106.6 kB / 0.8248 GB, free: 22.54 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 2.268e-05/0.6902, allocations: 85.89 kB / 0.8249 GB, free: 22.45 MB / 0.6387 GB Notification: Performance of sort global known variables: time 7e-08/0.6902, allocations: 0 / 0.8249 GB, free: 22.45 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002444/0.6904, allocations: 1.156 kB / 0.8249 GB, free: 22.45 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 9.554e-05/0.6905, allocations: 169.2 kB / 0.825 GB, free: 22.29 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 4.975e-05/0.6906, allocations: 1.156 kB / 0.825 GB, free: 22.29 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.6906, allocations: 1.031 kB / 0.825 GB, free: 22.29 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 1.152e-06/0.6906, allocations: 3.938 kB / 0.825 GB, free: 22.29 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002627/0.6908, allocations: 461.9 kB / 0.8255 GB, free: 21.83 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002022/0.691, allocations: 156 kB / 0.8256 GB, free: 21.66 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.8e-05/0.6911, allocations: 0.6709 MB / 0.8263 GB, free: 20.96 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 9.007e-06/0.6911, allocations: 0.5625 kB / 0.8263 GB, free: 20.96 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.745e-05/0.6911, allocations: 8.484 kB / 0.8263 GB, free: 20.96 MB / 0.6387 GB Notification: Performance of SimCode: time 3.11e-07/0.6911, allocations: 0 / 0.8263 GB, free: 20.96 MB / 0.6387 GB Notification: Performance of Templates: time 0.00238/0.6935, allocations: 166.7 kB / 0.8264 GB, free: 20.9 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.85662666708231] Failed to read output from testmodel.py, exit status != 0: 0.7041681185364723 0.716023665 0.02530835 Calling exit ...