Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.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.0009902/0.0009902, allocations: 92.2 kB / 20.19 MB, free: 4.352 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.001206/0.001206, allocations: 173 kB / 23.5 MB, free: 1.047 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 1.008/1.008, allocations: 177.1 MB / 203.8 MB, free: 5.645 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.8227/0.8227, allocations: 154.6 MB / 414.9 MB, free: 0.7031 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.Reals.Validation.Subtract,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.764e-06/1.764e-06, allocations: 0 / 0.5204 GB, free: 2.48 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.14e-05/2.316e-05, allocations: 4.141 kB / 0.5204 GB, free: 2.477 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.001294/0.001317, allocations: 0.6938 MB / 0.5211 GB, free: 1.801 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007959/0.002113, allocations: 0.8436 MB / 0.5219 GB, free: 0.9453 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.684e-05/0.00215, allocations: 4.75 kB / 0.5219 GB, free: 0.9414 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.443e-05/0.002174, allocations: 3.938 kB / 0.5219 GB, free: 0.9375 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.78e-05/0.002232, allocations: 9.688 kB / 0.5219 GB, free: 0.9297 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.937e-05/0.002291, allocations: 15.98 kB / 0.5219 GB, free: 0.9141 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.698e-05/0.002368, allocations: 43.84 kB / 0.522 GB, free: 0.8711 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.983e-05/0.002458, allocations: 8 kB / 0.522 GB, free: 0.8633 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.565e-05/0.002534, allocations: 32.45 kB / 0.522 GB, free: 0.832 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.322e-05/0.002567, allocations: 11.98 kB / 0.522 GB, free: 0.8203 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.78e-05/0.002585, allocations: 4.906 kB / 0.522 GB, free: 0.8164 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.632e-06/0.002592, allocations: 4 kB / 0.522 GB, free: 0.8125 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.486e-05/0.002606, allocations: 9.422 kB / 0.522 GB, free: 0.8047 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.108e-05/0.002627, allocations: 11.94 kB / 0.5221 GB, free: 0.793 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 8.076e-05/0.002708, allocations: 23.91 kB / 0.5221 GB, free: 0.7695 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.002711, allocations: 0 / 0.5221 GB, free: 0.7695 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.002712, allocations: 0.7812 kB / 0.5221 GB, free: 0.7695 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.867e-06/0.002716, allocations: 4 kB / 0.5221 GB, free: 0.7656 MB / 490.7 MB 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.0003575/0.003073, allocations: 377.7 kB / 0.5224 GB, free: 368 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.003109, allocations: 12.03 kB / 0.5225 GB, free: 356 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.519e-05/0.003144, allocations: 15.58 kB / 0.5225 GB, free: 344 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.162e-05/0.003226, allocations: 120.5 kB / 0.5226 GB, free: 196 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.003236, allocations: 4.375 kB / 0.5226 GB, free: 192 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.999e-06/0.003246, allocations: 4.375 kB / 0.5226 GB, free: 188 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001249/0.003371, allocations: 62.94 kB / 0.5227 GB, free: 116 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.189e-06/0.003376, allocations: 192 / 0.5227 GB, free: 116 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.796e-06/0.003385, allocations: 4.375 kB / 0.5227 GB, free: 112 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.003393, allocations: 0.9375 kB / 0.5227 GB, free: 112 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.248e-05/0.003425, allocations: 7.938 kB / 0.5227 GB, free: 104 kB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003186/0.003744, allocations: 261.1 kB / 0.5229 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.454e-05/0.003819, allocations: 35.05 kB / 0.523 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.33e-05/0.003852, allocations: 20.66 kB / 0.523 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.083e-06/0.003859, allocations: 0 / 0.523 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.061e-05/0.00388, allocations: 34.33 kB / 0.523 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 6.81e-07/0.00388, allocations: 0 / 0.523 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0001543/0.004035, allocations: 53.66 kB / 0.5231 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.345e-05/0.004068, allocations: 56.34 kB / 0.5231 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.321e-05/0.004151, allocations: 165.9 kB / 0.5233 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.578e-06/0.004161, allocations: 26.2 kB / 0.5233 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.141e-05/0.004212, allocations: 138.8 kB / 0.5234 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.833e-05/0.00423, allocations: 8.734 kB / 0.5234 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.765e-05/0.004258, allocations: 19.38 kB / 0.5235 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.004381, allocations: 497.3 kB / 0.5239 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.639e-05/0.004398, allocations: 0 / 0.5239 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.42e-05/0.004412, allocations: 7.984 kB / 0.5239 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.305e-05/0.004445, allocations: 16.59 kB / 0.5239 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.004449, allocations: 4 kB / 0.524 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.3e-05/0.004512, allocations: 59.38 kB / 0.524 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.004526, allocations: 7.938 kB / 0.524 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.00453, allocations: 4 kB / 0.524 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.004544, allocations: 0 / 0.524 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.572e-05/0.00462, allocations: 9.625 kB / 0.524 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.75e-06/0.004626, allocations: 0 / 0.524 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.423e-05/0.00465, allocations: 7.984 kB / 0.524 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.949e-06/0.004655, allocations: 3.938 kB / 0.524 GB, free: 14.57 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: 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 6.198e-05/0.004717, allocations: 153.4 kB / 0.5242 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.225e-05/0.004729, allocations: 4 kB / 0.5242 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.372e-05/0.004753, allocations: 14.72 kB / 0.5242 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.004756, allocations: 4 kB / 0.5242 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.00476, allocations: 3.984 kB / 0.5242 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.004763, allocations: 0 / 0.5242 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.176e-05/0.004855, allocations: 116.6 kB / 0.5243 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.004856, allocations: 4 kB / 0.5243 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.549e-05/0.004881, allocations: 7.938 kB / 0.5243 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.004885, allocations: 7.125 kB / 0.5243 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.004893, allocations: 0 / 0.5243 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.004897, allocations: 3.938 kB / 0.5243 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.004898, allocations: 0 / 0.5243 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001025/0.005, allocations: 191.9 kB / 0.5245 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.975e-06/0.005008, allocations: 11.92 kB / 0.5245 GB, free: 14 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.249e-05/0.005021, allocations: 4 kB / 0.5245 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.809e-05/0.005059, allocations: 7.938 kB / 0.5246 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.056e-05/0.005099, allocations: 5.797 kB / 0.5246 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.127e-06/0.005104, allocations: 4 kB / 0.5246 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.456e-05/0.005148, allocations: 131.5 kB / 0.5247 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.005148, allocations: 0 / 0.5247 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001386/0.005287, allocations: 8 kB / 0.5247 GB, free: 13.84 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: 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.728e-05/0.005374, allocations: 101.3 kB / 0.5248 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 9.129e-05/0.005465, allocations: 15.69 kB / 0.5248 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.005467, allocations: 0 / 0.5248 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.479e-05/0.005492, allocations: 19.67 kB / 0.5248 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001994/0.005691, allocations: 10.75 kB / 0.5248 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003093/0.006, allocations: 130.2 kB / 0.525 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.092e-05/0.006041, allocations: 59.34 kB / 0.525 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.188e-05/0.006063, allocations: 5.5 kB / 0.525 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.15e-05/0.006095, allocations: 12.5 kB / 0.525 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of SimCode: time 1.172e-06/0.006096, allocations: 4 kB / 0.525 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of Templates: time 0.00221/0.008306, allocations: 0.7399 MB / 0.5258 GB, free: 12.73 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7647837300319225]