Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0007078/0.0007078, allocations: 100.4 kB / 19.7 MB, free: 448 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.0007267/0.0007267, allocations: 210.4 kB / 22.99 MB, free: 2.977 MB / 13.93 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.9004/0.9004, allocations: 230.6 MB / 256.8 MB, free: 9.621 MB / 202.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-531:686: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-531:694: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.7554/0.7554, allocations: 203.5 MB / 0.5046 GB, free: 10.73 MB / 410.7 MB " [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.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_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_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.0008888/0.0008888, allocations: 67.61 kB / 0.7191 GB, free: 3.875 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4745/0.4754, allocations: 102 MB / 0.8186 GB, free: 1.539 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Add): time 0.001464/0.4769, allocations: 0.6809 MB / 0.8193 GB, free: 1.113 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007084/0.4776, allocations: 0.8247 MB / 0.8201 GB, free: 0.4922 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.848e-05/0.4776, allocations: 7.125 kB / 0.8201 GB, free: 500 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.408e-05/0.4777, allocations: 1.125 kB / 0.8201 GB, free: 500 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.974e-05/0.4777, allocations: 7.875 kB / 0.8201 GB, free: 492 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 7.171e-05/0.4778, allocations: 15.38 kB / 0.8201 GB, free: 484 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.903e-05/0.4779, allocations: 43.44 kB / 0.8202 GB, free: 464 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.478, allocations: 9.375 kB / 0.8202 GB, free: 460 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.78e-05/0.4781, allocations: 19.42 kB / 0.8202 GB, free: 448 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.907e-05/0.4781, allocations: 18.11 kB / 0.8202 GB, free: 440 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.838e-05/0.4781, allocations: 4.094 kB / 0.8202 GB, free: 440 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.725e-06/0.4781, allocations: 7.969 kB / 0.8202 GB, free: 436 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.758e-05/0.4782, allocations: 5.922 kB / 0.8202 GB, free: 432 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.614e-05/0.4782, allocations: 18.91 kB / 0.8203 GB, free: 420 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.275e-05/0.4783, allocations: 50.73 kB / 0.8203 GB, free: 396 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.4783, allocations: 1.281 kB / 0.8203 GB, free: 396 kB / 0.6042 GB Notification: Performance of FrontEnd: time 1.994e-06/0.4783, allocations: 0 / 0.8203 GB, free: 396 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.4783, allocations: 0 / 0.8203 GB, free: 396 kB / 0.6042 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.0003624/0.4786, allocations: 288.5 kB / 0.8206 GB, free: 116 kB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.4787, allocations: 11 kB / 0.8206 GB, free: 116 kB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.313e-05/0.4787, allocations: 8.891 kB / 0.8206 GB, free: 108 kB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.78e-05/0.4788, allocations: 111 kB / 0.8207 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.4788, allocations: 6.312 kB / 0.8207 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.548e-06/0.4788, allocations: 3.188 kB / 0.8207 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001763/0.479, allocations: 67.89 kB / 0.8208 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.375e-06/0.479, allocations: 192 / 0.8208 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.479, allocations: 7.922 kB / 0.8208 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.479, allocations: 2.031 kB / 0.8208 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001579/0.4792, allocations: 69.61 kB / 0.8209 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003077/0.4795, allocations: 206.8 kB / 0.8211 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001283/0.4796, allocations: 51.22 kB / 0.8211 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.668e-05/0.4797, allocations: 47.09 kB / 0.8212 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.224e-05/0.4797, allocations: 0 / 0.8212 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.132e-05/0.4797, allocations: 38.67 kB / 0.8212 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 8.42e-07/0.4797, allocations: 0 / 0.8212 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0003208/0.4801, allocations: 126.9 kB / 0.8213 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.925e-05/0.4801, allocations: 52.11 kB / 0.8214 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.398e-05/0.4802, allocations: 114.1 kB / 0.8215 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.062e-05/0.4802, allocations: 33.7 kB / 0.8215 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.739e-05/0.4802, allocations: 81.59 kB / 0.8216 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.59e-05/0.4802, allocations: 20.3 kB / 0.8216 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.539e-05/0.4803, allocations: 10.98 kB / 0.8216 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.658e-05/0.4804, allocations: 319 kB / 0.8219 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.151e-05/0.4804, allocations: 31.38 kB / 0.8219 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.947e-05/0.4805, allocations: 26.03 kB / 0.822 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001449/0.4807, allocations: 74.86 kB / 0.822 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.4807, allocations: 0 / 0.822 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001754/0.4808, allocations: 104.6 kB / 0.8221 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.4808, allocations: 7.438 kB / 0.8221 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.4808, allocations: 0.6094 kB / 0.8222 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.4809, allocations: 4 kB / 0.8222 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.247e-05/0.4809, allocations: 17.66 kB / 0.8222 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.4809, allocations: 0.7031 kB / 0.8222 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.892e-05/0.481, allocations: 9.672 kB / 0.8222 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.286e-06/0.481, allocations: 6.953 kB / 0.8222 GB, free: 14.84 MB / 0.6198 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.054e-05/0.4811, allocations: 112.1 kB / 0.8223 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.474e-05/0.4811, allocations: 12.73 kB / 0.8223 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.946e-05/0.4811, allocations: 6.469 kB / 0.8223 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.4811, allocations: 4.75 kB / 0.8223 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.4811, allocations: 2.188 kB / 0.8223 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.4811, allocations: 3.938 kB / 0.8223 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.584e-05/0.4812, allocations: 108.3 kB / 0.8224 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.4812, allocations: 0 / 0.8224 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.766e-05/0.4812, allocations: 24.3 kB / 0.8224 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.4812, allocations: 0.7031 kB / 0.8225 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.4813, allocations: 336 / 0.8225 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.4813, allocations: 0 / 0.8225 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.4813, allocations: 1.75 kB / 0.8225 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002142/0.4815, allocations: 195.1 kB / 0.8226 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.147e-06/0.4815, allocations: 9.828 kB / 0.8226 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.186e-05/0.4815, allocations: 4 kB / 0.8227 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.19e-05/0.4815, allocations: 12.69 kB / 0.8227 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.721e-05/0.4816, allocations: 4.938 kB / 0.8227 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.374e-06/0.4816, allocations: 0 / 0.8227 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.444e-05/0.4816, allocations: 91.75 kB / 0.8228 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4816, allocations: 0 / 0.8228 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000144/0.4818, allocations: 10.19 kB / 0.8228 GB, free: 14.32 MB / 0.6198 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.694e-05/0.4818, allocations: 93.83 kB / 0.8229 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002083/0.4821, allocations: 65.53 kB / 0.8229 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.4821, allocations: 1.75 kB / 0.8229 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.43e-05/0.4821, allocations: 38.67 kB / 0.823 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002463/0.4824, allocations: 10.73 kB / 0.823 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002964/0.4827, allocations: 162.4 kB / 0.8231 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.717e-05/0.4827, allocations: 69.08 kB / 0.8232 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.044e-05/0.4828, allocations: 9.094 kB / 0.8232 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of SimCode: time 5.01e-07/0.4828, allocations: 0 / 0.8232 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of Templates: time 0.001792/0.4845, allocations: 0.7578 MB / 0.8239 GB, free: 13.92 MB / 0.6198 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.45884339697659] Failed to read output from testmodel.py, exit status != 0: 0.49002130702137947 0.502579035 0.020636025000000002 Calling exit ...