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.001463/0.001463, allocations: 107.6 kB / 18.95 MB, free: 2.805 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.001635/0.001635, allocations: 211.9 kB / 22.24 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.515/1.515, 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 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.252/1.252, allocations: 203.8 MB / 0.5042 GB, free: 4.613 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.002428/0.002428, allocations: 63.91 kB / 0.7187 GB, free: 1.969 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.697/0.6994, allocations: 102 MB / 0.8183 GB, free: 28.92 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001905/0.7013, allocations: 0.5484 MB / 0.8188 GB, free: 28.61 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 4.139e-05/0.7014, allocations: 4.516 kB / 0.8188 GB, free: 28.6 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.969e-05/0.7014, allocations: 0.625 kB / 0.8188 GB, free: 28.6 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 2.896e-05/0.7014, allocations: 0 / 0.8188 GB, free: 28.6 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 2.705e-05/0.7015, allocations: 1.25 kB / 0.8188 GB, free: 28.6 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 3.201e-05/0.7015, allocations: 0.5938 kB / 0.8188 GB, free: 28.6 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 6.766e-05/0.7016, allocations: 10.69 kB / 0.8188 GB, free: 28.59 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 6.695e-05/0.7016, allocations: 5.328 kB / 0.8188 GB, free: 28.59 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 1.72e-05/0.7016, allocations: 1.656 kB / 0.8188 GB, free: 28.59 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 2.099e-05/0.7017, allocations: 0 / 0.8188 GB, free: 28.59 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.161e-05/0.7017, allocations: 1.641 kB / 0.8188 GB, free: 28.59 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 4.378e-06/0.7017, allocations: 0.5312 kB / 0.8188 GB, free: 28.59 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 1.451e-05/0.7017, allocations: 1.016 kB / 0.8188 GB, free: 28.59 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 2.277e-05/0.7017, allocations: 1.641 kB / 0.8188 GB, free: 28.59 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 6.248e-05/0.7018, allocations: 9.953 kB / 0.8188 GB, free: 28.59 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.7018, allocations: 0.625 kB / 0.8188 GB, free: 28.59 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.264e-06/0.7018, allocations: 0 / 0.8188 GB, free: 28.59 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.7018, allocations: 0.7812 kB / 0.8188 GB, free: 28.59 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.0002698/0.7021, allocations: 237.6 kB / 0.8191 GB, free: 28.33 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.7021, allocations: 11.62 kB / 0.8191 GB, free: 28.33 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.86e-05/0.7021, allocations: 5.906 kB / 0.8191 GB, free: 28.33 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.372e-05/0.7022, allocations: 104.6 kB / 0.8192 GB, free: 28.2 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.765e-06/0.7022, allocations: 1.656 kB / 0.8192 GB, free: 28.2 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.101e-05/0.7022, allocations: 2.5 kB / 0.8192 GB, free: 28.2 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.329e-05/0.7023, allocations: 32.73 kB / 0.8192 GB, free: 28.17 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.7023, allocations: 0.7812 kB / 0.8192 GB, free: 28.17 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.7023, allocations: 8.594 kB / 0.8192 GB, free: 28.16 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.7023, allocations: 1.219 kB / 0.8192 GB, free: 28.16 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.663e-05/0.7024, allocations: 2.969 kB / 0.8192 GB, free: 28.16 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002216/0.7026, allocations: 329.3 kB / 0.8196 GB, free: 27.81 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 4.702e-05/0.7026, allocations: 166.8 kB / 0.8197 GB, free: 27.64 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.782e-05/0.7026, allocations: 86.25 kB / 0.8198 GB, free: 27.55 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.813e-05/0.7027, allocations: 79.91 kB / 0.8199 GB, free: 27.48 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.269e-05/0.7027, allocations: 108.9 kB / 0.82 GB, free: 27.36 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=0): time 1.522e-06/0.7027, allocations: 5.5 kB / 0.82 GB, free: 27.36 MB / 0.6387 GB Notification: Performance of matching and sorting (n=0): time 6.724e-05/0.7028, allocations: 27.22 kB / 0.82 GB, free: 27.33 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.347e-05/0.7028, allocations: 128.9 kB / 0.8201 GB, free: 27.19 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.805e-05/0.7028, allocations: 98.14 kB / 0.8202 GB, free: 27.09 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.78e-06/0.7028, allocations: 27.2 kB / 0.8202 GB, free: 27.06 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 2.342e-05/0.7029, allocations: 81.8 kB / 0.8203 GB, free: 26.98 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 1.934e-06/0.7029, allocations: 1.031 kB / 0.8203 GB, free: 26.98 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.053e-05/0.7029, allocations: 11.34 kB / 0.8203 GB, free: 26.96 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 4.361e-05/0.7029, allocations: 312.5 kB / 0.8206 GB, free: 26.65 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.429e-06/0.7029, allocations: 1.719 kB / 0.8206 GB, free: 26.65 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.735e-06/0.7029, allocations: 3.938 kB / 0.8206 GB, free: 26.64 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.456e-05/0.703, allocations: 77.98 kB / 0.8207 GB, free: 26.57 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.067e-05/0.703, allocations: 75.88 kB / 0.8208 GB, free: 26.5 MB / 0.6387 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.828e-05/0.703, allocations: 36.62 kB / 0.8208 GB, free: 26.46 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/0.703, allocations: 82.05 kB / 0.8209 GB, free: 26.38 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.643e-05/0.7031, allocations: 76.62 kB / 0.821 GB, free: 26.31 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.26e-05/0.7031, allocations: 163.9 kB / 0.8211 GB, free: 26.15 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.047e-05/0.7031, allocations: 76.22 kB / 0.8212 GB, free: 26.08 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.567e-05/0.7031, allocations: 157.3 kB / 0.8214 GB, free: 25.93 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.75e-05/0.7032, allocations: 80.3 kB / 0.8214 GB, free: 25.85 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.188e-05/0.7032, allocations: 76.48 kB / 0.8215 GB, free: 25.77 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 6.271e-05/0.7033, allocations: 264.9 kB / 0.8218 GB, free: 25.51 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.673e-05/0.7033, allocations: 110.4 kB / 0.8219 GB, free: 25.39 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.687e-05/0.7033, allocations: 110.3 kB / 0.822 GB, free: 25.28 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.639e-05/0.7033, allocations: 187.2 kB / 0.8221 GB, free: 25.1 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.423e-05/0.7034, allocations: 182.2 kB / 0.8223 GB, free: 24.92 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.437e-05/0.7034, allocations: 182.4 kB / 0.8225 GB, free: 24.73 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001211/0.7035, allocations: 353.3 kB / 0.8228 GB, free: 24.36 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.655e-05/0.7035, allocations: 103.1 kB / 0.8229 GB, free: 24.25 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.557e-05/0.7036, allocations: 106.9 kB / 0.823 GB, free: 24.14 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-05/0.7036, allocations: 182.7 kB / 0.8232 GB, free: 23.96 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.048e-05/0.7036, allocations: 185.1 kB / 0.8234 GB, free: 23.77 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-05/0.7036, allocations: 178.4 kB / 0.8235 GB, free: 23.59 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-05/0.7037, allocations: 185.2 kB / 0.8237 GB, free: 23.41 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.748e-05/0.7037, allocations: 306.8 kB / 0.824 GB, free: 23.09 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 2.327e-05/0.7037, allocations: 111.9 kB / 0.8241 GB, free: 22.98 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.51e-05/0.7038, allocations: 183.2 kB / 0.8243 GB, free: 22.79 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.738e-05/0.7038, allocations: 107 kB / 0.8244 GB, free: 22.68 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.912e-05/0.7039, allocations: 182.1 kB / 0.8246 GB, free: 22.5 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.598e-05/0.7039, allocations: 103.6 kB / 0.8247 GB, free: 22.39 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 1.693e-05/0.7039, allocations: 79.34 kB / 0.8247 GB, free: 22.32 MB / 0.6387 GB Notification: Performance of sort global known variables: time 8e-08/0.7039, allocations: 0 / 0.8247 GB, free: 22.32 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002625/0.7042, allocations: 4.562 kB / 0.8248 GB, free: 22.32 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.672e-05/0.7043, allocations: 170.4 kB / 0.8249 GB, free: 22.15 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 4.55e-05/0.7043, allocations: 5.562 kB / 0.8249 GB, free: 22.15 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.7043, allocations: 0 / 0.8249 GB, free: 22.15 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 2.254e-06/0.7043, allocations: 4.969 kB / 0.8249 GB, free: 22.14 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002637/0.7046, allocations: 455 kB / 0.8254 GB, free: 21.7 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001978/0.7048, allocations: 155 kB / 0.8255 GB, free: 21.53 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.674e-05/0.7048, allocations: 55.88 kB / 0.8256 GB, free: 21.46 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 2.114e-06/0.7048, allocations: 0 / 0.8256 GB, free: 21.46 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.033e-05/0.7048, allocations: 8.062 kB / 0.8256 GB, free: 21.45 MB / 0.6387 GB Notification: Performance of SimCode: time 4.3e-07/0.7048, allocations: 0 / 0.8256 GB, free: 21.45 MB / 0.6387 GB Notification: Performance of Templates: time 0.002085/0.7069, allocations: 133.7 kB / 0.8257 GB, free: 21.41 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.835138315334916] Failed to read output from testmodel.py, exit status != 0: 0.7162016369402409 0.728252842 0.023658856000000002 Calling exit ...