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.0007778/0.0007778, allocations: 76.45 kB / 19.14 MB, free: 0.7734 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.0007994/0.0007994, allocations: 165.9 kB / 22.43 MB, free: 2.141 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.9012/0.9012, allocations: 177.2 MB / 202.8 MB, free: 5.777 MB / 186.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.7185/0.7185, allocations: 154.7 MB / 413.9 MB, free: 0.7852 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 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.0009862/0.0009862, allocations: 69.89 kB / 0.6183 GB, free: 13.64 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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.4635/0.4645, allocations: 102 MB / 0.7179 GB, free: 23.3 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.001314/0.4658, allocations: 0.7396 MB / 0.7186 GB, free: 22.84 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0007574/0.4666, allocations: 0.8878 MB / 0.7195 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.838e-05/0.4666, allocations: 1.281 kB / 0.7195 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.057e-05/0.4666, allocations: 10.7 kB / 0.7195 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 7.643e-05/0.4667, allocations: 6.578 kB / 0.7195 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001541/0.4669, allocations: 45.41 kB / 0.7195 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 9.453e-05/0.467, allocations: 81.53 kB / 0.7196 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.4671, allocations: 23.31 kB / 0.7196 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 9.313e-05/0.4672, allocations: 57.89 kB / 0.7197 GB, free: 22.06 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 7.071e-05/0.4672, allocations: 40.59 kB / 0.7197 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.354e-05/0.4673, allocations: 15.78 kB / 0.7197 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 1.247e-05/0.4673, allocations: 8.719 kB / 0.7198 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.28e-05/0.4673, allocations: 19.34 kB / 0.7198 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 3.168e-05/0.4673, allocations: 34.41 kB / 0.7198 GB, free: 22 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001244/0.4675, allocations: 96.25 kB / 0.7199 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.4675, allocations: 0 / 0.7199 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.863e-06/0.4675, allocations: 0 / 0.7199 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.66e-06/0.4675, allocations: 1.75 kB / 0.7199 GB, free: 21.96 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0003994/0.4679, allocations: 318.1 kB / 0.7202 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.4679, allocations: 13.97 kB / 0.7202 GB, free: 21.67 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.914e-05/0.4679, allocations: 41.44 kB / 0.7203 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.573e-05/0.468, allocations: 9.297 kB / 0.7203 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.558e-05/0.468, allocations: 118 kB / 0.7204 GB, free: 21.49 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.4681, allocations: 4.094 kB / 0.7204 GB, free: 21.49 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.482e-05/0.4681, allocations: 11.41 kB / 0.7204 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002003/0.4683, allocations: 103.8 kB / 0.7205 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.583e-06/0.4683, allocations: 3.938 kB / 0.7205 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.4683, allocations: 1.125 kB / 0.7205 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.4683, allocations: 6.109 kB / 0.7205 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002004/0.4685, allocations: 100.7 kB / 0.7206 GB, free: 21.4 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003438/0.4688, allocations: 298.3 kB / 0.7209 GB, free: 21.13 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003544/0.4692, allocations: 116 kB / 0.721 GB, free: 21.08 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001059/0.4693, allocations: 60.98 kB / 0.7211 GB, free: 21.06 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.719e-05/0.4693, allocations: 2.156 kB / 0.7211 GB, free: 21.06 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.3e-05/0.4693, allocations: 32.64 kB / 0.7211 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/0.4693, allocations: 0 / 0.7211 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0003848/0.4697, allocations: 185.7 kB / 0.7213 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.072e-05/0.4697, allocations: 61.47 kB / 0.7213 GB, free: 20.88 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.43e-05/0.4698, allocations: 122.8 kB / 0.7214 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.173e-06/0.4698, allocations: 25.7 kB / 0.7215 GB, free: 20.74 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.098e-05/0.4698, allocations: 98.42 kB / 0.7216 GB, free: 20.65 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.908e-05/0.4699, allocations: 15.34 kB / 0.7216 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.679e-05/0.4699, allocations: 28.22 kB / 0.7216 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.907e-05/0.4699, allocations: 315.6 kB / 0.7219 GB, free: 20.3 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001022/0.47, allocations: 47.19 kB / 0.7219 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.17e-05/0.4701, allocations: 49.08 kB / 0.722 GB, free: 20.28 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001859/0.4703, allocations: 92.02 kB / 0.7221 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.4703, allocations: 0.8438 kB / 0.7221 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002357/0.4705, allocations: 147 kB / 0.7222 GB, free: 20.19 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.4706, allocations: 5.016 kB / 0.7222 GB, free: 20.19 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.4706, allocations: 4 kB / 0.7222 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.4706, allocations: 1.156 kB / 0.7222 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.385e-05/0.4707, allocations: 28.45 kB / 0.7223 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.493e-06/0.4707, allocations: 4.016 kB / 0.7223 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.351e-05/0.4707, allocations: 24.88 kB / 0.7223 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.117e-06/0.4707, allocations: 7.375 kB / 0.7223 GB, free: 20.16 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: 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 5.876e-05/0.4708, allocations: 118.6 kB / 0.7224 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.75e-05/0.4708, allocations: 8.109 kB / 0.7224 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.36e-05/0.4708, allocations: 10.33 kB / 0.7224 GB, free: 20.03 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.4708, allocations: 1.031 kB / 0.7224 GB, free: 20.03 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/0.4708, allocations: 5.469 kB / 0.7224 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.4708, allocations: 0.7969 kB / 0.7224 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001149/0.471, allocations: 152.2 kB / 0.7226 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.471, allocations: 1.094 kB / 0.7226 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.524e-05/0.471, allocations: 27.52 kB / 0.7226 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.471, allocations: 9.703 kB / 0.7226 GB, free: 19.85 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.747e-06/0.4711, allocations: 0.6094 kB / 0.7226 GB, free: 19.85 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.552e-06/0.4711, allocations: 1.578 kB / 0.7226 GB, free: 19.85 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.4711, allocations: 3.938 kB / 0.7226 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002568/0.4713, allocations: 228.9 kB / 0.7228 GB, free: 19.69 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.187e-05/0.4713, allocations: 11.02 kB / 0.7228 GB, free: 19.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.427e-05/0.4713, allocations: 5.156 kB / 0.7228 GB, free: 19.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.702e-05/0.4714, allocations: 16.17 kB / 0.7229 GB, free: 19.68 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.323e-05/0.4715, allocations: 29.55 kB / 0.7229 GB, free: 19.66 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-06/0.4715, allocations: 3.688 kB / 0.7229 GB, free: 19.66 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.024e-05/0.4715, allocations: 92.66 kB / 0.723 GB, free: 19.58 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.1e-08/0.4715, allocations: 0 / 0.723 GB, free: 19.58 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001498/0.4717, allocations: 16.81 kB / 0.723 GB, free: 19.58 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: 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.0003714/0.472, allocations: 0.7712 MB / 0.7238 GB, free: 18.89 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002435/0.4723, allocations: 98.16 kB / 0.7238 GB, free: 18.87 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.4723, allocations: 0 / 0.7238 GB, free: 18.87 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001088/0.4724, allocations: 64.12 kB / 0.7239 GB, free: 18.86 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002539/0.4726, allocations: 16.97 kB / 0.7239 GB, free: 18.84 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001148/0.4738, allocations: 1.533 MB / 0.7254 GB, free: 17.57 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.007e-05/0.4738, allocations: 80.66 kB / 0.7255 GB, free: 17.49 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.937e-05/0.4739, allocations: 15.34 kB / 0.7255 GB, free: 17.48 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.295e-05/0.474, allocations: 33.3 kB / 0.7255 GB, free: 17.46 MB / 0.6355 GB Notification: Performance of SimCode: time 5.81e-07/0.474, allocations: 3.938 kB / 0.7255 GB, free: 17.46 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01597/0.4899, allocations: 3.474 MB / 0.7289 GB, free: 16.48 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.468/6.958, allocations: 10.14 kB / 0.729 GB, free: 16.47 MB / 0.6355 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: 9.724934078054503] Failed to read output from testmodel.py, exit status != 0: 7.035506663960405 7.0444246 6.575089653 Calling exit ...