Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.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.0008032/0.0008032, 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.001151/0.001151, allocations: 165.9 kB / 23.18 MB, free: 1.383 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.8397/0.8397, allocations: 177.2 MB / 203.6 MB, free: 5.379 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.6973/0.6973, allocations: 154.9 MB / 415 MB, free: 392 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.MultiMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax") [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.0008894/0.0008894, allocations: 75.88 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.4417/0.4426, allocations: 102 MB / 0.7195 GB, free: 23.4 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.001571/0.4442, allocations: 0.6428 MB / 0.7202 GB, free: 23 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0001534/0.4443, allocations: 11.28 kB / 0.7202 GB, free: 23 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.611e-05/0.4444, allocations: 1.281 kB / 0.7202 GB, free: 23 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 9.685e-05/0.4445, allocations: 4.656 kB / 0.7202 GB, free: 22.99 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 3.878e-05/0.4445, allocations: 9.922 kB / 0.7202 GB, free: 22.98 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 7.365e-05/0.4446, allocations: 5.016 kB / 0.7202 GB, free: 22.98 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 8.464e-05/0.4447, allocations: 30.78 kB / 0.7202 GB, free: 22.97 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000122/0.4448, allocations: 21.02 kB / 0.7202 GB, free: 22.96 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 3.856e-05/0.4448, allocations: 23.98 kB / 0.7203 GB, free: 22.95 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 3.21e-05/0.4449, allocations: 14.58 kB / 0.7203 GB, free: 22.94 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.702e-05/0.4449, allocations: 6.688 kB / 0.7203 GB, free: 22.94 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 1.002e-05/0.4449, allocations: 3.594 kB / 0.7203 GB, free: 22.94 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.965e-05/0.4449, allocations: 8.672 kB / 0.7203 GB, free: 22.93 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 3.193e-05/0.445, allocations: 21.81 kB / 0.7203 GB, free: 22.92 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001029/0.4451, allocations: 52.14 kB / 0.7204 GB, free: 22.9 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.4451, allocations: 1.188 kB / 0.7204 GB, free: 22.9 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.804e-06/0.4451, allocations: 0 / 0.7204 GB, free: 22.9 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.4451, allocations: 0 / 0.7204 GB, free: 22.9 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0002567/0.4453, allocations: 276.4 kB / 0.7206 GB, free: 22.62 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.4454, allocations: 10.75 kB / 0.7206 GB, free: 22.62 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.766e-05/0.4454, allocations: 8.703 kB / 0.7207 GB, free: 22.61 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001054/0.4455, allocations: 117.9 kB / 0.7208 GB, free: 22.48 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.4455, allocations: 5.781 kB / 0.7208 GB, free: 22.48 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.214e-05/0.4455, allocations: 8.719 kB / 0.7208 GB, free: 22.48 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001352/0.4457, allocations: 81.55 kB / 0.7209 GB, free: 22.43 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.4457, allocations: 1.625 kB / 0.7209 GB, free: 22.43 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.4457, allocations: 7.938 kB / 0.7209 GB, free: 22.42 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.4457, allocations: 1.094 kB / 0.7209 GB, free: 22.42 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.676e-05/0.4457, allocations: 49.53 kB / 0.7209 GB, free: 22.41 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000307/0.4461, allocations: 418.1 kB / 0.7213 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 3.634e-05/0.4461, allocations: 171.4 kB / 0.7215 GB, free: 21.85 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.04e-05/0.4461, allocations: 80.14 kB / 0.7216 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 7.424e-06/0.4461, allocations: 77.16 kB / 0.7216 GB, free: 21.69 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.797e-05/0.4461, allocations: 115 kB / 0.7217 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 1.553e-06/0.4461, allocations: 4.969 kB / 0.7217 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 6.09e-05/0.4462, allocations: 35.7 kB / 0.7218 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.64e-05/0.4462, allocations: 128.2 kB / 0.7219 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.902e-05/0.4463, allocations: 122.3 kB / 0.722 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.627e-06/0.4463, allocations: 26.86 kB / 0.722 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.664e-05/0.4463, allocations: 101.8 kB / 0.7221 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.276e-06/0.4463, allocations: 0.75 kB / 0.7221 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.997e-05/0.4464, allocations: 13.81 kB / 0.7222 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.771e-05/0.4464, allocations: 317.1 kB / 0.7225 GB, free: 20.82 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.421e-05/0.4464, allocations: 10.34 kB / 0.7225 GB, free: 20.82 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.074e-05/0.4464, allocations: 10.59 kB / 0.7225 GB, free: 20.82 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.086e-05/0.4464, allocations: 21.45 kB / 0.7225 GB, free: 20.8 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.4464, allocations: 0 / 0.7225 GB, free: 20.8 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.273e-05/0.4465, allocations: 48 kB / 0.7225 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.4465, allocations: 7.266 kB / 0.7226 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.4466, allocations: 112 / 0.7226 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.4466, allocations: 5.219 kB / 0.7226 GB, free: 20.76 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.528e-05/0.4466, allocations: 3.859 kB / 0.7226 GB, free: 20.76 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/0.4466, allocations: 0 / 0.7226 GB, free: 20.76 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.561e-05/0.4466, allocations: 11.08 kB / 0.7226 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.4467, allocations: 6.219 kB / 0.7226 GB, free: 20.75 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 (1): * Single equations (assignments): 1 * 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.606e-05/0.4467, allocations: 191.8 kB / 0.7228 GB, free: 20.56 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.026e-05/0.4467, allocations: 112 kB / 0.7229 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.949e-05/0.4467, allocations: 112.3 kB / 0.723 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.364e-05/0.4467, allocations: 181.3 kB / 0.7231 GB, free: 20.15 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.475e-05/0.4468, allocations: 178.3 kB / 0.7233 GB, free: 19.97 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.453e-05/0.4468, allocations: 183.2 kB / 0.7235 GB, free: 19.79 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.733e-05/0.4469, allocations: 371.7 kB / 0.7238 GB, free: 19.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.135e-06/0.4469, allocations: 102.7 kB / 0.7239 GB, free: 19.3 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.658e-06/0.4469, allocations: 110.7 kB / 0.724 GB, free: 19.18 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.276e-05/0.4469, allocations: 182 kB / 0.7242 GB, free: 19 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.821e-05/0.4469, allocations: 179.8 kB / 0.7244 GB, free: 18.82 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.508e-05/0.4469, allocations: 185.9 kB / 0.7246 GB, free: 18.63 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.409e-05/0.4469, allocations: 178 kB / 0.7247 GB, free: 18.45 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.316e-05/0.447, allocations: 311.5 kB / 0.725 GB, free: 18.13 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.771e-05/0.447, allocations: 112.5 kB / 0.7251 GB, free: 18.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.287e-05/0.447, allocations: 182.3 kB / 0.7253 GB, free: 17.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.664e-05/0.4471, allocations: 104.1 kB / 0.7254 GB, free: 17.73 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.874e-05/0.4471, allocations: 183.2 kB / 0.7256 GB, free: 17.55 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.386e-06/0.4471, allocations: 102.2 kB / 0.7257 GB, free: 17.44 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.68e-05/0.4471, allocations: 103.8 kB / 0.7258 GB, free: 17.36 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.4471, allocations: 0 / 0.7258 GB, free: 17.36 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001423/0.4473, allocations: 9.688 kB / 0.7258 GB, free: 17.35 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 (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 8.025e-05/0.4474, allocations: 168.5 kB / 0.726 GB, free: 17.19 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.432e-05/0.4474, allocations: 11.81 kB / 0.726 GB, free: 17.19 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.654e-06/0.4474, allocations: 0 / 0.726 GB, free: 17.19 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.412e-06/0.4474, allocations: 2 kB / 0.726 GB, free: 17.19 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000235/0.4477, allocations: 459.8 kB / 0.7264 GB, free: 16.74 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002233/0.4479, allocations: 234.7 kB / 0.7266 GB, free: 16.51 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.928e-05/0.4479, allocations: 80.38 kB / 0.7267 GB, free: 16.43 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.175e-05/0.448, allocations: 10.62 kB / 0.7267 GB, free: 16.43 MB / 0.6355 GB Notification: Performance of SimCode: time 7.62e-07/0.448, allocations: 3.938 kB / 0.7267 GB, free: 16.42 MB / 0.6355 GB Notification: Performance of Templates: time 0.00166/0.4496, allocations: 0.6597 MB / 0.7274 GB, free: 16.38 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.340327759971842] Failed to read output from testmodel.py, exit status != 0: 0.45480178017169237 0.46552759800000004 0.018534103 Calling exit ...