Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant.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.001123/0.001123, 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.001258/0.001258, 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.869/0.869, 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.7432/0.7432, allocations: 154.9 MB / 414.2 MB, free: 0.5039 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.Sources.Validation.Constant,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Sources_Validation_Constant",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.001091/0.001091, allocations: 69.3 kB / 0.6186 GB, free: 12.16 MB / 0.5417 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.5052/0.5063, allocations: 102 MB / 0.7182 GB, free: 13.35 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001402/0.5077, allocations: 0.5381 MB / 0.7187 GB, free: 12.81 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 4.272e-05/0.5077, allocations: 0 / 0.7187 GB, free: 12.81 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.802e-05/0.5078, allocations: 0 / 0.7187 GB, free: 12.81 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.7e-05/0.5078, allocations: 0 / 0.7187 GB, free: 12.81 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 2.76e-05/0.5078, allocations: 0 / 0.7187 GB, free: 12.81 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 3.2e-05/0.5079, allocations: 4 kB / 0.7187 GB, free: 12.81 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.152e-05/0.5079, allocations: 4 kB / 0.7187 GB, free: 12.8 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.19e-05/0.508, allocations: 4 kB / 0.7187 GB, free: 12.8 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.974e-05/0.508, allocations: 0 / 0.7187 GB, free: 12.8 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.031e-05/0.508, allocations: 3.938 kB / 0.7187 GB, free: 12.8 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.422e-05/0.508, allocations: 0 / 0.7187 GB, free: 12.8 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 3.857e-06/0.508, allocations: 0 / 0.7187 GB, free: 12.8 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.392e-05/0.5081, allocations: 4 kB / 0.7187 GB, free: 12.79 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.332e-05/0.5081, allocations: 11.92 kB / 0.7188 GB, free: 12.78 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.545e-05/0.5081, allocations: 3.984 kB / 0.7188 GB, free: 12.78 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.5082, allocations: 0 / 0.7188 GB, free: 12.78 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.385e-06/0.5082, allocations: 0 / 0.7188 GB, free: 12.78 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.162e-06/0.5082, allocations: 0 / 0.7188 GB, free: 12.78 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002547/0.5084, allocations: 242.4 kB / 0.719 GB, free: 12.51 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.5085, allocations: 13.47 kB / 0.719 GB, free: 12.5 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.76e-05/0.5085, allocations: 30.75 kB / 0.719 GB, free: 12.46 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.059e-05/0.5085, allocations: 4.922 kB / 0.719 GB, free: 12.45 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.553e-05/0.5086, allocations: 102.5 kB / 0.7191 GB, free: 12.33 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.028e-05/0.5086, allocations: 384 / 0.7191 GB, free: 12.33 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.568e-06/0.5086, allocations: 4.375 kB / 0.7191 GB, free: 12.32 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.008e-05/0.5087, allocations: 30.27 kB / 0.7192 GB, free: 12.29 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.5087, allocations: 7.875 kB / 0.7192 GB, free: 12.28 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.173e-06/0.5087, allocations: 4 kB / 0.7192 GB, free: 12.28 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.5087, allocations: 0 / 0.7192 GB, free: 12.28 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.561e-05/0.5087, allocations: 7.938 kB / 0.7192 GB, free: 12.27 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002573/0.509, allocations: 350.6 kB / 0.7195 GB, free: 11.88 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 6.602e-05/0.509, allocations: 169.1 kB / 0.7197 GB, free: 11.71 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.617e-05/0.5091, allocations: 80.14 kB / 0.7198 GB, free: 11.62 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.197e-05/0.5091, allocations: 79.28 kB / 0.7198 GB, free: 11.55 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.797e-05/0.5091, allocations: 109.8 kB / 0.7199 GB, free: 11.43 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 1.203e-06/0.5091, allocations: 0 / 0.7199 GB, free: 11.43 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 5.939e-05/0.5092, allocations: 25.7 kB / 0.72 GB, free: 11.4 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.878e-05/0.5092, allocations: 134.7 kB / 0.7201 GB, free: 11.25 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.343e-05/0.5093, allocations: 101.8 kB / 0.7202 GB, free: 11.14 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.909e-06/0.5093, allocations: 29.7 kB / 0.7202 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002925/0.5096, allocations: 80.14 kB / 0.7203 GB, free: 11.03 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.314e-06/0.5096, allocations: 0 / 0.7203 GB, free: 11.03 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.784e-05/0.5096, allocations: 13.75 kB / 0.7203 GB, free: 11.01 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.777e-05/0.5097, allocations: 310.8 kB / 0.7206 GB, free: 10.7 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.979e-06/0.5097, allocations: 4 kB / 0.7206 GB, free: 10.69 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.581e-06/0.5097, allocations: 4 kB / 0.7206 GB, free: 10.69 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.186e-05/0.5097, allocations: 75.28 kB / 0.7207 GB, free: 10.61 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.819e-05/0.5098, allocations: 83.16 kB / 0.7208 GB, free: 10.53 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.55e-05/0.5098, allocations: 37.83 kB / 0.7208 GB, free: 10.49 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.113e-05/0.5098, allocations: 83.27 kB / 0.7209 GB, free: 10.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.817e-05/0.5099, allocations: 75.28 kB / 0.721 GB, free: 10.33 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.693e-05/0.5099, allocations: 158.5 kB / 0.7211 GB, free: 10.18 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.714e-05/0.5099, allocations: 75.28 kB / 0.7212 GB, free: 10.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.518e-05/0.51, allocations: 154.5 kB / 0.7213 GB, free: 9.949 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.291e-05/0.51, allocations: 75.28 kB / 0.7214 GB, free: 9.875 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.785e-05/0.51, allocations: 83.28 kB / 0.7215 GB, free: 9.793 MB / 0.6042 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 (0): * Single equations (assignments): 0 * 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 8.893e-05/0.5101, allocations: 265.6 kB / 0.7217 GB, free: 9.527 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.774e-05/0.5101, allocations: 112.9 kB / 0.7218 GB, free: 9.41 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.718e-05/0.5102, allocations: 111.9 kB / 0.7219 GB, free: 9.297 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.421e-05/0.5102, allocations: 185.4 kB / 0.7221 GB, free: 9.109 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.991e-05/0.5103, allocations: 180.3 kB / 0.7223 GB, free: 8.926 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.796e-05/0.5103, allocations: 180.3 kB / 0.7225 GB, free: 8.742 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001404/0.5104, allocations: 384.1 kB / 0.7228 GB, free: 8.316 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.313e-05/0.5105, allocations: 101 kB / 0.7229 GB, free: 8.211 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.77e-05/0.5105, allocations: 104.9 kB / 0.723 GB, free: 8.102 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.454e-05/0.5105, allocations: 192.2 kB / 0.7232 GB, free: 7.906 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.106e-05/0.5106, allocations: 176.3 kB / 0.7234 GB, free: 7.727 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.805e-05/0.5106, allocations: 180.2 kB / 0.7236 GB, free: 7.543 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-05/0.5107, allocations: 184.3 kB / 0.7237 GB, free: 7.355 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.84e-05/0.5108, allocations: 312.1 kB / 0.724 GB, free: 7.027 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.3e-05/0.5108, allocations: 109 kB / 0.7241 GB, free: 6.914 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.495e-05/0.5108, allocations: 184.2 kB / 0.7243 GB, free: 6.727 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.661e-05/0.5109, allocations: 101 kB / 0.7244 GB, free: 6.621 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.254e-05/0.5109, allocations: 180.2 kB / 0.7246 GB, free: 6.438 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.663e-05/0.511, allocations: 113 kB / 0.7247 GB, free: 6.32 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.444e-05/0.511, allocations: 75.28 kB / 0.7248 GB, free: 6.246 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5e-08/0.511, allocations: 0 / 0.7248 GB, free: 6.246 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001541/0.5112, allocations: 4 kB / 0.7248 GB, free: 6.242 MB / 0.6042 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 (0): * Single equations (assignments): 0 * 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.0002717/0.5114, allocations: 0.8126 MB / 0.7255 GB, free: 5.398 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 3.946e-05/0.5115, allocations: 4 kB / 0.7256 GB, free: 5.395 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.5115, allocations: 0 / 0.7256 GB, free: 5.395 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.81e-07/0.5115, allocations: 0 / 0.7256 GB, free: 5.395 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002607/0.5117, allocations: 451.7 kB / 0.726 GB, free: 4.949 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008304/0.5126, allocations: 1.532 MB / 0.7275 GB, free: 3.336 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000339/0.5129, allocations: 51.36 kB / 0.7275 GB, free: 3.266 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 9.939e-06/0.5129, allocations: 0 / 0.7275 GB, free: 3.266 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.823e-05/0.5129, allocations: 16.59 kB / 0.7275 GB, free: 3.25 MB / 0.6042 GB Notification: Performance of SimCode: time 6.71e-07/0.5129, allocations: 0 / 0.7275 GB, free: 3.25 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01796/0.5309, allocations: 1.54 MB / 0.729 GB, free: 1.844 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.898/7.429, allocations: 14.8 kB / 0.7291 GB, free: 1.832 MB / 0.6042 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant_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_Sources_Validation_Constant.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.262252188986167] Failed to read output from testmodel.py, exit status != 0: 7.505520667997189 7.5140121109999995 7.004230937 Calling exit ...