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.001192/0.001192, allocations: 93.06 kB / 19.65 MB, free: 280 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.00144/0.00144, allocations: 165 kB / 23.02 MB, free: 1.555 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.023/1.023, allocations: 177.1 MB / 203.4 MB, free: 5.652 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.7834/0.7834, allocations: 154.6 MB / 414.5 MB, free: 0.6406 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.633e-06/1.633e-06, allocations: 0 / 0.5204 GB, free: 2.121 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.081e-05/2.244e-05, allocations: 6.734 kB / 0.5204 GB, free: 2.117 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.001191/0.001213, allocations: 0.6936 MB / 0.5211 GB, free: 1.445 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008298/0.002043, allocations: 0.8448 MB / 0.5219 GB, free: 0.5898 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.414e-05/0.002077, allocations: 4 kB / 0.5219 GB, free: 0.5859 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.993e-05/0.002107, allocations: 3.938 kB / 0.5219 GB, free: 0.582 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.733e-05/0.002174, allocations: 9.672 kB / 0.5219 GB, free: 0.5742 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.174e-05/0.002236, allocations: 19.97 kB / 0.5219 GB, free: 0.5547 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.094e-05/0.002307, allocations: 39.86 kB / 0.522 GB, free: 0.5156 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.128e-05/0.002398, allocations: 11.98 kB / 0.522 GB, free: 0.5039 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.029e-05/0.002469, allocations: 21.55 kB / 0.522 GB, free: 496 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.522e-05/0.002504, allocations: 15.92 kB / 0.522 GB, free: 480 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.736e-05/0.002521, allocations: 4 kB / 0.522 GB, free: 476 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.843e-06/0.002528, allocations: 4 kB / 0.522 GB, free: 472 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.587e-05/0.002544, allocations: 8.734 kB / 0.522 GB, free: 464 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.253e-05/0.002566, allocations: 11.94 kB / 0.522 GB, free: 452 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 7.757e-05/0.002644, allocations: 37.3 kB / 0.5221 GB, free: 416 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.843e-06/0.002646, allocations: 0 / 0.5221 GB, free: 416 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.002647, allocations: 0 / 0.5221 GB, free: 416 kB / 490.7 MB Notification: Performance of Transformations before backend: time 3.566e-06/0.002651, allocations: 4 kB / 0.5221 GB, free: 412 kB / 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.000334/0.002985, allocations: 369.9 kB / 0.5224 GB, free: 4 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.003031, allocations: 16.02 kB / 0.5224 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.238e-05/0.003063, allocations: 8.891 kB / 0.5225 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.253e-05/0.003146, allocations: 113.5 kB / 0.5226 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.003158, allocations: 8.375 kB / 0.5226 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.154e-05/0.003169, allocations: 384 / 0.5226 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001259/0.003295, allocations: 69.88 kB / 0.5226 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.003305, allocations: 192 / 0.5226 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.126e-06/0.003313, allocations: 384 / 0.5226 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.00332, allocations: 384 / 0.5226 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.084e-05/0.003351, allocations: 11.88 kB / 0.5227 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002661/0.003617, allocations: 259.8 kB / 0.5229 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.28e-05/0.00368, allocations: 31.62 kB / 0.5229 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.963e-05/0.003709, allocations: 19.69 kB / 0.5229 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.995e-06/0.003717, allocations: 0.5625 kB / 0.5229 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.125e-05/0.003739, allocations: 42.25 kB / 0.523 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 6.51e-07/0.003739, allocations: 0 / 0.523 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0001394/0.003879, allocations: 54.06 kB / 0.523 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.66e-05/0.003905, allocations: 56.88 kB / 0.5231 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.34e-05/0.003979, allocations: 165.9 kB / 0.5233 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.227e-06/0.003988, allocations: 25.7 kB / 0.5233 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.215e-05/0.00403, allocations: 138.8 kB / 0.5234 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.733e-05/0.004047, allocations: 12.88 kB / 0.5234 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.978e-05/0.004077, allocations: 19.38 kB / 0.5234 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001027/0.00418, allocations: 0.4884 MB / 0.5239 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.575e-05/0.004196, allocations: 1.406 kB / 0.5239 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.387e-05/0.004209, allocations: 7.938 kB / 0.5239 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.058e-05/0.00424, allocations: 15.69 kB / 0.5239 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.004242, allocations: 0 / 0.5239 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.552e-05/0.004297, allocations: 50.8 kB / 0.524 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.00431, allocations: 7.938 kB / 0.524 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.004314, allocations: 4 kB / 0.524 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.00433, allocations: 4.719 kB / 0.524 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.163e-05/0.004401, allocations: 13.27 kB / 0.524 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.004406, allocations: 320 / 0.524 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.128e-05/0.004428, allocations: 4 kB / 0.524 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-06/0.004432, allocations: 1.344 kB / 0.524 GB, free: 14.21 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 5.768e-05/0.00449, allocations: 156.5 kB / 0.5242 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.378e-05/0.004504, allocations: 8 kB / 0.5242 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.728e-05/0.004531, allocations: 14.89 kB / 0.5242 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.004534, allocations: 4 kB / 0.5242 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.105e-06/0.004537, allocations: 0 / 0.5242 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.004539, allocations: 0 / 0.5242 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.636e-05/0.004626, allocations: 116.6 kB / 0.5243 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.91e-07/0.004626, allocations: 4 kB / 0.5243 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.427e-05/0.004651, allocations: 4 kB / 0.5243 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.004652, allocations: 7.984 kB / 0.5243 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.251e-06/0.004659, allocations: 6.75 kB / 0.5243 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.00466, allocations: 3.938 kB / 0.5243 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.004661, allocations: 0 / 0.5243 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.475e-05/0.004756, allocations: 191.9 kB / 0.5245 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.324e-06/0.004763, allocations: 11.88 kB / 0.5245 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.416e-06/0.004771, allocations: 0 / 0.5245 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.529e-05/0.004807, allocations: 11.88 kB / 0.5245 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.654e-05/0.004843, allocations: 4.547 kB / 0.5245 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-06/0.004846, allocations: 4 kB / 0.5245 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.725e-05/0.004883, allocations: 136.4 kB / 0.5247 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.1e-08/0.004883, allocations: 0 / 0.5247 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001429/0.005026, allocations: 8 kB / 0.5247 GB, free: 13.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: 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 6.784e-05/0.005094, allocations: 92.34 kB / 0.5248 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 8.179e-05/0.005176, allocations: 20.56 kB / 0.5248 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.005177, allocations: 0 / 0.5248 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.135e-05/0.005198, allocations: 21.39 kB / 0.5248 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003348/0.005533, allocations: 8 kB / 0.5248 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000253/0.005786, allocations: 140.8 kB / 0.525 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.044e-05/0.005817, allocations: 55.36 kB / 0.525 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.79e-05/0.005835, allocations: 3.984 kB / 0.525 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.759e-05/0.005862, allocations: 8.5 kB / 0.525 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of SimCode: time 7.21e-07/0.005863, allocations: 6.469 kB / 0.525 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of Templates: time 0.002036/0.007899, allocations: 0.732 MB / 0.5257 GB, free: 12.37 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.9493101383559406]