Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Add.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.0008484/0.0008484, 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.0007754/0.0007754, allocations: 162 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.9117/0.9117, allocations: 177.2 MB / 202.8 MB, free: 5.77 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.7556/0.7556, allocations: 154.9 MB / 414.2 MB, free: 0.5 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.Add,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Validation.Add,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_Add",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.001104/0.001104, allocations: 71.23 kB / 0.6186 GB, free: 13.34 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.5293/0.5304, allocations: 102 MB / 0.7182 GB, free: 23.17 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Add): time 0.001516/0.5319, allocations: 0.7478 MB / 0.7189 GB, free: 22.7 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.000823/0.5327, allocations: 0.885 MB / 0.7198 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.541e-05/0.5328, allocations: 1.25 kB / 0.7198 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.216e-05/0.5328, allocations: 5.156 kB / 0.7198 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 7.753e-05/0.5329, allocations: 10.59 kB / 0.7198 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001761/0.533, allocations: 39.98 kB / 0.7198 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001107/0.5332, allocations: 86.55 kB / 0.7199 GB, free: 21.97 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.5333, allocations: 24.89 kB / 0.72 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001008/0.5334, allocations: 54.95 kB / 0.72 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 7.356e-05/0.5335, allocations: 40.53 kB / 0.72 GB, free: 21.92 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.524e-05/0.5335, allocations: 7.875 kB / 0.7201 GB, free: 21.92 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 1.366e-05/0.5335, allocations: 15.41 kB / 0.7201 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.447e-05/0.5335, allocations: 20.16 kB / 0.7201 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 3.175e-05/0.5336, allocations: 33.66 kB / 0.7201 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001547/0.5337, allocations: 99.77 kB / 0.7202 GB, free: 21.83 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.5337, allocations: 1.125 kB / 0.7202 GB, free: 21.83 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.425e-06/0.5337, allocations: 0 / 0.7202 GB, free: 21.83 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.5337, allocations: 0 / 0.7202 GB, free: 21.83 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.0004324/0.5342, allocations: 319 kB / 0.7205 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.5342, allocations: 11.59 kB / 0.7205 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.871e-05/0.5342, allocations: 41.28 kB / 0.7206 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.756e-05/0.5342, allocations: 9.781 kB / 0.7206 GB, free: 21.49 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.838e-05/0.5343, allocations: 126 kB / 0.7207 GB, free: 21.35 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.5344, allocations: 7.312 kB / 0.7207 GB, free: 21.35 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.434e-05/0.5344, allocations: 6.875 kB / 0.7207 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002123/0.5346, allocations: 101.8 kB / 0.7208 GB, free: 21.3 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.054e-06/0.5346, allocations: 0 / 0.7208 GB, free: 21.3 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.5346, allocations: 8.922 kB / 0.7208 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.5346, allocations: 1.188 kB / 0.7208 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000206/0.5348, allocations: 97.11 kB / 0.7209 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003713/0.5352, allocations: 298.4 kB / 0.7212 GB, free: 21 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003798/0.5356, allocations: 112.3 kB / 0.7213 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001137/0.5357, allocations: 61.3 kB / 0.7214 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.847e-05/0.5357, allocations: 1.25 kB / 0.7214 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.325e-05/0.5357, allocations: 40.47 kB / 0.7214 GB, free: 20.88 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.643e-06/0.5357, allocations: 3.938 kB / 0.7214 GB, free: 20.88 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0003982/0.5361, allocations: 178 kB / 0.7216 GB, free: 20.82 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.338e-05/0.5361, allocations: 65.19 kB / 0.7216 GB, free: 20.74 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.443e-05/0.5362, allocations: 123.3 kB / 0.7218 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.077e-06/0.5362, allocations: 30.83 kB / 0.7218 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.047e-05/0.5362, allocations: 93.5 kB / 0.7219 GB, free: 20.51 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.861e-05/0.5363, allocations: 19.14 kB / 0.7219 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.4e-05/0.5363, allocations: 24.09 kB / 0.7219 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.235e-05/0.5363, allocations: 319.5 kB / 0.7222 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001042/0.5364, allocations: 44.39 kB / 0.7223 GB, free: 20.15 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.541e-05/0.5365, allocations: 56.03 kB / 0.7223 GB, free: 20.13 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001847/0.5367, allocations: 96.66 kB / 0.7224 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.5367, allocations: 0 / 0.7224 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000231/0.5369, allocations: 142.4 kB / 0.7225 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.537, allocations: 5.688 kB / 0.7226 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.537, allocations: 0.75 kB / 0.7226 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.537, allocations: 1.125 kB / 0.7226 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.15e-05/0.5371, allocations: 23.36 kB / 0.7226 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/0.5371, allocations: 5.031 kB / 0.7226 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.506e-05/0.5371, allocations: 21.02 kB / 0.7226 GB, free: 20.03 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.5371, allocations: 3.141 kB / 0.7226 GB, free: 20.03 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,add1.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.511e-05/0.5372, allocations: 123.1 kB / 0.7227 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.578e-05/0.5372, allocations: 7.203 kB / 0.7227 GB, free: 19.9 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.935e-05/0.5372, allocations: 10.45 kB / 0.7227 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.5372, allocations: 1.062 kB / 0.7227 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.5372, allocations: 5 kB / 0.7227 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.5372, allocations: 0.9844 kB / 0.7227 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001141/0.5373, allocations: 157.3 kB / 0.7229 GB, free: 19.72 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.5373, allocations: 0 / 0.7229 GB, free: 19.72 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.21e-05/0.5374, allocations: 28.58 kB / 0.7229 GB, free: 19.72 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.5374, allocations: 0 / 0.7229 GB, free: 19.72 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.767e-06/0.5374, allocations: 6.25 kB / 0.7229 GB, free: 19.71 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.5374, allocations: 0 / 0.7229 GB, free: 19.71 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.5374, allocations: 6.406 kB / 0.7229 GB, free: 19.71 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002425/0.5377, allocations: 234 kB / 0.7232 GB, free: 19.55 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.174e-05/0.5377, allocations: 11.66 kB / 0.7232 GB, free: 19.54 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.413e-05/0.5377, allocations: 2.203 kB / 0.7232 GB, free: 19.54 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.418e-05/0.5378, allocations: 11.34 kB / 0.7232 GB, free: 19.54 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.853e-05/0.5378, allocations: 29.83 kB / 0.7232 GB, free: 19.53 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.322e-06/0.5378, allocations: 2.781 kB / 0.7232 GB, free: 19.53 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.934e-05/0.5379, allocations: 93.69 kB / 0.7233 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.5379, allocations: 0 / 0.7233 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001546/0.538, allocations: 16 kB / 0.7233 GB, free: 19.45 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 (add1.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.000379/0.5384, allocations: 0.7742 MB / 0.7241 GB, free: 18.75 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002513/0.5387, allocations: 98.02 kB / 0.7242 GB, free: 18.73 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.5387, allocations: 1.094 kB / 0.7242 GB, free: 18.73 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001118/0.5388, allocations: 63.94 kB / 0.7242 GB, free: 18.72 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000259/0.539, allocations: 21.3 kB / 0.7242 GB, free: 18.7 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001201/0.5402, allocations: 1.535 MB / 0.7257 GB, free: 17.43 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.647e-05/0.5403, allocations: 82.45 kB / 0.7258 GB, free: 17.35 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.216e-05/0.5403, allocations: 11.8 kB / 0.7258 GB, free: 17.34 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.805e-05/0.5404, allocations: 31.25 kB / 0.7259 GB, free: 17.32 MB / 0.6355 GB Notification: Performance of SimCode: time 5.91e-07/0.5404, allocations: 0 / 0.7259 GB, free: 17.32 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01975/0.5601, allocations: 3.474 MB / 0.7293 GB, free: 16.35 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.857/7.417, allocations: 9.219 kB / 0.7293 GB, free: 16.34 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Add.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Add_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_Add.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.381208535050973] Failed to read output from testmodel.py, exit status != 0: 7.496999494964257 7.506638018 6.971174471 Calling exit ...