Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.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.0009098/0.0009098, 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.0008595/0.0008595, 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.9053/0.9053, 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.6924/0.6924, allocations: 154.9 MB / 414.2 MB, free: 0.5273 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.Logical.Sources.Validation.Constant,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_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.001451/0.001451, allocations: 72.95 kB / 0.6186 GB, free: 13.3 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.4427/0.4441, allocations: 102 MB / 0.7182 GB, free: 23.14 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001296/0.4454, allocations: 0.5378 MB / 0.7187 GB, free: 22.81 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 3.917e-05/0.4454, allocations: 1.031 kB / 0.7187 GB, free: 22.81 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.778e-05/0.4455, allocations: 0 / 0.7187 GB, free: 22.81 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.72e-05/0.4455, allocations: 5.672 kB / 0.7187 GB, free: 22.81 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 2.728e-05/0.4455, allocations: 3.938 kB / 0.7188 GB, free: 22.8 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 3.835e-05/0.4456, allocations: 0 / 0.7188 GB, free: 22.8 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 5.402e-05/0.4456, allocations: 2.766 kB / 0.7188 GB, free: 22.8 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 5.557e-05/0.4457, allocations: 5.828 kB / 0.7188 GB, free: 22.8 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 3.39e-05/0.4457, allocations: 1.031 kB / 0.7188 GB, free: 22.8 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 1.965e-05/0.4457, allocations: 4.453 kB / 0.7188 GB, free: 22.8 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.54e-05/0.4457, allocations: 0.9688 kB / 0.7188 GB, free: 22.8 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 4.268e-06/0.4457, allocations: 0 / 0.7188 GB, free: 22.8 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.457e-05/0.4458, allocations: 4 kB / 0.7188 GB, free: 22.79 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 1.884e-05/0.4458, allocations: 5.047 kB / 0.7188 GB, free: 22.79 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 6.483e-05/0.4458, allocations: 7.109 kB / 0.7188 GB, free: 22.79 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.4458, allocations: 0 / 0.7188 GB, free: 22.79 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.994e-06/0.4459, allocations: 1.062 kB / 0.7188 GB, free: 22.79 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.4459, allocations: 0 / 0.7188 GB, free: 22.79 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.0002242/0.4461, allocations: 235.7 kB / 0.719 GB, free: 22.53 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.4461, allocations: 11.91 kB / 0.719 GB, free: 22.53 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.387e-05/0.4461, allocations: 35.75 kB / 0.7191 GB, free: 22.48 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.916e-05/0.4462, allocations: 1.5 kB / 0.7191 GB, free: 22.48 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.838e-05/0.4462, allocations: 105.6 kB / 0.7192 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.4462, allocations: 384 / 0.7192 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.005e-05/0.4463, allocations: 5.938 kB / 0.7192 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.052e-05/0.4463, allocations: 32.52 kB / 0.7192 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.4463, allocations: 3.938 kB / 0.7192 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.4464, allocations: 3.984 kB / 0.7192 GB, free: 22.31 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.4464, allocations: 1.25 kB / 0.7192 GB, free: 22.31 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.678e-05/0.4464, allocations: 6.031 kB / 0.7192 GB, free: 22.31 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002388/0.4466, allocations: 349.1 kB / 0.7195 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.653e-05/0.4467, allocations: 175.2 kB / 0.7197 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.648e-05/0.4467, allocations: 85.86 kB / 0.7198 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.148e-05/0.4467, allocations: 75.28 kB / 0.7199 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.995e-05/0.4467, allocations: 112.4 kB / 0.72 GB, free: 21.47 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 7.12e-07/0.4467, allocations: 0 / 0.72 GB, free: 21.47 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 5.157e-05/0.4468, allocations: 27.62 kB / 0.72 GB, free: 21.44 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.956e-05/0.4468, allocations: 128.9 kB / 0.7201 GB, free: 21.3 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.247e-05/0.4468, allocations: 97.95 kB / 0.7202 GB, free: 21.2 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.899e-06/0.4468, allocations: 25.7 kB / 0.7202 GB, free: 21.17 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 1.134e-05/0.4469, allocations: 85.39 kB / 0.7203 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.495e-06/0.4469, allocations: 3.938 kB / 0.7203 GB, free: 21.08 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.268e-05/0.4469, allocations: 12.41 kB / 0.7203 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.458e-05/0.4469, allocations: 316.6 kB / 0.7206 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.08e-06/0.4469, allocations: 4.125 kB / 0.7206 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.268e-06/0.4469, allocations: 4 kB / 0.7206 GB, free: 20.74 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.037e-05/0.4469, allocations: 76.34 kB / 0.7207 GB, free: 20.67 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.045e-06/0.4469, allocations: 79.22 kB / 0.7208 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0) (initialization): time 2.557e-05/0.447, allocations: 30.16 kB / 0.7208 GB, free: 20.56 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.447, allocations: 80.31 kB / 0.7209 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/0.447, allocations: 81.03 kB / 0.721 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.304e-05/0.447, allocations: 152.6 kB / 0.7211 GB, free: 20.26 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.377e-06/0.447, allocations: 81.03 kB / 0.7212 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.452e-05/0.447, allocations: 156.3 kB / 0.7213 GB, free: 20.03 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.215e-05/0.4471, allocations: 77.08 kB / 0.7214 GB, free: 19.95 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.655e-06/0.4471, allocations: 84.31 kB / 0.7215 GB, free: 19.87 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.681e-05/0.4471, allocations: 268.7 kB / 0.7218 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.04e-05/0.4472, allocations: 103.5 kB / 0.7219 GB, free: 19.5 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.168e-05/0.4472, allocations: 113.8 kB / 0.722 GB, free: 19.39 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.397e-05/0.4472, allocations: 183.3 kB / 0.7221 GB, free: 19.2 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.206e-05/0.4472, allocations: 178.2 kB / 0.7223 GB, free: 19.02 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.03e-05/0.4472, allocations: 182.2 kB / 0.7225 GB, free: 18.84 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.521e-05/0.4473, allocations: 378.6 kB / 0.7228 GB, free: 18.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.284e-05/0.4473, allocations: 103.8 kB / 0.7229 GB, free: 18.32 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.926e-06/0.4473, allocations: 104.9 kB / 0.723 GB, free: 18.21 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.848e-05/0.4474, allocations: 190.2 kB / 0.7232 GB, free: 18.02 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.767e-05/0.4474, allocations: 183.2 kB / 0.7234 GB, free: 17.84 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.453e-05/0.4474, allocations: 183 kB / 0.7236 GB, free: 17.65 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.665e-05/0.4474, allocations: 181.3 kB / 0.7237 GB, free: 17.47 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.785e-05/0.4475, allocations: 306.6 kB / 0.724 GB, free: 17.15 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.986e-05/0.4475, allocations: 115.7 kB / 0.7241 GB, free: 17.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.76e-05/0.4475, allocations: 183.8 kB / 0.7243 GB, free: 16.85 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.145e-05/0.4476, allocations: 106.9 kB / 0.7244 GB, free: 16.74 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.989e-05/0.4476, allocations: 178.4 kB / 0.7246 GB, free: 16.56 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.478e-06/0.4476, allocations: 102.3 kB / 0.7247 GB, free: 16.46 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.16e-05/0.4476, allocations: 83.47 kB / 0.7248 GB, free: 16.38 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.4476, allocations: 0 / 0.7248 GB, free: 16.38 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001492/0.4478, allocations: 0 / 0.7248 GB, free: 16.38 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.0001678/0.4479, allocations: 0.8104 MB / 0.7256 GB, free: 15.56 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 3.187e-05/0.448, allocations: 1.531 kB / 0.7256 GB, free: 15.56 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.448, allocations: 0 / 0.7256 GB, free: 15.56 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.192e-06/0.448, allocations: 1.625 kB / 0.7256 GB, free: 15.56 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001961/0.4482, allocations: 462 kB / 0.726 GB, free: 15.11 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004805/0.4486, allocations: 1.533 MB / 0.7275 GB, free: 13.53 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.601e-05/0.4487, allocations: 55.7 kB / 0.7276 GB, free: 13.46 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 7.484e-06/0.4487, allocations: 0 / 0.7276 GB, free: 13.46 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.98e-05/0.4487, allocations: 8.5 kB / 0.7276 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of SimCode: time 4e-07/0.4487, allocations: 1.438 kB / 0.7276 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01322/0.4619, allocations: 1.533 MB / 0.7291 GB, free: 12.6 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.921/7.383, allocations: 5.141 kB / 0.7291 GB, free: 12.59 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.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_Logical_Sources_Validation_Constant.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.183972546015866] Failed to read output from testmodel.py, exit status != 0: 7.460331692011096 7.468291417 7.020630628 Calling exit ...