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.0008907/0.0008907, allocations: 73.88 kB / 20.65 MB, free: 3.844 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.0009058/0.0009058, allocations: 169 kB / 24.06 MB, free: 452 kB / 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.9518/0.9518, allocations: 177.1 MB / 204.5 MB, free: 5.477 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.7459/0.7459, allocations: 154.6 MB / 415.6 MB, free: 0.5352 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.243e-06/1.243e-06, allocations: 0.875 kB / 0.5216 GB, free: 1.809 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.447e-05/1.571e-05, allocations: 4.281 kB / 0.5216 GB, free: 1.805 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.001164/0.001179, allocations: 0.6848 MB / 0.5223 GB, free: 1.145 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006739/0.001853, allocations: 0.8487 MB / 0.5231 GB, free: 292 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.024e-05/0.001883, allocations: 7.938 kB / 0.5231 GB, free: 284 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.153e-05/0.001905, allocations: 1 kB / 0.5231 GB, free: 284 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.508e-05/0.00196, allocations: 3.938 kB / 0.5231 GB, free: 280 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.545e-05/0.002005, allocations: 14.53 kB / 0.5231 GB, free: 268 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.174e-05/0.002067, allocations: 51.84 kB / 0.5232 GB, free: 216 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.164e-05/0.002139, allocations: 4 kB / 0.5232 GB, free: 212 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.15e-05/0.00221, allocations: 31.91 kB / 0.5232 GB, free: 180 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.908e-05/0.002239, allocations: 11.98 kB / 0.5232 GB, free: 168 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.402e-05/0.002253, allocations: 4 kB / 0.5232 GB, free: 164 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.172e-06/0.00226, allocations: 5.531 kB / 0.5232 GB, free: 160 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.65e-05/0.002276, allocations: 11.92 kB / 0.5232 GB, free: 148 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.49e-05/0.002291, allocations: 8 kB / 0.5232 GB, free: 140 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 6.431e-05/0.002355, allocations: 31.83 kB / 0.5233 GB, free: 108 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.663e-06/0.002357, allocations: 0 / 0.5233 GB, free: 108 kB / 490.7 MB Notification: Performance of FrontEnd: time 4.41e-07/0.002357, allocations: 4.438 kB / 0.5233 GB, free: 104 kB / 490.7 MB Notification: Performance of Transformations before backend: time 2.775e-06/0.00236, allocations: 1.031 kB / 0.5233 GB, free: 104 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.0002803/0.00264, allocations: 372.6 kB / 0.5236 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 2.875e-05/0.002669, allocations: 13.22 kB / 0.5236 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.249e-05/0.002692, allocations: 8.891 kB / 0.5237 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.897e-05/0.002761, allocations: 120.5 kB / 0.5238 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.538e-06/0.00277, allocations: 4.938 kB / 0.5238 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.632e-06/0.002777, allocations: 5.406 kB / 0.5238 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.457e-05/0.002871, allocations: 58.94 kB / 0.5238 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.144e-06/0.002879, allocations: 4.172 kB / 0.5238 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.534e-06/0.002886, allocations: 5.969 kB / 0.5238 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.00289, allocations: 384 / 0.5238 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.986e-05/0.00291, allocations: 11.88 kB / 0.5239 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001937/0.003104, allocations: 241.6 kB / 0.5241 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.949e-05/0.003154, allocations: 35.11 kB / 0.5241 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.027e-05/0.003174, allocations: 15.69 kB / 0.5241 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.182e-06/0.00318, allocations: 0.6875 kB / 0.5241 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.623e-05/0.003196, allocations: 33.39 kB / 0.5242 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 5.91e-07/0.003197, allocations: 1.281 kB / 0.5242 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0001057/0.003303, allocations: 53.66 kB / 0.5242 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.414e-05/0.003327, allocations: 51.41 kB / 0.5243 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.866e-05/0.003385, allocations: 167.3 kB / 0.5244 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.174e-06/0.003392, allocations: 29.7 kB / 0.5245 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.645e-05/0.003429, allocations: 134.8 kB / 0.5246 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.456e-05/0.003443, allocations: 7.953 kB / 0.5246 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.342e-05/0.003467, allocations: 24.14 kB / 0.5246 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.871e-05/0.003566, allocations: 496.1 kB / 0.5251 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.849e-06/0.003575, allocations: 0.8438 kB / 0.5251 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.026e-05/0.003586, allocations: 8 kB / 0.5251 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.607e-05/0.003612, allocations: 30.38 kB / 0.5251 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.003613, allocations: 0 / 0.5251 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.57e-05/0.003658, allocations: 37.66 kB / 0.5252 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.00367, allocations: 9.406 kB / 0.5252 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.015e-06/0.003673, allocations: 0 / 0.5252 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.895e-06/0.003681, allocations: 3.938 kB / 0.5252 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.362e-05/0.003734, allocations: 11.98 kB / 0.5252 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.063e-06/0.003737, allocations: 4.75 kB / 0.5252 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.319e-05/0.00376, allocations: 8.484 kB / 0.5252 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.536e-06/0.003763, allocations: 1.094 kB / 0.5252 GB, free: 13.95 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.499e-05/0.003818, allocations: 160.6 kB / 0.5254 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.4e-05/0.003832, allocations: 0 / 0.5254 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.545e-05/0.003848, allocations: 13.38 kB / 0.5254 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.00385, allocations: 3.938 kB / 0.5254 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-06/0.003851, allocations: 0 / 0.5254 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.003853, allocations: 0 / 0.5254 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.078e-05/0.003934, allocations: 101.8 kB / 0.5255 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.003935, allocations: 5.359 kB / 0.5255 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.526e-05/0.00396, allocations: 7.984 kB / 0.5255 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.81e-07/0.003961, allocations: 4.969 kB / 0.5255 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.617e-06/0.003964, allocations: 0 / 0.5255 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-07/0.003965, allocations: 0 / 0.5255 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.215e-06/0.003967, allocations: 4.609 kB / 0.5255 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.539e-05/0.004052, allocations: 203.8 kB / 0.5257 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.683e-06/0.004059, allocations: 8.469 kB / 0.5257 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.504e-06/0.004067, allocations: 3.312 kB / 0.5257 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.517e-05/0.004102, allocations: 4 kB / 0.5257 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.559e-05/0.004127, allocations: 7.922 kB / 0.5257 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.764e-06/0.004129, allocations: 3.938 kB / 0.5257 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.401e-05/0.004163, allocations: 131.2 kB / 0.5258 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.004163, allocations: 0 / 0.5258 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001351/0.004298, allocations: 8 kB / 0.5258 GB, free: 13.24 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.173e-05/0.00436, allocations: 93.72 kB / 0.5259 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 5.857e-05/0.004419, allocations: 19.67 kB / 0.526 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.02e-07/0.00442, allocations: 0 / 0.526 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.707e-05/0.004437, allocations: 15.69 kB / 0.526 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001645/0.004601, allocations: 8 kB / 0.526 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001878/0.004789, allocations: 139.1 kB / 0.5261 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.736e-05/0.004816, allocations: 56.42 kB / 0.5262 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.797e-05/0.004834, allocations: 0.9688 kB / 0.5262 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.931e-05/0.004884, allocations: 78.19 kB / 0.5262 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of SimCode: time 5.51e-07/0.004884, allocations: 0 / 0.5262 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of Templates: time 0.001974/0.006858, allocations: 0.8102 MB / 0.527 GB, free: 12 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.5814572707749903]