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.0008475/0.0008475, allocations: 105.5 kB / 18.95 MB, free: 1.188 MB / 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.0008843/0.0008843, allocations: 208.6 kB / 22.25 MB, free: 3.59 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.9725/0.9725, allocations: 230.6 MB / 256 MB, free: 9.582 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.7819/0.7819, allocations: 203.5 MB / 0.5039 GB, free: 10.76 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: "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Integers_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Integers_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) [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.0009056/0.0009056, allocations: 63.03 kB / 0.7178 GB, free: 4.418 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5563/0.5572, allocations: 102 MB / 0.8174 GB, free: 1.219 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.002066/0.5592, allocations: 0.7441 MB / 0.8181 GB, free: 0.7539 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009204/0.5602, allocations: 0.8875 MB / 0.819 GB, free: 92 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.286e-05/0.5602, allocations: 1.781 kB / 0.819 GB, free: 92 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.743e-05/0.5603, allocations: 5.484 kB / 0.819 GB, free: 88 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.703e-05/0.5604, allocations: 14.64 kB / 0.819 GB, free: 76 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002039/0.5606, allocations: 41.72 kB / 0.819 GB, free: 52 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001128/0.5607, allocations: 83.91 kB / 0.8191 GB, free: 16 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001366/0.5608, allocations: 26.58 kB / 0.8191 GB, free: 4 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001163/0.5609, allocations: 39.03 kB / 0.8192 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.443e-05/0.561, allocations: 44.16 kB / 0.8192 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.416e-05/0.561, allocations: 8.625 kB / 0.8192 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.572e-05/0.561, allocations: 8.594 kB / 0.8192 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.561e-05/0.5611, allocations: 23.72 kB / 0.8193 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.558e-05/0.5611, allocations: 30.27 kB / 0.8193 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001672/0.5613, allocations: 89.14 kB / 0.8194 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 1.055e-05/0.5613, allocations: 0 / 0.8194 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.136e-06/0.5613, allocations: 0 / 0.8194 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.608e-06/0.5613, allocations: 0 / 0.8194 GB, free: 15.89 MB / 0.6198 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.0005428/0.5619, allocations: 320.2 kB / 0.8197 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/0.5619, allocations: 7.531 kB / 0.8197 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.181e-05/0.5619, allocations: 39.28 kB / 0.8197 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.281e-05/0.562, allocations: 9.875 kB / 0.8197 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001153/0.5621, allocations: 124 kB / 0.8199 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.845e-05/0.5621, allocations: 7.438 kB / 0.8199 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.531e-05/0.5621, allocations: 7.469 kB / 0.8199 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002332/0.5624, allocations: 109.3 kB / 0.82 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.655e-06/0.5624, allocations: 0 / 0.82 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.834e-05/0.5624, allocations: 5.312 kB / 0.82 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.5624, allocations: 1.406 kB / 0.82 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002181/0.5626, allocations: 93.69 kB / 0.8201 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004434/0.5631, allocations: 302.4 kB / 0.8204 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004397/0.5635, allocations: 116.7 kB / 0.8205 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001398/0.5636, allocations: 63.16 kB / 0.8205 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.232e-05/0.5637, allocations: 1.5 kB / 0.8205 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.853e-05/0.5637, allocations: 32.75 kB / 0.8206 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 3.196e-06/0.5637, allocations: 3.984 kB / 0.8206 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0004906/0.5642, allocations: 188.8 kB / 0.8207 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.178e-05/0.5642, allocations: 52.02 kB / 0.8208 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000113/0.5643, allocations: 128.9 kB / 0.8209 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/0.5644, allocations: 29.64 kB / 0.8209 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.105e-05/0.5644, allocations: 93.39 kB / 0.821 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.067e-05/0.5644, allocations: 28.28 kB / 0.8211 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.583e-05/0.5645, allocations: 23.05 kB / 0.8211 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.5646, allocations: 322.6 kB / 0.8214 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001257/0.5647, allocations: 48.7 kB / 0.8214 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001101/0.5648, allocations: 44.28 kB / 0.8215 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002183/0.5651, allocations: 100.4 kB / 0.8216 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.5651, allocations: 4 kB / 0.8216 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002521/0.5653, allocations: 131 kB / 0.8217 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.5653, allocations: 3.844 kB / 0.8217 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.5653, allocations: 2.391 kB / 0.8217 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.5653, allocations: 0 / 0.8217 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.653e-05/0.5654, allocations: 29 kB / 0.8217 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.5654, allocations: 3.938 kB / 0.8217 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.419e-05/0.5655, allocations: 15.98 kB / 0.8218 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.5655, allocations: 3.656 kB / 0.8218 GB, free: 14.09 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 7.131e-05/0.5656, allocations: 114.1 kB / 0.8219 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.955e-05/0.5656, allocations: 8.203 kB / 0.8219 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.401e-05/0.5656, allocations: 10.06 kB / 0.8219 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.5656, allocations: 0.7969 kB / 0.8219 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.5656, allocations: 9.125 kB / 0.8219 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.5656, allocations: 0 / 0.8219 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001431/0.5658, allocations: 160.5 kB / 0.8221 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.5658, allocations: 6.219 kB / 0.8221 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.681e-05/0.5659, allocations: 23.72 kB / 0.8221 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.5659, allocations: 0 / 0.8221 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.5659, allocations: 3.469 kB / 0.8221 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.5659, allocations: 0 / 0.8221 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.5659, allocations: 3.938 kB / 0.8221 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002926/0.5662, allocations: 239.1 kB / 0.8223 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.297e-05/0.5662, allocations: 7.172 kB / 0.8223 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.399e-05/0.5662, allocations: 7.406 kB / 0.8223 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.822e-05/0.5663, allocations: 12.02 kB / 0.8223 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.876e-05/0.5663, allocations: 24.14 kB / 0.8224 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.295e-06/0.5664, allocations: 3.078 kB / 0.8224 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.662e-05/0.5664, allocations: 97.92 kB / 0.8225 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5664, allocations: 0 / 0.8225 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001629/0.5666, allocations: 16.41 kB / 0.8225 GB, free: 13.51 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 0.0005046/0.5671, allocations: 0.7709 MB / 0.8232 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002602/0.5673, allocations: 106.7 kB / 0.8233 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.5673, allocations: 0 / 0.8233 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001108/0.5674, allocations: 71.7 kB / 0.8234 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000273/0.5677, allocations: 13.91 kB / 0.8234 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001464/0.5692, allocations: 1.531 MB / 0.8249 GB, free: 11.49 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.219e-05/0.5692, allocations: 78.41 kB / 0.825 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.823e-05/0.5693, allocations: 11.58 kB / 0.825 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.157e-05/0.5694, allocations: 31.06 kB / 0.825 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of SimCode: time 9.72e-07/0.5694, allocations: 0 / 0.825 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01952/0.5889, allocations: 3.349 MB / 0.8283 GB, free: 10.44 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.604/7.193, allocations: 7.453 kB / 0.8283 GB, free: 10.44 MB / 0.6198 GB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Controls_OBC_CDL_Integers_Validation_Subtract.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.19694199366495] Failed to read output from testmodel.py, exit status != 0: 7.270508202724159 7.285351115 6.721363243 Calling exit ...