Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.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.0008779/0.0008779, allocations: 81.08 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.0009014/0.0009014, allocations: 169 kB / 23.27 MB, free: 1.219 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.92/0.92, allocations: 177.1 MB / 203.7 MB, free: 5.508 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.7628/0.7628, allocations: 154.6 MB / 414.8 MB, free: 0.5156 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.Subtract,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract") translateModel(IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.5208 GB, free: 1.91 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.105e-05/1.257e-05, allocations: 2.312 kB / 0.5208 GB, free: 1.906 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.001109/0.001122, allocations: 0.7574 MB / 0.5215 GB, free: 1.172 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007165/0.001838, allocations: 0.8984 MB / 0.5224 GB, free: 268 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.91e-05/0.001877, allocations: 4 kB / 0.5224 GB, free: 264 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.627e-05/0.001904, allocations: 13.27 kB / 0.5224 GB, free: 252 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.97e-05/0.001973, allocations: 7.875 kB / 0.5224 GB, free: 244 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001181/0.002091, allocations: 39.94 kB / 0.5225 GB, free: 204 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.528e-05/0.002167, allocations: 84.98 kB / 0.5225 GB, free: 120 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.42e-05/0.002251, allocations: 19.91 kB / 0.5226 GB, free: 100 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.419e-05/0.002335, allocations: 51.91 kB / 0.5226 GB, free: 48 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.36e-05/0.002389, allocations: 40.56 kB / 0.5226 GB, free: 8 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.918e-05/0.002408, allocations: 8 kB / 0.5226 GB, free: 0 / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.124e-05/0.002429, allocations: 9.328 kB / 0.5227 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.158e-05/0.002451, allocations: 23.86 kB / 0.5227 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.48e-05/0.002475, allocations: 23.92 kB / 0.5227 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 8.873e-05/0.002564, allocations: 68.77 kB / 0.5228 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.002567, allocations: 4 kB / 0.5228 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.683e-06/0.002569, allocations: 4 kB / 0.5228 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.015e-06/0.002572, allocations: 0.5312 kB / 0.5228 GB, free: 15.87 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.0003368/0.002908, allocations: 398.3 kB / 0.5232 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/0.002941, allocations: 12.03 kB / 0.5232 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.944e-05/0.00297, allocations: 16.83 kB / 0.5232 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.149e-05/0.003041, allocations: 127.7 kB / 0.5233 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/0.003056, allocations: 384 / 0.5233 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.967e-06/0.003065, allocations: 9.875 kB / 0.5233 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001342/0.0032, allocations: 86.89 kB / 0.5234 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.003208, allocations: 3.938 kB / 0.5234 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-06/0.003216, allocations: 5.469 kB / 0.5234 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.003221, allocations: 0 / 0.5234 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.328e-05/0.003264, allocations: 27.92 kB / 0.5234 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002801/0.003544, allocations: 301.1 kB / 0.5237 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002084/0.003753, allocations: 80.05 kB / 0.5238 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.96e-05/0.003782, allocations: 25.17 kB / 0.5238 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.542e-05/0.003798, allocations: 4 kB / 0.5238 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.757e-05/0.003815, allocations: 37.39 kB / 0.5239 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 9.82e-07/0.003816, allocations: 4.438 kB / 0.5239 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0001471/0.003963, allocations: 70.7 kB / 0.5239 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.347e-05/0.003987, allocations: 59.33 kB / 0.524 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.709e-05/0.004054, allocations: 179 kB / 0.5242 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.113e-05/0.004065, allocations: 33.7 kB / 0.5242 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.056e-05/0.004105, allocations: 134.9 kB / 0.5243 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.535e-05/0.004131, allocations: 24.41 kB / 0.5243 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.489e-05/0.004166, allocations: 31.36 kB / 0.5244 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.004267, allocations: 0.49 MB / 0.5249 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.032e-05/0.004288, allocations: 8 kB / 0.5249 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.84e-05/0.004306, allocations: 8.297 kB / 0.5249 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.812e-05/0.004354, allocations: 41.56 kB / 0.5249 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.004355, allocations: 0 / 0.5249 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.927e-05/0.004435, allocations: 73.61 kB / 0.525 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.806e-06/0.004443, allocations: 7.938 kB / 0.525 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.366e-06/0.004447, allocations: 1.031 kB / 0.525 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.578e-06/0.004456, allocations: 0 / 0.525 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.406e-05/0.00452, allocations: 19.98 kB / 0.525 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.016e-06/0.004523, allocations: 4.922 kB / 0.525 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.211e-05/0.004556, allocations: 4 kB / 0.525 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.004562, allocations: 11.25 kB / 0.525 GB, free: 13.39 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,sub.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.993e-05/0.004622, allocations: 156.5 kB / 0.5252 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.729e-05/0.004639, allocations: 7.953 kB / 0.5252 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.212e-05/0.004661, allocations: 16.42 kB / 0.5252 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.51e-07/0.004662, allocations: 0 / 0.5252 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.163e-06/0.004663, allocations: 0 / 0.5252 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.004665, allocations: 0 / 0.5252 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.902e-05/0.004764, allocations: 121.2 kB / 0.5253 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-07/0.004765, allocations: 2.906 kB / 0.5253 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.796e-05/0.004813, allocations: 31.84 kB / 0.5253 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.153e-06/0.004814, allocations: 3.938 kB / 0.5253 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.14e-06/0.004819, allocations: 0 / 0.5253 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.21e-07/0.00482, allocations: 0 / 0.5253 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.00482, allocations: 0 / 0.5253 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001168/0.004937, allocations: 211.9 kB / 0.5256 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.128e-05/0.004948, allocations: 21.39 kB / 0.5256 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.436e-06/0.004957, allocations: 0 / 0.5256 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.614e-05/0.005003, allocations: 7.984 kB / 0.5256 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.111e-05/0.005054, allocations: 23.97 kB / 0.5256 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-06/0.005059, allocations: 5.281 kB / 0.5256 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.659e-05/0.005096, allocations: 139.2 kB / 0.5257 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6.1e-08/0.005096, allocations: 0 / 0.5257 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001398/0.005235, allocations: 12.53 kB / 0.5258 GB, free: 12.59 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 (sub.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.455e-05/0.0053, allocations: 104 kB / 0.5259 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 8.001e-05/0.00538, allocations: 40.16 kB / 0.5259 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.31e-07/0.005381, allocations: 2.25 kB / 0.5259 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.342e-05/0.005424, allocations: 43.58 kB / 0.5259 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001652/0.005589, allocations: 15.94 kB / 0.5259 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002338/0.005823, allocations: 177 kB / 0.5261 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.912e-05/0.005852, allocations: 59.36 kB / 0.5262 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.816e-05/0.00589, allocations: 15.39 kB / 0.5262 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.385e-05/0.005964, allocations: 86.19 kB / 0.5263 GB, free: 12 MB / 0.4948 GB Notification: Performance of SimCode: time 3.91e-07/0.005965, allocations: 0 / 0.5263 GB, free: 12 MB / 0.4948 GB Notification: Performance of Templates: time 0.00274/0.008705, allocations: 1.831 MB / 0.5281 GB, free: 10.27 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3527235919609666]