Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.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.0008965/0.0008965, allocations: 80.45 kB / 19.15 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.001517/0.001517, 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.8951/0.8951, 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 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.6985/0.6985, allocations: 154.7 MB / 413.9 MB, free: 0.7539 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.Reals.Validation.Subtract,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_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.0009077/0.0009077, allocations: 66.98 kB / 0.6184 GB, free: 13.56 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.453/0.4539, allocations: 102 MB / 0.7179 GB, free: 23.35 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.001278/0.4552, allocations: 0.687 MB / 0.7186 GB, free: 22.93 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.00063/0.4558, allocations: 0.8248 MB / 0.7194 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.474e-05/0.4559, allocations: 1.125 kB / 0.7194 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.36e-05/0.4559, allocations: 3.938 kB / 0.7194 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 5.575e-05/0.456, allocations: 9.859 kB / 0.7194 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 5.309e-05/0.456, allocations: 13.92 kB / 0.7194 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 6.779e-05/0.4561, allocations: 43.03 kB / 0.7195 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 8.915e-05/0.4562, allocations: 21.91 kB / 0.7195 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 6.445e-05/0.4562, allocations: 21.55 kB / 0.7195 GB, free: 22.24 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 4.279e-05/0.4563, allocations: 17.55 kB / 0.7195 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.613e-05/0.4563, allocations: 3.406 kB / 0.7195 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 8.025e-06/0.4563, allocations: 4.281 kB / 0.7196 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.571e-05/0.4563, allocations: 10.98 kB / 0.7196 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.236e-05/0.4563, allocations: 17.36 kB / 0.7196 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 8.01e-05/0.4564, allocations: 48.97 kB / 0.7196 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.4564, allocations: 0 / 0.7196 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.904e-06/0.4564, allocations: 1.188 kB / 0.7196 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.4564, allocations: 0 / 0.7196 GB, free: 22.2 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002999/0.4567, allocations: 292.5 kB / 0.7199 GB, free: 21.92 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.4568, allocations: 9.656 kB / 0.7199 GB, free: 21.92 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.985e-05/0.4568, allocations: 31.41 kB / 0.7199 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.894e-05/0.4568, allocations: 11.02 kB / 0.72 GB, free: 21.87 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.345e-05/0.4569, allocations: 116 kB / 0.7201 GB, free: 21.74 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.958e-06/0.4569, allocations: 2.125 kB / 0.7201 GB, free: 21.74 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.017e-06/0.4569, allocations: 2.219 kB / 0.7201 GB, free: 21.74 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001475/0.457, allocations: 72.36 kB / 0.7201 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.632e-06/0.457, allocations: 7.875 kB / 0.7201 GB, free: 21.69 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.973e-06/0.457, allocations: 0 / 0.7201 GB, free: 21.69 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.457, allocations: 1.859 kB / 0.7201 GB, free: 21.69 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000144/0.4572, allocations: 62.91 kB / 0.7202 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002364/0.4574, allocations: 231.8 kB / 0.7204 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001158/0.4575, allocations: 62.86 kB / 0.7205 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.083e-05/0.4576, allocations: 40.02 kB / 0.7205 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.778e-06/0.4576, allocations: 0 / 0.7205 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.497e-05/0.4576, allocations: 32.2 kB / 0.7206 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 6.31e-07/0.4576, allocations: 1.188 kB / 0.7206 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0003065/0.4579, allocations: 140 kB / 0.7207 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.28e-05/0.458, allocations: 51.41 kB / 0.7207 GB, free: 21.22 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.212e-05/0.458, allocations: 108.4 kB / 0.7208 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.261e-06/0.458, allocations: 25.7 kB / 0.7209 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.399e-05/0.4581, allocations: 87.89 kB / 0.721 GB, free: 21 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.429e-05/0.4581, allocations: 13.53 kB / 0.721 GB, free: 20.99 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.374e-05/0.4581, allocations: 17.88 kB / 0.721 GB, free: 20.97 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.077e-05/0.4581, allocations: 313.9 kB / 0.7213 GB, free: 20.66 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.916e-05/0.4582, allocations: 35.39 kB / 0.7213 GB, free: 20.65 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.835e-05/0.4583, allocations: 31.17 kB / 0.7213 GB, free: 20.65 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001353/0.4584, allocations: 70 kB / 0.7214 GB, free: 20.63 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.4584, allocations: 0 / 0.7214 GB, free: 20.63 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001666/0.4586, allocations: 102.4 kB / 0.7215 GB, free: 20.58 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.4586, allocations: 6.016 kB / 0.7215 GB, free: 20.58 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.4586, allocations: 0 / 0.7215 GB, free: 20.58 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.4586, allocations: 1.438 kB / 0.7215 GB, free: 20.58 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.955e-05/0.4587, allocations: 14.59 kB / 0.7215 GB, free: 20.58 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.4587, allocations: 1.188 kB / 0.7215 GB, free: 20.58 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.677e-05/0.4587, allocations: 16.11 kB / 0.7215 GB, free: 20.58 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.092e-06/0.4587, allocations: 0 / 0.7215 GB, free: 20.58 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 4.149e-05/0.4588, allocations: 118.8 kB / 0.7217 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.164e-05/0.4588, allocations: 4.953 kB / 0.7217 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.781e-05/0.4588, allocations: 15.33 kB / 0.7217 GB, free: 20.44 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.4588, allocations: 0 / 0.7217 GB, free: 20.44 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.4588, allocations: 1.031 kB / 0.7217 GB, free: 20.44 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.4588, allocations: 0.6094 kB / 0.7217 GB, free: 20.44 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.959e-05/0.4589, allocations: 141.1 kB / 0.7218 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.61e-07/0.4589, allocations: 5.188 kB / 0.7218 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.256e-05/0.4589, allocations: 18.98 kB / 0.7218 GB, free: 20.26 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.4589, allocations: 1.125 kB / 0.7218 GB, free: 20.26 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/0.4589, allocations: 0 / 0.7218 GB, free: 20.26 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.4589, allocations: 1.719 kB / 0.7218 GB, free: 20.26 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.4589, allocations: 0 / 0.7218 GB, free: 20.26 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001899/0.4591, allocations: 202.5 kB / 0.722 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.041e-06/0.4591, allocations: 1.906 kB / 0.722 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.919e-06/0.4591, allocations: 5.734 kB / 0.722 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.922e-05/0.4592, allocations: 11.86 kB / 0.7221 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.54e-05/0.4592, allocations: 8.312 kB / 0.7221 GB, free: 20.1 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-06/0.4592, allocations: 0.5625 kB / 0.7221 GB, free: 20.1 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.118e-05/0.4593, allocations: 88.48 kB / 0.7221 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4593, allocations: 0 / 0.7221 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001351/0.4594, allocations: 6.156 kB / 0.7222 GB, free: 20.02 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0002708/0.4597, allocations: 0.7316 MB / 0.7229 GB, free: 19.34 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001796/0.4598, allocations: 66.31 kB / 0.7229 GB, free: 19.34 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.4598, allocations: 0 / 0.7229 GB, free: 19.34 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.533e-05/0.4599, allocations: 38.61 kB / 0.723 GB, free: 19.33 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002154/0.4601, allocations: 5.5 kB / 0.723 GB, free: 19.33 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003201/0.4605, allocations: 161.3 kB / 0.7231 GB, free: 19.16 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.843e-05/0.4605, allocations: 64.64 kB / 0.7232 GB, free: 19.09 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.226e-05/0.4605, allocations: 6.172 kB / 0.7232 GB, free: 19.09 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.568e-05/0.4605, allocations: 14.81 kB / 0.7232 GB, free: 19.07 MB / 0.6355 GB Notification: Performance of SimCode: time 5.21e-07/0.4605, allocations: 4 kB / 0.7232 GB, free: 19.07 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01482/0.4754, allocations: 2.3 MB / 0.7255 GB, free: 18.17 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.456/6.932, allocations: 5.047 kB / 0.7255 GB, free: 18.17 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.OBC.CDL.Reals.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_Reals_Validation_Subtract.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.677244105027057] Failed to read output from testmodel.py, exit status != 0: 7.009037206997164 7.018602775 6.560083431 Calling exit ...