Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.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.0007409/0.0007409, allocations: 72.45 kB / 19.9 MB, free: 16 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.0007738/0.0007738, allocations: 165.9 kB / 23.18 MB, free: 1.379 MB / 18.57 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.8337/0.8337, allocations: 177.2 MB / 203.6 MB, free: 5.375 MB / 186.7 MB " [Timeout remaining time 179] 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 0.7022/0.7022, allocations: 155 MB / 415 MB, free: 396 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] 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.Reals.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.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.001296/0.001296, allocations: 67.89 kB / 0.62 GB, free: 12.62 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4297/0.431, allocations: 102 MB / 0.7195 GB, free: 23.45 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Max): time 0.001387/0.4324, allocations: 0.6809 MB / 0.7202 GB, free: 23.02 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0007306/0.4331, allocations: 0.8367 MB / 0.721 GB, free: 22.39 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.076e-05/0.4331, allocations: 0 / 0.721 GB, free: 22.39 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.123e-05/0.4332, allocations: 5.938 kB / 0.721 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.446e-05/0.4332, allocations: 9.688 kB / 0.721 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001109/0.4333, allocations: 14.45 kB / 0.7211 GB, free: 22.37 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 8.458e-05/0.4334, allocations: 43.16 kB / 0.7211 GB, free: 22.35 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.4335, allocations: 13.14 kB / 0.7211 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 8.205e-05/0.4336, allocations: 25.47 kB / 0.7211 GB, free: 22.33 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 4.684e-05/0.4336, allocations: 21.3 kB / 0.7212 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.074e-05/0.4337, allocations: 4.406 kB / 0.7212 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 9.418e-06/0.4337, allocations: 6.781 kB / 0.7212 GB, free: 22.31 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.822e-05/0.4337, allocations: 7.328 kB / 0.7212 GB, free: 22.31 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.481e-05/0.4337, allocations: 20.91 kB / 0.7212 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001019/0.4338, allocations: 45.44 kB / 0.7212 GB, free: 22.28 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.4338, allocations: 0 / 0.7212 GB, free: 22.28 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.435e-06/0.4338, allocations: 0 / 0.7212 GB, free: 22.28 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.131e-06/0.4338, allocations: 1 kB / 0.7212 GB, free: 22.28 MB / 0.6355 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.0003728/0.4342, allocations: 287.9 kB / 0.7215 GB, free: 22 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.4343, allocations: 11.09 kB / 0.7215 GB, free: 22 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.949e-05/0.4343, allocations: 11.69 kB / 0.7215 GB, free: 21.99 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.48e-05/0.4343, allocations: 111 kB / 0.7216 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.4344, allocations: 9.438 kB / 0.7216 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.362e-05/0.4344, allocations: 1.5 kB / 0.7216 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001798/0.4346, allocations: 69.16 kB / 0.7217 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.4346, allocations: 1.312 kB / 0.7217 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.4346, allocations: 4.734 kB / 0.7217 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.4346, allocations: 1.062 kB / 0.7217 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001601/0.4347, allocations: 70.3 kB / 0.7218 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002837/0.435, allocations: 207.7 kB / 0.722 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001336/0.4352, allocations: 57.64 kB / 0.722 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.452e-05/0.4352, allocations: 44.67 kB / 0.7221 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.272e-05/0.4353, allocations: 4.906 kB / 0.7221 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.667e-05/0.4353, allocations: 32.42 kB / 0.7221 GB, free: 21.49 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.302e-06/0.4353, allocations: 1.219 kB / 0.7221 GB, free: 21.49 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0003423/0.4356, allocations: 128.3 kB / 0.7222 GB, free: 21.44 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.555e-05/0.4356, allocations: 52.41 kB / 0.7223 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.982e-05/0.4357, allocations: 115.7 kB / 0.7224 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.444e-06/0.4357, allocations: 29.64 kB / 0.7224 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.644e-05/0.4357, allocations: 88.19 kB / 0.7225 GB, free: 21.15 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.087e-05/0.4358, allocations: 13.94 kB / 0.7225 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.654e-05/0.4358, allocations: 18.62 kB / 0.7225 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.314e-05/0.4358, allocations: 312.7 kB / 0.7228 GB, free: 20.8 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.416e-05/0.4359, allocations: 30.89 kB / 0.7229 GB, free: 20.8 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.358e-05/0.436, allocations: 31.78 kB / 0.7229 GB, free: 20.8 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001522/0.4361, allocations: 70.53 kB / 0.723 GB, free: 20.78 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.4361, allocations: 1.219 kB / 0.723 GB, free: 20.78 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001795/0.4363, allocations: 101.7 kB / 0.7231 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.4363, allocations: 5.406 kB / 0.7231 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.4363, allocations: 5.078 kB / 0.7231 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.4363, allocations: 1.156 kB / 0.7231 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.063e-05/0.4364, allocations: 14.44 kB / 0.7231 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.79e-06/0.4364, allocations: 1.781 kB / 0.7231 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.005e-05/0.4365, allocations: 15.55 kB / 0.7231 GB, free: 20.72 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.4365, allocations: 1.062 kB / 0.7231 GB, free: 20.72 MB / 0.6355 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 (3): * Single equations (assignments): 3 * 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 4.403e-05/0.4365, allocations: 112.9 kB / 0.7232 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.494e-05/0.4366, allocations: 9.953 kB / 0.7232 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002242/0.4368, allocations: 109.3 kB / 0.7233 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.4368, allocations: 4.641 kB / 0.7233 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.4368, allocations: 0 / 0.7233 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.4368, allocations: 1.375 kB / 0.7233 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.963e-05/0.4369, allocations: 108 kB / 0.7234 GB, free: 20.42 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.4369, allocations: 0 / 0.7234 GB, free: 20.42 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.134e-05/0.4369, allocations: 28.77 kB / 0.7235 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.4369, allocations: 0 / 0.7235 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.4369, allocations: 6.281 kB / 0.7235 GB, free: 20.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.4369, allocations: 0 / 0.7235 GB, free: 20.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.4369, allocations: 0 / 0.7235 GB, free: 20.4 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001922/0.4371, allocations: 191.8 kB / 0.7237 GB, free: 20.26 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.215e-06/0.4371, allocations: 6.922 kB / 0.7237 GB, free: 20.26 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.159e-05/0.4371, allocations: 4.984 kB / 0.7237 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.684e-05/0.4372, allocations: 19.38 kB / 0.7237 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.356e-05/0.4372, allocations: 7.953 kB / 0.7237 GB, free: 20.24 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.4372, allocations: 1.219 kB / 0.7237 GB, free: 20.24 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.392e-05/0.4373, allocations: 96.45 kB / 0.7238 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4373, allocations: 0 / 0.7238 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001465/0.4374, allocations: 5.594 kB / 0.7238 GB, free: 20.16 MB / 0.6355 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 (3): * Single equations (assignments): 3 * 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 8.773e-05/0.4375, allocations: 93.44 kB / 0.7239 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002093/0.4377, allocations: 70.33 kB / 0.724 GB, free: 20.06 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.4377, allocations: 1.156 kB / 0.724 GB, free: 20.06 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.866e-05/0.4378, allocations: 33.69 kB / 0.724 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002344/0.438, allocations: 9.047 kB / 0.724 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002635/0.4383, allocations: 149.7 kB / 0.7241 GB, free: 19.9 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.956e-05/0.4383, allocations: 68.91 kB / 0.7242 GB, free: 19.83 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.118e-05/0.4384, allocations: 14.44 kB / 0.7242 GB, free: 19.82 MB / 0.6355 GB Notification: Performance of SimCode: time 1.142e-06/0.4384, allocations: 0 / 0.7242 GB, free: 19.82 MB / 0.6355 GB Notification: Performance of Templates: time 0.001818/0.4402, allocations: 0.7669 MB / 0.725 GB, free: 19.77 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.170950982021168] Failed to read output from testmodel.py, exit status != 0: 0.4462631370406598 0.453891854 0.018428486 Calling exit ...