Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Integers.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.0008365/0.0008365, allocations: 81.95 kB / 19.87 MB, free: 4.621 MB / 18.57 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.0008684/0.0008684, allocations: 169.7 kB / 23.27 MB, free: 1.223 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.8839/0.8839, allocations: 177.1 MB / 203.7 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.775/0.775, allocations: 154.6 MB / 414.8 MB, free: 0.5391 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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.Integers.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Max") translateModel(IDEAS.Controls.OBC.CDL.Integers.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Max") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 0.5208 GB, free: 1.879 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.068e-05/1.243e-05, allocations: 2.312 kB / 0.5208 GB, free: 1.875 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Max): time 0.001126/0.001138, allocations: 0.7515 MB / 0.5215 GB, free: 1.148 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007918/0.00193, allocations: 0.9069 MB / 0.5224 GB, free: 236 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.559e-05/0.001976, allocations: 4 kB / 0.5224 GB, free: 232 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.87e-05/0.002004, allocations: 7.875 kB / 0.5224 GB, free: 224 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.999e-05/0.002084, allocations: 7.875 kB / 0.5224 GB, free: 216 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001425/0.002227, allocations: 43.88 kB / 0.5225 GB, free: 172 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 8.682e-05/0.002314, allocations: 88.52 kB / 0.5225 GB, free: 84 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.689e-05/0.002411, allocations: 19.97 kB / 0.5226 GB, free: 64 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.99e-05/0.002511, allocations: 52.45 kB / 0.5226 GB, free: 12 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.575e-05/0.002586, allocations: 36.83 kB / 0.5226 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.118e-05/0.002607, allocations: 8 kB / 0.5227 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 1.189e-05/0.002619, allocations: 8 kB / 0.5227 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.419e-05/0.002644, allocations: 21.56 kB / 0.5227 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.934e-05/0.002673, allocations: 27.91 kB / 0.5227 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001032/0.002776, allocations: 67.72 kB / 0.5228 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.844e-06/0.002778, allocations: 0 / 0.5228 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.92e-07/0.002779, allocations: 0.9375 kB / 0.5228 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.317e-06/0.002782, allocations: 0 / 0.5228 GB, free: 15.85 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0003933/0.003175, allocations: 406.4 kB / 0.5232 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.003215, allocations: 12.02 kB / 0.5232 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.339e-05/0.003249, allocations: 12.89 kB / 0.5232 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.71e-05/0.003336, allocations: 128.4 kB / 0.5233 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.079e-05/0.003357, allocations: 4.375 kB / 0.5233 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.135e-05/0.003368, allocations: 9.031 kB / 0.5233 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000151/0.003519, allocations: 87.52 kB / 0.5234 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.003527, allocations: 4.594 kB / 0.5234 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.255e-06/0.003535, allocations: 0 / 0.5234 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.003541, allocations: 0.625 kB / 0.5234 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.821e-05/0.003589, allocations: 25.41 kB / 0.5234 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002881/0.003877, allocations: 308.1 kB / 0.5237 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002157/0.004093, allocations: 83.89 kB / 0.5238 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.51e-05/0.004118, allocations: 16.56 kB / 0.5238 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.807e-05/0.004136, allocations: 0 / 0.5238 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.093e-05/0.004157, allocations: 44.42 kB / 0.5239 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 7.01e-07/0.004158, allocations: 3.938 kB / 0.5239 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0001585/0.004316, allocations: 73.66 kB / 0.5239 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.28e-05/0.004339, allocations: 51.41 kB / 0.524 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.52e-05/0.004404, allocations: 180.8 kB / 0.5242 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.326e-05/0.004417, allocations: 33.69 kB / 0.5242 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.011e-05/0.004458, allocations: 134.8 kB / 0.5243 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.144e-05/0.004479, allocations: 24.34 kB / 0.5243 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.408e-05/0.004513, allocations: 32.45 kB / 0.5244 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.949e-05/0.004613, allocations: 0.4884 MB / 0.5249 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.148e-05/0.004634, allocations: 8 kB / 0.5249 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.018e-05/0.004654, allocations: 8.484 kB / 0.5249 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.181e-05/0.004706, allocations: 44.97 kB / 0.5249 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.004707, allocations: 3.938 kB / 0.5249 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.385e-05/0.004791, allocations: 70.56 kB / 0.525 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.548e-06/0.004801, allocations: 8.703 kB / 0.525 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.004804, allocations: 0 / 0.525 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.004815, allocations: 4.969 kB / 0.525 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.82e-05/0.004884, allocations: 15.98 kB / 0.525 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.104e-06/0.004886, allocations: 1.219 kB / 0.525 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.29e-05/0.004919, allocations: 4 kB / 0.525 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.644e-06/0.004926, allocations: 7.984 kB / 0.525 GB, free: 13.36 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (reaToInt1.y,reaToInt.y,max1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 5.956e-05/0.004986, allocations: 165.1 kB / 0.5252 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.906e-05/0.005005, allocations: 9.672 kB / 0.5252 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001075/0.005112, allocations: 86.02 kB / 0.5253 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.005116, allocations: 7.984 kB / 0.5253 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-06/0.005117, allocations: 3.219 kB / 0.5253 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.005119, allocations: 0 / 0.5253 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001013/0.005221, allocations: 113.2 kB / 0.5254 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.005221, allocations: 0 / 0.5254 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.067e-05/0.005272, allocations: 19.92 kB / 0.5254 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.005273, allocations: 0 / 0.5254 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.005279, allocations: 7.984 kB / 0.5254 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.81e-07/0.00528, allocations: 3.938 kB / 0.5254 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.005281, allocations: 0 / 0.5254 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000118/0.005399, allocations: 227 kB / 0.5256 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.987e-06/0.005408, allocations: 11.89 kB / 0.5257 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.037e-06/0.005417, allocations: 0 / 0.5257 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.756e-05/0.005465, allocations: 7.984 kB / 0.5257 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.779e-05/0.005513, allocations: 23.97 kB / 0.5257 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.979e-06/0.005518, allocations: 8 kB / 0.5257 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.391e-05/0.005551, allocations: 131.2 kB / 0.5258 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.005551, allocations: 1.812 kB / 0.5258 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001378/0.005689, allocations: 12 kB / 0.5258 GB, free: 12.48 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (max1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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 6.588e-05/0.005755, allocations: 99.19 kB / 0.5259 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 8.281e-05/0.005838, allocations: 45.3 kB / 0.526 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.052e-06/0.005839, allocations: 3.938 kB / 0.526 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.879e-05/0.005878, allocations: 31.67 kB / 0.526 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001647/0.006043, allocations: 26.61 kB / 0.526 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002419/0.006284, allocations: 174.6 kB / 0.5262 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.904e-05/0.006313, allocations: 59.36 kB / 0.5262 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.614e-05/0.00635, allocations: 12.39 kB / 0.5263 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.363e-05/0.006423, allocations: 90.19 kB / 0.5263 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of SimCode: time 3.8e-07/0.006424, allocations: 0 / 0.5263 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of Templates: time 0.002759/0.009183, allocations: 1.827 MB / 0.5281 GB, free: 10.16 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Max -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3276970298029482]