Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Integers.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.001026/0.001026, allocations: 96.38 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.0009228/0.0009228, allocations: 211.2 kB / 23 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.9171/0.9171, allocations: 230.6 MB / 256.8 MB, free: 9.602 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.7481/0.7481, allocations: 203.5 MB / 0.5046 GB, free: 10.67 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.Integers.Validation.Subtract,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract") translateModel(IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Integers.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.001024/0.001024, allocations: 71.41 kB / 0.719 GB, free: 3.891 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4607/0.4617, allocations: 102 MB / 0.8186 GB, free: 1.512 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.001546/0.4632, allocations: 0.739 MB / 0.8193 GB, free: 1.051 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007368/0.464, allocations: 0.8918 MB / 0.8202 GB, free: 392 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.596e-05/0.464, allocations: 1.438 kB / 0.8202 GB, free: 392 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.721e-05/0.464, allocations: 5.719 kB / 0.8202 GB, free: 388 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.471e-05/0.4641, allocations: 11.53 kB / 0.8202 GB, free: 380 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000161/0.4643, allocations: 40.23 kB / 0.8203 GB, free: 360 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.791e-05/0.4644, allocations: 90.28 kB / 0.8203 GB, free: 316 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001338/0.4645, allocations: 15.25 kB / 0.8204 GB, free: 312 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.618e-05/0.4646, allocations: 41.06 kB / 0.8204 GB, free: 292 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.129e-05/0.4647, allocations: 45.81 kB / 0.8204 GB, free: 272 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.166e-05/0.4647, allocations: 10.19 kB / 0.8205 GB, free: 268 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.305e-05/0.4647, allocations: 9.844 kB / 0.8205 GB, free: 268 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.646e-05/0.4647, allocations: 25.17 kB / 0.8205 GB, free: 248 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.443e-05/0.4648, allocations: 32.48 kB / 0.8205 GB, free: 228 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000143/0.4649, allocations: 84.98 kB / 0.8206 GB, free: 196 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.4649, allocations: 0.6562 kB / 0.8206 GB, free: 196 kB / 0.6042 GB Notification: Performance of FrontEnd: time 1.754e-06/0.4649, allocations: 0 / 0.8206 GB, free: 196 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.4649, allocations: 0 / 0.8206 GB, free: 196 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004768/0.4654, allocations: 319.3 kB / 0.8209 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.4654, allocations: 15.06 kB / 0.8209 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.762e-05/0.4655, allocations: 11.33 kB / 0.8209 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001154/0.4656, allocations: 117.1 kB / 0.821 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/0.4656, allocations: 7.906 kB / 0.821 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.505e-05/0.4656, allocations: 8.469 kB / 0.8211 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002312/0.4659, allocations: 108.6 kB / 0.8212 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.4659, allocations: 0 / 0.8212 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.4659, allocations: 2.406 kB / 0.8212 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.4659, allocations: 0.9688 kB / 0.8212 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002303/0.4661, allocations: 102.9 kB / 0.8213 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004195/0.4665, allocations: 273.1 kB / 0.8215 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004012/0.4669, allocations: 111.7 kB / 0.8216 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001178/0.4671, allocations: 62.05 kB / 0.8217 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.803e-05/0.4671, allocations: 4.688 kB / 0.8217 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.107e-05/0.4671, allocations: 32.56 kB / 0.8217 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.503e-06/0.4671, allocations: 0 / 0.8217 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0004415/0.4675, allocations: 185.8 kB / 0.8219 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.907e-05/0.4676, allocations: 58.03 kB / 0.822 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.442e-05/0.4677, allocations: 122.8 kB / 0.8221 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.374e-05/0.4677, allocations: 26.27 kB / 0.8221 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.292e-05/0.4677, allocations: 98.48 kB / 0.8222 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.298e-05/0.4677, allocations: 19 kB / 0.8222 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.713e-05/0.4678, allocations: 24.89 kB / 0.8222 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.528e-05/0.4679, allocations: 323.4 kB / 0.8225 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001105/0.468, allocations: 44.62 kB / 0.8226 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001008/0.4681, allocations: 51.61 kB / 0.8226 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002064/0.4683, allocations: 106.1 kB / 0.8227 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.4683, allocations: 0 / 0.8227 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002452/0.4685, allocations: 137.2 kB / 0.8229 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.4685, allocations: 5.594 kB / 0.8229 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.4685, allocations: 0 / 0.8229 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.4686, allocations: 1.078 kB / 0.8229 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.985e-05/0.4686, allocations: 24.14 kB / 0.8229 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.4686, allocations: 0 / 0.8229 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.508e-05/0.4687, allocations: 17.86 kB / 0.8229 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.131e-05/0.4687, allocations: 12.05 kB / 0.8229 GB, free: 14.46 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: 3 (reaToInt1.y,reaToInt.y,sub.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.52e-05/0.4688, allocations: 116.2 kB / 0.823 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.625e-05/0.4688, allocations: 10.95 kB / 0.823 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.143e-05/0.4688, allocations: 10.62 kB / 0.8231 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.716e-06/0.4688, allocations: 4.594 kB / 0.8231 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.4688, allocations: 0 / 0.8231 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.4688, allocations: 0 / 0.8231 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000121/0.4689, allocations: 136.5 kB / 0.8232 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.4689, allocations: 0 / 0.8232 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.25e-05/0.469, allocations: 24.67 kB / 0.8232 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.469, allocations: 0 / 0.8232 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.469, allocations: 6.406 kB / 0.8232 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/0.469, allocations: 4 kB / 0.8232 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.469, allocations: 2.562 kB / 0.8232 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002828/0.4693, allocations: 235.6 kB / 0.8235 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.213e-05/0.4693, allocations: 6.391 kB / 0.8235 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.455e-05/0.4693, allocations: 5.375 kB / 0.8235 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.729e-05/0.4694, allocations: 12.25 kB / 0.8235 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.43e-05/0.4695, allocations: 27 kB / 0.8235 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.182e-06/0.4695, allocations: 2.594 kB / 0.8235 GB, free: 14 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.196e-05/0.4695, allocations: 98.64 kB / 0.8236 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4695, allocations: 0 / 0.8236 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000157/0.4697, allocations: 15.97 kB / 0.8236 GB, free: 13.91 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: 3 (sub.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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 9.098e-05/0.4698, allocations: 97.38 kB / 0.8237 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002602/0.47, allocations: 105.5 kB / 0.8238 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.47, allocations: 0 / 0.8238 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001129/0.4701, allocations: 61.2 kB / 0.8239 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002401/0.4704, allocations: 12.2 kB / 0.8239 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003652/0.4708, allocations: 205.4 kB / 0.8241 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.701e-05/0.4708, allocations: 81.56 kB / 0.8241 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.966e-05/0.4709, allocations: 16.84 kB / 0.8242 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of SimCode: time 5.71e-07/0.4709, allocations: 0 / 0.8242 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of Templates: time 0.002507/0.4734, allocations: 1.269 MB / 0.8254 GB, free: 13.42 MB / 0.6198 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.526901431381702] Failed to read output from testmodel.py, exit status != 0: 0.47958303429186344 0.49106442799999994 0.023593365 Calling exit ...