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.001371/0.001371, allocations: 82.25 kB / 19.16 MB, free: 2.539 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.001423/0.001423, allocations: 169.3 kB / 22.44 MB, free: 5.352 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.408/1.408, allocations: 177.2 MB / 202.8 MB, free: 9.188 MB / 190.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.171/1.171, allocations: 155 MB / 414.2 MB, free: 4.953 MB / 382.1 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 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.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.002132/0.002132, allocations: 70.95 kB / 0.6192 GB, free: 4.105 MB / 0.5294 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.6158/0.6179, allocations: 102 MB / 0.7188 GB, free: 1.766 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Max): time 0.001698/0.6196, allocations: 0.6877 MB / 0.7195 GB, free: 1.328 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007681/0.6204, allocations: 0.8282 MB / 0.7203 GB, free: 0.707 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.452e-05/0.6204, allocations: 1.344 kB / 0.7203 GB, free: 0.707 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.132e-05/0.6205, allocations: 4.5 kB / 0.7203 GB, free: 0.7031 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.83e-05/0.6205, allocations: 10.23 kB / 0.7203 GB, free: 0.6953 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001005/0.6206, allocations: 15.84 kB / 0.7203 GB, free: 0.6875 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.128e-05/0.6207, allocations: 46.75 kB / 0.7204 GB, free: 0.6641 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.905e-05/0.6208, allocations: 7.766 kB / 0.7204 GB, free: 0.6602 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.502e-05/0.6209, allocations: 24.94 kB / 0.7204 GB, free: 0.6484 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.285e-05/0.6209, allocations: 19.67 kB / 0.7204 GB, free: 0.6406 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.131e-05/0.6209, allocations: 3.531 kB / 0.7204 GB, free: 0.6406 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.588e-06/0.6209, allocations: 2.75 kB / 0.7204 GB, free: 0.6406 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.583e-05/0.621, allocations: 11.16 kB / 0.7204 GB, free: 0.6328 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.438e-05/0.621, allocations: 21.59 kB / 0.7204 GB, free: 0.6172 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.374e-05/0.6211, allocations: 49.27 kB / 0.7205 GB, free: 0.5977 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.287e-06/0.6211, allocations: 4 kB / 0.7205 GB, free: 0.5938 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.694e-06/0.6211, allocations: 4.828 kB / 0.7205 GB, free: 0.5898 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.989e-06/0.6211, allocations: 0 / 0.7205 GB, free: 0.5898 MB / 0.6075 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.0004018/0.6215, allocations: 288.2 kB / 0.7208 GB, free: 320 kB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.143e-05/0.6215, allocations: 10.47 kB / 0.7208 GB, free: 320 kB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.038e-05/0.6216, allocations: 7.484 kB / 0.7208 GB, free: 316 kB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.757e-05/0.6216, allocations: 107 kB / 0.7209 GB, free: 188 kB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.6216, allocations: 6.062 kB / 0.7209 GB, free: 184 kB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.059e-05/0.6216, allocations: 1.781 kB / 0.7209 GB, free: 184 kB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000229/0.6219, allocations: 69.64 kB / 0.721 GB, free: 144 kB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.6219, allocations: 4.125 kB / 0.721 GB, free: 140 kB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.6219, allocations: 7.938 kB / 0.721 GB, free: 132 kB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.6219, allocations: 1.859 kB / 0.721 GB, free: 132 kB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002801/0.6222, allocations: 66.69 kB / 0.721 GB, free: 120 kB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003072/0.6225, allocations: 210.8 kB / 0.7212 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002055/0.6227, allocations: 50.25 kB / 0.7213 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000154/0.6228, allocations: 41.33 kB / 0.7213 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.264e-05/0.6229, allocations: 0.7969 kB / 0.7213 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.304e-05/0.6229, allocations: 40.56 kB / 0.7214 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.6229, allocations: 0 / 0.7214 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of matching and sorting (n=3): time 0.0006446/0.6235, allocations: 133.4 kB / 0.7215 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.334e-05/0.6236, allocations: 52.16 kB / 0.7215 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.988e-05/0.6237, allocations: 107.4 kB / 0.7217 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/0.6237, allocations: 27.14 kB / 0.7217 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 5.375e-05/0.6237, allocations: 87.22 kB / 0.7218 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 2.228e-05/0.6238, allocations: 14.02 kB / 0.7218 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.633e-05/0.6238, allocations: 21.84 kB / 0.7218 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.6239, allocations: 313.7 kB / 0.7221 GB, free: 15.13 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001483/0.6241, allocations: 30.23 kB / 0.7221 GB, free: 15.13 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001372/0.6242, allocations: 35.59 kB / 0.7222 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002776/0.6245, allocations: 71.61 kB / 0.7222 GB, free: 15.1 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.6245, allocations: 0 / 0.7222 GB, free: 15.1 MB / 0.6231 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003285/0.6248, allocations: 98.52 kB / 0.7223 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.6248, allocations: 5.25 kB / 0.7223 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.6249, allocations: 0.6562 kB / 0.7223 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.6249, allocations: 0 / 0.7223 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000132/0.625, allocations: 19.66 kB / 0.7223 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.625, allocations: 9.875 kB / 0.7224 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.744e-05/0.6251, allocations: 10.3 kB / 0.7224 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.073e-05/0.6251, allocations: 6.234 kB / 0.7224 GB, free: 15.04 MB / 0.6231 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 7.879e-05/0.6252, allocations: 114 kB / 0.7225 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.952e-05/0.6252, allocations: 10.14 kB / 0.7225 GB, free: 14.92 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003639/0.6256, allocations: 104.5 kB / 0.7226 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.6256, allocations: 5.125 kB / 0.7226 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.6256, allocations: 0 / 0.7226 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.798e-06/0.6256, allocations: 2.109 kB / 0.7226 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001545/0.6257, allocations: 111.9 kB / 0.7227 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.6257, allocations: 0 / 0.7227 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001004/0.6258, allocations: 19.58 kB / 0.7227 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.6258, allocations: 1.188 kB / 0.7227 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.654e-06/0.6258, allocations: 0 / 0.7227 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.6258, allocations: 2.031 kB / 0.7227 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.6258, allocations: 3.938 kB / 0.7227 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000371/0.6262, allocations: 203.3 kB / 0.7229 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 1.212e-05/0.6262, allocations: 5.734 kB / 0.7229 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.357e-05/0.6262, allocations: 2 kB / 0.7229 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.6263, allocations: 10.62 kB / 0.7229 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.164e-05/0.6264, allocations: 8.75 kB / 0.7229 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/0.6264, allocations: 2.047 kB / 0.7229 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 5.661e-05/0.6265, allocations: 95.12 kB / 0.723 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of sort global known variables: time 7e-08/0.6265, allocations: 1.312 kB / 0.723 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002179/0.6267, allocations: 5.781 kB / 0.723 GB, free: 14.48 MB / 0.6231 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 0.0001187/0.6268, allocations: 93.25 kB / 0.7231 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0003774/0.6272, allocations: 70.72 kB / 0.7232 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.6272, allocations: 0 / 0.7232 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001529/0.6273, allocations: 38.19 kB / 0.7232 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002956/0.6276, allocations: 15.45 kB / 0.7233 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003225/0.6279, allocations: 125.8 kB / 0.7234 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.754e-05/0.628, allocations: 63.72 kB / 0.7234 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 3.044e-05/0.628, allocations: 5.906 kB / 0.7234 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.243e-05/0.6281, allocations: 19 kB / 0.7235 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of SimCode: time 2.51e-07/0.6281, allocations: 0 / 0.7235 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of Templates: time 0.003105/0.6312, allocations: 0.7238 MB / 0.7242 GB, free: 14.07 MB / 0.6231 GB " [Timeout remaining time 659] 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: 6.106564460322261] Failed to read output from testmodel.py, exit status != 0: 0.6402869317680597 0.656194306 0.031177197 Calling exit ...