Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0009746/0.0009746, allocations: 80.45 kB / 19.15 MB, free: 0.7773 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.0009986/0.0009986, allocations: 162 kB / 22.43 MB, free: 2.145 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.9079/0.9079, allocations: 177.2 MB / 202.8 MB, free: 5.781 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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 master/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 master/package.mo): time 0.7465/0.7465, allocations: 154.9 MB / 414.2 MB, free: 0.4922 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract,fileNamePrefix="IDEAS_dev_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.001021/0.001021, allocations: 71.89 kB / 0.6186 GB, free: 13.27 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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.4734/0.4744, allocations: 102 MB / 0.7182 GB, free: 23.15 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.001504/0.4759, allocations: 0.7439 MB / 0.7189 GB, free: 22.68 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0007894/0.4767, allocations: 0.8855 MB / 0.7198 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.251e-05/0.4767, allocations: 1.406 kB / 0.7198 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.077e-05/0.4768, allocations: 5.484 kB / 0.7198 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 7.981e-05/0.4768, allocations: 10.03 kB / 0.7198 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001595/0.477, allocations: 42.61 kB / 0.7199 GB, free: 21.99 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 9.221e-05/0.4771, allocations: 86.48 kB / 0.7199 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.4772, allocations: 27.28 kB / 0.72 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 9.208e-05/0.4773, allocations: 49.55 kB / 0.72 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 7.219e-05/0.4774, allocations: 44.36 kB / 0.7201 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.42e-05/0.4774, allocations: 8.469 kB / 0.7201 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 1.386e-05/0.4774, allocations: 11.56 kB / 0.7201 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.277e-05/0.4774, allocations: 20.05 kB / 0.7201 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 3.285e-05/0.4775, allocations: 26.81 kB / 0.7201 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.000135/0.4776, allocations: 110.9 kB / 0.7202 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.4776, allocations: 0 / 0.7202 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.304e-06/0.4776, allocations: 0 / 0.7202 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.4776, allocations: 5.125 kB / 0.7202 GB, free: 21.8 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.0003975/0.478, allocations: 315.1 kB / 0.7205 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.478, allocations: 11.88 kB / 0.7205 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.448e-05/0.4781, allocations: 37.23 kB / 0.7206 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.642e-05/0.4781, allocations: 9.859 kB / 0.7206 GB, free: 21.47 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.725e-05/0.4782, allocations: 121.7 kB / 0.7207 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.4782, allocations: 7.469 kB / 0.7207 GB, free: 21.33 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.276e-05/0.4782, allocations: 7.312 kB / 0.7207 GB, free: 21.33 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002014/0.4784, allocations: 112.8 kB / 0.7208 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.352e-06/0.4784, allocations: 1.156 kB / 0.7208 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.4784, allocations: 0 / 0.7208 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.4784, allocations: 2.406 kB / 0.7208 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002014/0.4786, allocations: 92.95 kB / 0.7209 GB, free: 21.26 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003551/0.479, allocations: 302.5 kB / 0.7212 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003549/0.4793, allocations: 115.2 kB / 0.7213 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001098/0.4794, allocations: 56.77 kB / 0.7214 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.611e-05/0.4794, allocations: 1.094 kB / 0.7214 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.202e-05/0.4795, allocations: 37.27 kB / 0.7214 GB, free: 20.87 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 9.11e-07/0.4795, allocations: 3.938 kB / 0.7214 GB, free: 20.87 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0003896/0.4799, allocations: 190.6 kB / 0.7216 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.14e-05/0.4799, allocations: 56.59 kB / 0.7216 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.217e-05/0.4799, allocations: 124.3 kB / 0.7218 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.877e-06/0.4799, allocations: 25.7 kB / 0.7218 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.914e-05/0.48, allocations: 97.92 kB / 0.7219 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.724e-05/0.48, allocations: 20.02 kB / 0.7219 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.343e-05/0.48, allocations: 23.5 kB / 0.7219 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.954e-05/0.4801, allocations: 323.5 kB / 0.7222 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.467e-05/0.4801, allocations: 44.45 kB / 0.7223 GB, free: 20.13 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.499e-05/0.4802, allocations: 44.91 kB / 0.7223 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001833/0.4804, allocations: 107.4 kB / 0.7224 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.4804, allocations: 4 kB / 0.7224 GB, free: 20.08 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002225/0.4806, allocations: 134.4 kB / 0.7225 GB, free: 20.03 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.4807, allocations: 5.75 kB / 0.7226 GB, free: 20.03 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.4807, allocations: 0 / 0.7226 GB, free: 20.03 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.4807, allocations: 2.281 kB / 0.7226 GB, free: 20.03 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.303e-05/0.4808, allocations: 23.23 kB / 0.7226 GB, free: 20.03 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.4808, allocations: 8.969 kB / 0.7226 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.07e-05/0.4808, allocations: 16.61 kB / 0.7226 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-06/0.4808, allocations: 3.297 kB / 0.7226 GB, free: 20.02 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.227e-05/0.4809, allocations: 118.6 kB / 0.7227 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.64e-05/0.4809, allocations: 7.375 kB / 0.7227 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.874e-05/0.4809, allocations: 15.36 kB / 0.7227 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.4809, allocations: 1.844 kB / 0.7227 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.4809, allocations: 3.938 kB / 0.7227 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.4809, allocations: 0.75 kB / 0.7227 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001032/0.481, allocations: 159.8 kB / 0.7229 GB, free: 19.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.481, allocations: 5.109 kB / 0.7229 GB, free: 19.7 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.82e-05/0.4811, allocations: 28.3 kB / 0.7229 GB, free: 19.7 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.4811, allocations: 1.094 kB / 0.7229 GB, free: 19.7 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.787e-06/0.4811, allocations: 1.359 kB / 0.7229 GB, free: 19.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.71e-07/0.4811, allocations: 1.125 kB / 0.7229 GB, free: 19.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.4811, allocations: 3.938 kB / 0.7229 GB, free: 19.69 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000246/0.4814, allocations: 240.2 kB / 0.7232 GB, free: 19.53 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.051e-05/0.4814, allocations: 8.062 kB / 0.7232 GB, free: 19.52 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.278e-05/0.4814, allocations: 1.094 kB / 0.7232 GB, free: 19.52 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.484e-05/0.4814, allocations: 10.91 kB / 0.7232 GB, free: 19.52 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.932e-05/0.4815, allocations: 26.06 kB / 0.7232 GB, free: 19.51 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.663e-06/0.4815, allocations: 7.031 kB / 0.7232 GB, free: 19.51 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.902e-05/0.4815, allocations: 93.75 kB / 0.7233 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4815, allocations: 0 / 0.7233 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001462/0.4817, allocations: 11.84 kB / 0.7233 GB, free: 19.43 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.0003563/0.4821, allocations: 0.7669 MB / 0.7241 GB, free: 18.74 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002526/0.4823, allocations: 111 kB / 0.7242 GB, free: 18.71 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.4823, allocations: 5.469 kB / 0.7242 GB, free: 18.71 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001124/0.4824, allocations: 59.44 kB / 0.7242 GB, free: 18.7 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002098/0.4826, allocations: 13.12 kB / 0.7242 GB, free: 18.69 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001118/0.4837, allocations: 1.539 MB / 0.7258 GB, free: 17.41 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.555e-05/0.4838, allocations: 78.14 kB / 0.7258 GB, free: 17.34 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.666e-05/0.4838, allocations: 12.56 kB / 0.7258 GB, free: 17.33 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.062e-05/0.4839, allocations: 31.89 kB / 0.7259 GB, free: 17.31 MB / 0.6355 GB Notification: Performance of SimCode: time 4.81e-07/0.4839, allocations: 0 / 0.7259 GB, free: 17.31 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01551/0.4994, allocations: 3.48 MB / 0.7293 GB, free: 16.33 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.908/7.407, allocations: 15.17 kB / 0.7293 GB, free: 16.32 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_Subtract.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.26693704992067] Failed to read output from testmodel.py, exit status != 0: 7.484223914099857 7.493607381 7.014065946 Calling exit ...