Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001122/0.001122, allocations: 76.45 kB / 19.9 MB, free: 16 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.0008543/0.0008543, allocations: 169.8 kB / 23.18 MB, free: 1.383 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.8688/0.8688, allocations: 177.2 MB / 203.6 MB, free: 5.781 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/package.mo): time 0.7149/0.7149, allocations: 154.9 MB / 414.9 MB, free: 0.5234 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_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_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008728/0.0008728, allocations: 70.06 kB / 0.6199 GB, free: 12.72 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4963/0.4971, allocations: 102 MB / 0.7195 GB, free: 23.5 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.0013/0.4984, allocations: 0.6942 MB / 0.7202 GB, free: 23.07 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0006168/0.499, allocations: 0.8246 MB / 0.721 GB, free: 22.45 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.26e-05/0.4991, allocations: 1.625 kB / 0.721 GB, free: 22.45 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.656e-05/0.4991, allocations: 4.5 kB / 0.721 GB, free: 22.45 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 5.726e-05/0.4992, allocations: 10.03 kB / 0.721 GB, free: 22.44 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 5.917e-05/0.4992, allocations: 9.812 kB / 0.721 GB, free: 22.43 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 7.065e-05/0.4993, allocations: 47.08 kB / 0.721 GB, free: 22.41 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.4994, allocations: 16.81 kB / 0.7211 GB, free: 22.4 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 7.192e-05/0.4995, allocations: 28.3 kB / 0.7211 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 3.684e-05/0.4995, allocations: 19.08 kB / 0.7211 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.552e-05/0.4995, allocations: 4.375 kB / 0.7211 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 6.643e-06/0.4995, allocations: 2.531 kB / 0.7211 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.624e-05/0.4995, allocations: 7.219 kB / 0.7211 GB, free: 22.37 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.337e-05/0.4996, allocations: 17.89 kB / 0.7211 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 8.354e-05/0.4996, allocations: 39.3 kB / 0.7212 GB, free: 22.35 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.4996, allocations: 1.344 kB / 0.7212 GB, free: 22.35 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.443e-06/0.4997, allocations: 0 / 0.7212 GB, free: 22.35 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.4997, allocations: 0 / 0.7212 GB, free: 22.35 MB / 0.6355 GB 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.0003332/0.5, allocations: 291.8 kB / 0.7215 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.5, allocations: 11.22 kB / 0.7215 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.636e-05/0.5001, allocations: 6.453 kB / 0.7215 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.53e-05/0.5001, allocations: 120.1 kB / 0.7216 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.5001, allocations: 1.281 kB / 0.7216 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.145e-05/0.5001, allocations: 2.984 kB / 0.7216 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000156/0.5003, allocations: 72.38 kB / 0.7217 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.5003, allocations: 4.188 kB / 0.7217 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.5003, allocations: 3.938 kB / 0.7217 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.5003, allocations: 0.9375 kB / 0.7217 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001497/0.5005, allocations: 62.88 kB / 0.7217 GB, free: 21.87 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002748/0.5007, allocations: 211.1 kB / 0.7219 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001416/0.5009, allocations: 58.92 kB / 0.722 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.616e-05/0.501, allocations: 43.47 kB / 0.722 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.276e-05/0.501, allocations: 5.172 kB / 0.722 GB, free: 21.6 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.086e-05/0.501, allocations: 32.73 kB / 0.7221 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.501, allocations: 0 / 0.7221 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0003738/0.5014, allocations: 130.9 kB / 0.7222 GB, free: 21.51 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.93e-05/0.5014, allocations: 53.33 kB / 0.7222 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.708e-05/0.5015, allocations: 111.8 kB / 0.7223 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.175e-06/0.5015, allocations: 26.45 kB / 0.7224 GB, free: 21.31 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.209e-05/0.5015, allocations: 87.73 kB / 0.7225 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.34e-05/0.5015, allocations: 13.47 kB / 0.7225 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.927e-05/0.5016, allocations: 13.91 kB / 0.7225 GB, free: 21.2 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.01e-05/0.5016, allocations: 317.3 kB / 0.7228 GB, free: 20.88 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.333e-05/0.5017, allocations: 35.81 kB / 0.7228 GB, free: 20.88 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.889e-05/0.5018, allocations: 31.05 kB / 0.7228 GB, free: 20.87 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001472/0.5019, allocations: 66.86 kB / 0.7229 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.5019, allocations: 0 / 0.7229 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001706/0.5021, allocations: 105.4 kB / 0.723 GB, free: 20.8 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.5021, allocations: 5.594 kB / 0.723 GB, free: 20.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-06/0.5021, allocations: 0 / 0.723 GB, free: 20.8 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.5021, allocations: 1.922 kB / 0.723 GB, free: 20.8 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.08e-05/0.5022, allocations: 14.98 kB / 0.723 GB, free: 20.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.5022, allocations: 0 / 0.723 GB, free: 20.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.83e-05/0.5023, allocations: 15.94 kB / 0.723 GB, free: 20.8 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.062e-06/0.5023, allocations: 5.188 kB / 0.7231 GB, free: 20.8 MB / 0.6355 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 3.89e-05/0.5023, allocations: 120.7 kB / 0.7232 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.346e-05/0.5023, allocations: 10.97 kB / 0.7232 GB, free: 20.67 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.711e-05/0.5023, allocations: 5.938 kB / 0.7232 GB, free: 20.66 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.5023, allocations: 0 / 0.7232 GB, free: 20.66 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.5023, allocations: 1.188 kB / 0.7232 GB, free: 20.66 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.5023, allocations: 0.7969 kB / 0.7232 GB, free: 20.66 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.603e-05/0.5024, allocations: 112.3 kB / 0.7233 GB, free: 20.53 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.5024, allocations: 1.062 kB / 0.7233 GB, free: 20.53 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.425e-05/0.5025, allocations: 23.38 kB / 0.7233 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.644e-06/0.5025, allocations: 0 / 0.7233 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.492e-06/0.5025, allocations: 5.375 kB / 0.7233 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.51e-07/0.5025, allocations: 4.922 kB / 0.7233 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-07/0.5025, allocations: 0 / 0.7233 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001808/0.5026, allocations: 190.5 kB / 0.7235 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.544e-06/0.5027, allocations: 11.25 kB / 0.7235 GB, free: 20.37 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.362e-05/0.5027, allocations: 1.031 kB / 0.7235 GB, free: 20.37 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.083e-05/0.5027, allocations: 15.47 kB / 0.7235 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.024e-05/0.5028, allocations: 3.219 kB / 0.7235 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.5028, allocations: 2.125 kB / 0.7235 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.204e-05/0.5028, allocations: 87.89 kB / 0.7236 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.1e-08/0.5028, allocations: 0 / 0.7236 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001386/0.5029, allocations: 10.47 kB / 0.7236 GB, free: 20.28 MB / 0.6355 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.682e-05/0.503, allocations: 96.75 kB / 0.7237 GB, free: 20.19 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002031/0.5032, allocations: 75.05 kB / 0.7238 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.5032, allocations: 0 / 0.7238 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.28e-05/0.5033, allocations: 34.09 kB / 0.7238 GB, free: 20.17 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002045/0.5035, allocations: 7.594 kB / 0.7238 GB, free: 20.17 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002596/0.5038, allocations: 128.9 kB / 0.724 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.968e-05/0.5038, allocations: 71.69 kB / 0.724 GB, free: 19.97 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.323e-05/0.5038, allocations: 1.969 kB / 0.724 GB, free: 19.97 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.483e-05/0.5039, allocations: 9.781 kB / 0.724 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of SimCode: time 4.71e-07/0.5039, allocations: 1.062 kB / 0.724 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of Templates: time 0.002095/0.5059, allocations: 0.7354 MB / 0.7248 GB, free: 19.86 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract -abortSlowSimulation -alarm=480 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.119228380033746] Failed to read output from testmodel.py, exit status != 0: 0.5115740019828081 0.522632785 0.021035576 Calling exit ...