Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.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.000802/0.000802, allocations: 80.45 kB / 19.9 MB, free: 12 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.0007311/0.0007311, allocations: 165.9 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.8954/0.8954, allocations: 177.2 MB / 203.6 MB, free: 5.762 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.7583/0.7583, allocations: 154.9 MB / 414.9 MB, free: 0.5156 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.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add") [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.0009329/0.0009329, allocations: 71.91 kB / 0.6199 GB, free: 12.71 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.4742/0.4752, allocations: 102 MB / 0.7195 GB, free: 23.44 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Add): time 0.001374/0.4766, allocations: 0.6861 MB / 0.7202 GB, free: 23.02 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0006368/0.4772, allocations: 0.8249 MB / 0.721 GB, free: 22.4 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.452e-05/0.4772, allocations: 1.094 kB / 0.721 GB, free: 22.4 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.949e-05/0.4773, allocations: 8.453 kB / 0.721 GB, free: 22.39 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.125e-05/0.4773, allocations: 13.52 kB / 0.721 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 6.032e-05/0.4774, allocations: 14.94 kB / 0.721 GB, free: 22.37 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 7.838e-05/0.4775, allocations: 38.08 kB / 0.721 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.4776, allocations: 13.31 kB / 0.7211 GB, free: 22.35 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 7.348e-05/0.4776, allocations: 25.77 kB / 0.7211 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 3.968e-05/0.4777, allocations: 18.2 kB / 0.7211 GB, free: 22.33 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.745e-05/0.4777, allocations: 3.406 kB / 0.7211 GB, free: 22.33 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 7.774e-06/0.4777, allocations: 4.75 kB / 0.7211 GB, free: 22.33 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.679e-05/0.4777, allocations: 5.969 kB / 0.7211 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.399e-05/0.4777, allocations: 22.58 kB / 0.7211 GB, free: 22.31 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 8.531e-05/0.4778, allocations: 47.14 kB / 0.7212 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.4778, allocations: 0.6094 kB / 0.7212 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.703e-06/0.4778, allocations: 0 / 0.7212 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.4778, allocations: 0 / 0.7212 GB, free: 22.29 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.0003486/0.4782, allocations: 283.6 kB / 0.7215 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.4782, allocations: 11.56 kB / 0.7215 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.476e-05/0.4782, allocations: 10.3 kB / 0.7215 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.135e-05/0.4783, allocations: 112.1 kB / 0.7216 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.4783, allocations: 8.375 kB / 0.7216 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.265e-05/0.4783, allocations: 3.969 kB / 0.7216 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001639/0.4785, allocations: 67.58 kB / 0.7217 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.4785, allocations: 1.406 kB / 0.7217 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.779e-06/0.4785, allocations: 11.88 kB / 0.7217 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.4785, allocations: 1.156 kB / 0.7217 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001617/0.4787, allocations: 66.39 kB / 0.7217 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002506/0.4789, allocations: 211.4 kB / 0.7219 GB, free: 21.6 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001263/0.4791, allocations: 50.22 kB / 0.722 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.076e-05/0.4791, allocations: 46.88 kB / 0.722 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.066e-05/0.4792, allocations: 2.438 kB / 0.722 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.37e-05/0.4792, allocations: 30.56 kB / 0.7221 GB, free: 21.51 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 8.21e-07/0.4792, allocations: 4 kB / 0.7221 GB, free: 21.51 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0003439/0.4795, allocations: 132.3 kB / 0.7222 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.399e-05/0.4795, allocations: 53.05 kB / 0.7222 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.931e-05/0.4796, allocations: 108 kB / 0.7223 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.833e-06/0.4796, allocations: 29.7 kB / 0.7224 GB, free: 21.26 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.866e-05/0.4796, allocations: 87.55 kB / 0.7225 GB, free: 21.17 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.473e-05/0.4797, allocations: 18.7 kB / 0.7225 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.377e-05/0.4797, allocations: 12.86 kB / 0.7225 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.864e-05/0.4797, allocations: 317.6 kB / 0.7228 GB, free: 20.82 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.075e-05/0.4798, allocations: 26.89 kB / 0.7228 GB, free: 20.82 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.259e-05/0.4799, allocations: 31.08 kB / 0.7228 GB, free: 20.82 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001602/0.48, allocations: 71.53 kB / 0.7229 GB, free: 20.8 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.48, allocations: 0 / 0.7229 GB, free: 20.8 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001846/0.4802, allocations: 105.8 kB / 0.723 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.4802, allocations: 5.078 kB / 0.723 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.4803, allocations: 1.094 kB / 0.723 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.4803, allocations: 0.7969 kB / 0.723 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/0.4804, allocations: 19.12 kB / 0.723 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.4804, allocations: 0 / 0.723 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.358e-05/0.4804, allocations: 13.08 kB / 0.7231 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-06/0.4804, allocations: 0 / 0.7231 GB, free: 20.75 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 4.657e-05/0.4805, allocations: 117.6 kB / 0.7232 GB, free: 20.63 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.399e-05/0.4805, allocations: 13.75 kB / 0.7232 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.407e-05/0.4805, allocations: 5.828 kB / 0.7232 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.4805, allocations: 1.188 kB / 0.7232 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.4805, allocations: 0.7969 kB / 0.7232 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.4805, allocations: 5.25 kB / 0.7232 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.024e-05/0.4806, allocations: 111.7 kB / 0.7233 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-07/0.4806, allocations: 0 / 0.7233 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.164e-05/0.4807, allocations: 28.11 kB / 0.7233 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.4807, allocations: 0 / 0.7233 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.4807, allocations: 1.844 kB / 0.7233 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.61e-07/0.4807, allocations: 0 / 0.7233 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.4807, allocations: 1.094 kB / 0.7233 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002244/0.4809, allocations: 194.8 kB / 0.7235 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.06e-05/0.4809, allocations: 9.828 kB / 0.7235 GB, free: 20.31 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.265e-05/0.4809, allocations: 1.125 kB / 0.7235 GB, free: 20.31 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.863e-05/0.481, allocations: 19.61 kB / 0.7235 GB, free: 20.3 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.355e-05/0.481, allocations: 4.016 kB / 0.7235 GB, free: 20.3 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-06/0.481, allocations: 1.094 kB / 0.7235 GB, free: 20.3 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.67e-05/0.4811, allocations: 88.08 kB / 0.7236 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4811, allocations: 3.938 kB / 0.7236 GB, free: 20.22 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001423/0.4812, allocations: 10.67 kB / 0.7236 GB, free: 20.22 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 0.0001062/0.4813, allocations: 92.8 kB / 0.7237 GB, free: 20.13 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002328/0.4815, allocations: 69.86 kB / 0.7238 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.4815, allocations: 1.125 kB / 0.7238 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 9.426e-05/0.4816, allocations: 39 kB / 0.7238 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002554/0.4819, allocations: 8.125 kB / 0.7238 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002616/0.4822, allocations: 124.5 kB / 0.724 GB, free: 19.99 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.006e-05/0.4822, allocations: 65.8 kB / 0.724 GB, free: 19.92 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.484e-05/0.4822, allocations: 0 / 0.724 GB, free: 19.92 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.971e-05/0.4823, allocations: 14.12 kB / 0.724 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of SimCode: time 4.51e-07/0.4823, allocations: 4 kB / 0.724 GB, free: 19.9 MB / 0.6355 GB Notification: Performance of Templates: time 0.002255/0.4845, allocations: 0.7316 MB / 0.7248 GB, free: 19.8 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.229193177074194] Failed to read output from testmodel.py, exit status != 0: 0.4899375009117648 0.49840145100000005 0.018685238 Calling exit ...