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.001662/0.001662, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.002208/0.002208, allocations: 213.4 kB / 22.25 MB, free: 5.262 MB / 14.72 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 1.628/1.628, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] 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 1.329/1.329, allocations: 203.5 MB / 0.5038 GB, free: 4.91 MB / 414.1 MB " [Timeout remaining time 178] 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.002093/0.002093, allocations: 71.89 kB / 0.7183 GB, free: 2.328 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7536/0.7557, allocations: 102 MB / 0.8179 GB, free: 29.04 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.002162/0.7579, allocations: 0.7401 MB / 0.8186 GB, free: 28.61 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.001168/0.7591, allocations: 0.8877 MB / 0.8195 GB, free: 27.95 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.833e-05/0.7591, allocations: 1.125 kB / 0.8195 GB, free: 27.95 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 3.767e-05/0.7592, allocations: 10.77 kB / 0.8195 GB, free: 27.94 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 8.877e-05/0.7592, allocations: 6.203 kB / 0.8195 GB, free: 27.94 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002012/0.7594, allocations: 43.78 kB / 0.8195 GB, free: 27.91 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0001386/0.7596, allocations: 82.92 kB / 0.8196 GB, free: 27.88 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001302/0.7597, allocations: 14.34 kB / 0.8196 GB, free: 27.88 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 9.239e-05/0.7598, allocations: 45.19 kB / 0.8197 GB, free: 27.86 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000101/0.7599, allocations: 45.12 kB / 0.8197 GB, free: 27.84 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 2.619e-05/0.7599, allocations: 11.94 kB / 0.8197 GB, free: 27.83 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 2.041e-05/0.76, allocations: 11.06 kB / 0.8197 GB, free: 27.83 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 2.973e-05/0.76, allocations: 19.17 kB / 0.8197 GB, free: 27.82 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 4.88e-05/0.76, allocations: 34.5 kB / 0.8198 GB, free: 27.8 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0001532/0.7602, allocations: 86.67 kB / 0.8198 GB, free: 27.77 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.7602, allocations: 0 / 0.8198 GB, free: 27.77 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.563e-06/0.7602, allocations: 2.625 kB / 0.8199 GB, free: 27.77 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.702e-06/0.7602, allocations: 0.6094 kB / 0.8199 GB, free: 27.77 MB / 0.6387 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.000628/0.7608, allocations: 319.3 kB / 0.8202 GB, free: 27.48 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.7609, allocations: 8.656 kB / 0.8202 GB, free: 27.48 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.898e-05/0.7609, allocations: 11.48 kB / 0.8202 GB, free: 27.48 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001069/0.761, allocations: 121.7 kB / 0.8203 GB, free: 27.34 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.552e-05/0.761, allocations: 3.75 kB / 0.8203 GB, free: 27.34 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.31e-05/0.7611, allocations: 7.438 kB / 0.8203 GB, free: 27.34 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000322/0.7614, allocations: 109.4 kB / 0.8204 GB, free: 27.29 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.7614, allocations: 1.031 kB / 0.8204 GB, free: 27.29 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.737e-05/0.7614, allocations: 6.953 kB / 0.8204 GB, free: 27.28 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.7614, allocations: 0 / 0.8204 GB, free: 27.28 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004057/0.7618, allocations: 104.2 kB / 0.8205 GB, free: 27.26 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005274/0.7623, allocations: 274.5 kB / 0.8208 GB, free: 27.02 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006865/0.763, allocations: 115.9 kB / 0.8209 GB, free: 26.97 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002369/0.7633, allocations: 59.16 kB / 0.8209 GB, free: 26.95 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.793e-05/0.7633, allocations: 1.156 kB / 0.8209 GB, free: 26.95 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.33e-05/0.7633, allocations: 34.34 kB / 0.821 GB, free: 26.91 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.7633, allocations: 0.5938 kB / 0.821 GB, free: 26.91 MB / 0.6387 GB Notification: Performance of matching and sorting (n=7): time 0.0007124/0.764, allocations: 178.9 kB / 0.8211 GB, free: 26.85 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.627e-05/0.764, allocations: 56.14 kB / 0.8212 GB, free: 26.79 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.859e-05/0.7641, allocations: 123.9 kB / 0.8213 GB, free: 26.68 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.348e-05/0.7641, allocations: 26.31 kB / 0.8213 GB, free: 26.64 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 3.79e-05/0.7642, allocations: 98.16 kB / 0.8214 GB, free: 26.55 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 2.433e-05/0.7642, allocations: 23.23 kB / 0.8215 GB, free: 26.53 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.026e-05/0.7643, allocations: 23.92 kB / 0.8215 GB, free: 26.51 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 5.438e-05/0.7643, allocations: 327.6 kB / 0.8218 GB, free: 26.19 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001945/0.7645, allocations: 45.56 kB / 0.8218 GB, free: 26.18 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001847/0.7647, allocations: 44.61 kB / 0.8219 GB, free: 26.17 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003741/0.7651, allocations: 105.2 kB / 0.822 GB, free: 26.14 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.7651, allocations: 0 / 0.822 GB, free: 26.14 MB / 0.6387 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004626/0.7655, allocations: 138.8 kB / 0.8221 GB, free: 26.08 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.375e-05/0.7655, allocations: 5.25 kB / 0.8221 GB, free: 26.08 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.7656, allocations: 0 / 0.8221 GB, free: 26.08 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.13e-05/0.7656, allocations: 5.562 kB / 0.8221 GB, free: 26.08 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001972/0.7658, allocations: 27.78 kB / 0.8222 GB, free: 26.07 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.7658, allocations: 4.438 kB / 0.8222 GB, free: 26.07 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001284/0.7659, allocations: 16.84 kB / 0.8222 GB, free: 26.07 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.314e-05/0.7659, allocations: 6.422 kB / 0.8222 GB, free: 26.06 MB / 0.6387 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 7.329e-05/0.766, allocations: 115.3 kB / 0.8223 GB, free: 25.95 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.276e-05/0.766, allocations: 7.656 kB / 0.8223 GB, free: 25.94 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.876e-05/0.7661, allocations: 15.5 kB / 0.8223 GB, free: 25.93 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.7661, allocations: 4.75 kB / 0.8223 GB, free: 25.93 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.7661, allocations: 1 kB / 0.8223 GB, free: 25.93 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.7661, allocations: 0.6562 kB / 0.8223 GB, free: 25.93 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00016/0.7662, allocations: 137 kB / 0.8224 GB, free: 25.79 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.7662, allocations: 0.6094 kB / 0.8224 GB, free: 25.79 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001846/0.7664, allocations: 28.02 kB / 0.8225 GB, free: 25.78 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.7664, allocations: 1.312 kB / 0.8225 GB, free: 25.78 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/0.7664, allocations: 1.266 kB / 0.8225 GB, free: 25.78 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.055e-06/0.7664, allocations: 1.156 kB / 0.8225 GB, free: 25.78 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.7664, allocations: 0.6562 kB / 0.8225 GB, free: 25.78 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004457/0.7669, allocations: 239.6 kB / 0.8227 GB, free: 25.62 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 2.918e-05/0.7669, allocations: 6.938 kB / 0.8227 GB, free: 25.61 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.109e-05/0.7669, allocations: 5.891 kB / 0.8227 GB, free: 25.61 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001549/0.7671, allocations: 11.86 kB / 0.8227 GB, free: 25.61 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.524e-05/0.7672, allocations: 22.56 kB / 0.8228 GB, free: 25.6 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.999e-06/0.7672, allocations: 2.688 kB / 0.8228 GB, free: 25.6 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 4.277e-05/0.7672, allocations: 97.7 kB / 0.8228 GB, free: 25.52 MB / 0.6387 GB Notification: Performance of sort global known variables: time 7e-08/0.7672, allocations: 0 / 0.8228 GB, free: 25.52 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002359/0.7675, allocations: 15.25 kB / 0.8229 GB, free: 25.52 MB / 0.6387 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 0.000105/0.7676, allocations: 99.61 kB / 0.823 GB, free: 25.43 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0004379/0.768, allocations: 102.3 kB / 0.8231 GB, free: 25.41 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.768, allocations: 0 / 0.8231 GB, free: 25.41 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0002135/0.7682, allocations: 67.22 kB / 0.8231 GB, free: 25.39 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004138/0.7686, allocations: 10.7 kB / 0.8231 GB, free: 25.38 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004668/0.7691, allocations: 179.7 kB / 0.8233 GB, free: 25.23 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.74e-05/0.7692, allocations: 78.69 kB / 0.8234 GB, free: 25.16 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 7.302e-05/0.7692, allocations: 11.98 kB / 0.8234 GB, free: 25.15 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.885e-05/0.7693, allocations: 20.81 kB / 0.8234 GB, free: 25.14 MB / 0.6387 GB Notification: Performance of SimCode: time 2.71e-07/0.7693, allocations: 0 / 0.8234 GB, free: 25.14 MB / 0.6387 GB Notification: Performance of Templates: time 0.004988/0.7743, allocations: 1.726 MB / 0.8251 GB, free: 24.99 MB / 0.6387 GB " [Timeout remaining time 659] 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: 7.277255617082119] Failed to read output from testmodel.py, exit status != 0: 0.7823967393487692 0.795702534 0.032496832 Calling exit ...