Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.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.0007102/0.0007102, 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.0008275/0.0008275, allocations: 162.3 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.8787/0.8787, 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.702/0.702, allocations: 154.7 MB / 413.9 MB, free: 0.75 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.Sources.Validation.Constant,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_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.0008516/0.0008516, allocations: 69.22 kB / 0.6184 GB, free: 13.6 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.4502/0.451, allocations: 102 MB / 0.7179 GB, free: 23.35 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001517/0.4525, allocations: 0.5665 MB / 0.7185 GB, free: 23 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 4.45e-05/0.4526, allocations: 9.062 kB / 0.7185 GB, free: 22.99 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.277e-05/0.4526, allocations: 0 / 0.7185 GB, free: 22.99 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.273e-05/0.4526, allocations: 5.031 kB / 0.7185 GB, free: 22.99 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 2.925e-05/0.4527, allocations: 0 / 0.7185 GB, free: 22.99 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 3.162e-05/0.4527, allocations: 0.5156 kB / 0.7185 GB, free: 22.99 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 5.183e-05/0.4527, allocations: 2.406 kB / 0.7185 GB, free: 22.99 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 6.298e-05/0.4528, allocations: 6.391 kB / 0.7185 GB, free: 22.98 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 3.061e-05/0.4528, allocations: 0 / 0.7185 GB, free: 22.98 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 1.865e-05/0.4529, allocations: 5.344 kB / 0.7185 GB, free: 22.98 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.462e-05/0.4529, allocations: 3.938 kB / 0.7185 GB, free: 22.98 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 3.527e-06/0.4529, allocations: 0 / 0.7185 GB, free: 22.98 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.42e-05/0.4529, allocations: 6.047 kB / 0.7185 GB, free: 22.97 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 1.903e-05/0.4529, allocations: 0 / 0.7185 GB, free: 22.97 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 6.147e-05/0.453, allocations: 6.578 kB / 0.7185 GB, free: 22.97 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.453, allocations: 0 / 0.7185 GB, free: 22.97 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.786e-06/0.453, allocations: 0.9062 kB / 0.7185 GB, free: 22.97 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.903e-06/0.453, allocations: 0 / 0.7185 GB, free: 22.97 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002153/0.4532, allocations: 238.1 kB / 0.7187 GB, free: 22.71 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.4532, allocations: 8.188 kB / 0.7188 GB, free: 22.71 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.169e-05/0.4533, allocations: 32.12 kB / 0.7188 GB, free: 22.67 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.081e-05/0.4533, allocations: 1.594 kB / 0.7188 GB, free: 22.67 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.175e-05/0.4533, allocations: 113.3 kB / 0.7189 GB, free: 22.54 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.4533, allocations: 8.312 kB / 0.7189 GB, free: 22.53 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.747e-06/0.4534, allocations: 1.812 kB / 0.7189 GB, free: 22.53 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.911e-05/0.4534, allocations: 28.36 kB / 0.7189 GB, free: 22.5 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.832e-06/0.4534, allocations: 3.938 kB / 0.7189 GB, free: 22.5 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.424e-06/0.4535, allocations: 6.078 kB / 0.7189 GB, free: 22.49 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.4535, allocations: 0 / 0.7189 GB, free: 22.49 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.489e-05/0.4535, allocations: 1.406 kB / 0.7189 GB, free: 22.49 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002016/0.4537, allocations: 349.2 kB / 0.7193 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 3.854e-05/0.4537, allocations: 176.2 kB / 0.7194 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.284e-05/0.4537, allocations: 80.14 kB / 0.7195 GB, free: 21.85 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.117e-05/0.4537, allocations: 80.53 kB / 0.7196 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/0.4538, allocations: 112 kB / 0.7197 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 7.41e-07/0.4538, allocations: 0 / 0.7197 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 5.129e-05/0.4538, allocations: 27.62 kB / 0.7197 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.592e-05/0.4538, allocations: 132 kB / 0.7199 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.915e-05/0.4539, allocations: 93.88 kB / 0.7199 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.248e-06/0.4539, allocations: 27.05 kB / 0.72 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 1.173e-05/0.4539, allocations: 84.73 kB / 0.72 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.733e-06/0.4539, allocations: 0 / 0.72 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.505e-05/0.4539, allocations: 11.83 kB / 0.7201 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.475e-05/0.4539, allocations: 324.9 kB / 0.7204 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.216e-05/0.454, allocations: 1.25 kB / 0.7204 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.138e-06/0.454, allocations: 0 / 0.7204 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.109e-05/0.454, allocations: 76.22 kB / 0.7204 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.704e-06/0.454, allocations: 79.22 kB / 0.7205 GB, free: 20.78 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0) (initialization): time 2.752e-05/0.454, allocations: 29.41 kB / 0.7205 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.454, allocations: 83.25 kB / 0.7206 GB, free: 20.67 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/0.454, allocations: 81.06 kB / 0.7207 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/0.4541, allocations: 151.7 kB / 0.7208 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.985e-06/0.4541, allocations: 84.81 kB / 0.7209 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.255e-05/0.4541, allocations: 160.6 kB / 0.7211 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.161e-05/0.4541, allocations: 77.12 kB / 0.7212 GB, free: 20.13 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.812e-06/0.4541, allocations: 80.5 kB / 0.7212 GB, free: 20.05 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 (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 4.773e-05/0.4542, allocations: 267.7 kB / 0.7215 GB, free: 19.79 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.93e-05/0.4542, allocations: 103.9 kB / 0.7216 GB, free: 19.68 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.049e-05/0.4542, allocations: 113.9 kB / 0.7217 GB, free: 19.57 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.649e-05/0.4542, allocations: 183.5 kB / 0.7219 GB, free: 19.39 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.768e-05/0.4542, allocations: 178.3 kB / 0.722 GB, free: 19.21 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.588e-05/0.4543, allocations: 182.1 kB / 0.7222 GB, free: 19.02 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.372e-05/0.4543, allocations: 376.8 kB / 0.7226 GB, free: 18.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.256e-05/0.4544, allocations: 119 kB / 0.7227 GB, free: 18.49 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.378e-06/0.4544, allocations: 102.9 kB / 0.7228 GB, free: 18.38 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.837e-05/0.4544, allocations: 186.2 kB / 0.723 GB, free: 18.2 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.876e-05/0.4544, allocations: 178.3 kB / 0.7231 GB, free: 18.02 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.496e-05/0.4544, allocations: 178.4 kB / 0.7233 GB, free: 17.84 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.646e-05/0.4544, allocations: 181.8 kB / 0.7235 GB, free: 17.65 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.866e-05/0.4545, allocations: 311.5 kB / 0.7238 GB, free: 17.33 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.348e-05/0.4545, allocations: 112.2 kB / 0.7239 GB, free: 17.22 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.41e-05/0.4545, allocations: 178.7 kB / 0.7241 GB, free: 17.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.946e-05/0.4546, allocations: 106.9 kB / 0.7242 GB, free: 16.93 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.098e-05/0.4546, allocations: 182.6 kB / 0.7243 GB, free: 16.75 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.237e-06/0.4546, allocations: 110.2 kB / 0.7244 GB, free: 16.63 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.319e-05/0.4546, allocations: 78.86 kB / 0.7245 GB, free: 16.56 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4546, allocations: 0 / 0.7245 GB, free: 16.56 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001531/0.4548, allocations: 1.344 kB / 0.7245 GB, free: 16.56 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 (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.0002004/0.455, allocations: 0.8023 MB / 0.7253 GB, free: 15.75 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 3.623e-05/0.455, allocations: 1.281 kB / 0.7253 GB, free: 15.75 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.455, allocations: 3.938 kB / 0.7253 GB, free: 15.74 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.815e-06/0.455, allocations: 2.109 kB / 0.7253 GB, free: 15.74 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001949/0.4552, allocations: 462.5 kB / 0.7257 GB, free: 15.29 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000619/0.4558, allocations: 1.533 MB / 0.7272 GB, free: 13.72 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.886e-05/0.4559, allocations: 55.72 kB / 0.7273 GB, free: 13.65 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 7.484e-06/0.4559, allocations: 0 / 0.7273 GB, free: 13.65 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.3e-05/0.4559, allocations: 8.5 kB / 0.7273 GB, free: 13.64 MB / 0.6355 GB Notification: Performance of SimCode: time 7.62e-07/0.4559, allocations: 0 / 0.7273 GB, free: 13.64 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0164/0.4723, allocations: 1.531 MB / 0.7288 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.493/6.965, allocations: 3.766 kB / 0.7288 GB, free: 12.79 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.OBC.CDL.Reals.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_IDEAS_Controls_OBC_CDL_Reals_Sources_Validation_Constant.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.703088153968565] Failed to read output from testmodel.py, exit status != 0: 7.041237408993766 7.054013176 6.599278016 Calling exit ...