Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Min.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.0008339/0.0008339, 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.001207/0.001207, 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.8647/0.8647, allocations: 177.2 MB / 202.8 MB, free: 5.777 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.6892/0.6892, allocations: 154.9 MB / 414.2 MB, free: 40 kB / 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.Reals.Validation.Min,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Min,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Min",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.0008861/0.0008861, allocations: 75.88 kB / 0.6187 GB, free: 13.2 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.4572/0.4581, allocations: 102 MB / 0.7183 GB, free: 23.19 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Min): time 0.001436/0.4595, allocations: 0.6804 MB / 0.7189 GB, free: 22.77 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0007574/0.4603, allocations: 0.8382 MB / 0.7197 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.709e-05/0.4603, allocations: 0 / 0.7197 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.648e-05/0.4604, allocations: 1.469 kB / 0.7197 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.661e-05/0.4604, allocations: 10.12 kB / 0.7198 GB, free: 22.13 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001162/0.4605, allocations: 13.83 kB / 0.7198 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 7.725e-05/0.4606, allocations: 38.38 kB / 0.7198 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.4607, allocations: 17.28 kB / 0.7198 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 8e-05/0.4608, allocations: 28.31 kB / 0.7198 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 4.358e-05/0.4608, allocations: 18.64 kB / 0.7199 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.955e-05/0.4609, allocations: 7.156 kB / 0.7199 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 1.114e-05/0.4609, allocations: 4.5 kB / 0.7199 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.989e-05/0.4609, allocations: 10 kB / 0.7199 GB, free: 22.06 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.647e-05/0.4609, allocations: 18.39 kB / 0.7199 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001012/0.461, allocations: 42.97 kB / 0.7199 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.461, allocations: 0 / 0.7199 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.175e-06/0.461, allocations: 0 / 0.7199 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.461, allocations: 0 / 0.7199 GB, free: 22.04 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.0003754/0.4614, allocations: 292.4 kB / 0.7202 GB, free: 21.76 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.4614, allocations: 14 kB / 0.7202 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.477e-05/0.4615, allocations: 32.33 kB / 0.7203 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.562e-05/0.4615, allocations: 11.77 kB / 0.7203 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.07e-05/0.4616, allocations: 111.6 kB / 0.7204 GB, free: 21.58 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/0.4616, allocations: 384 / 0.7204 GB, free: 21.58 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.133e-05/0.4616, allocations: 3.25 kB / 0.7204 GB, free: 21.58 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001702/0.4617, allocations: 68.98 kB / 0.7205 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.375e-06/0.4618, allocations: 7.922 kB / 0.7205 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.175e-06/0.4618, allocations: 0.5625 kB / 0.7205 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-06/0.4618, allocations: 5.188 kB / 0.7205 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001542/0.4619, allocations: 66.98 kB / 0.7205 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002708/0.4622, allocations: 232.5 kB / 0.7208 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001191/0.4623, allocations: 53.73 kB / 0.7208 GB, free: 21.24 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.931e-05/0.4624, allocations: 41.08 kB / 0.7208 GB, free: 21.22 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.05e-05/0.4624, allocations: 1.125 kB / 0.7208 GB, free: 21.22 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.591e-05/0.4624, allocations: 40.69 kB / 0.7209 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.4624, allocations: 0 / 0.7209 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0003232/0.4628, allocations: 128.3 kB / 0.721 GB, free: 21.13 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.288e-05/0.4628, allocations: 56.47 kB / 0.7211 GB, free: 21.06 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.315e-05/0.4628, allocations: 115.7 kB / 0.7212 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.311e-06/0.4628, allocations: 26.98 kB / 0.7212 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.405e-05/0.4629, allocations: 86.52 kB / 0.7213 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.648e-05/0.4629, allocations: 18.8 kB / 0.7213 GB, free: 20.82 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.306e-05/0.4629, allocations: 12.91 kB / 0.7213 GB, free: 20.8 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.157e-05/0.4629, allocations: 318.2 kB / 0.7216 GB, free: 20.49 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.628e-05/0.463, allocations: 30.89 kB / 0.7216 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.043e-05/0.4631, allocations: 36.36 kB / 0.7217 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001625/0.4633, allocations: 74.66 kB / 0.7217 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.4633, allocations: 0 / 0.7217 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001748/0.4634, allocations: 97.89 kB / 0.7218 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.4634, allocations: 5.25 kB / 0.7218 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.4635, allocations: 2.062 kB / 0.7218 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.4635, allocations: 0 / 0.7218 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.042e-05/0.4636, allocations: 16.45 kB / 0.7219 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.4636, allocations: 0 / 0.7219 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.865e-05/0.4636, allocations: 11.95 kB / 0.7219 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/0.4636, allocations: 0 / 0.7219 GB, free: 20.41 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.793e-05/0.4637, allocations: 118.8 kB / 0.722 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.344e-05/0.4637, allocations: 10.94 kB / 0.722 GB, free: 20.28 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002101/0.4639, allocations: 107.9 kB / 0.7221 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.4639, allocations: 1.125 kB / 0.7221 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.4639, allocations: 0.7031 kB / 0.7221 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.4639, allocations: 0 / 0.7221 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.204e-05/0.464, allocations: 133.8 kB / 0.7222 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-06/0.464, allocations: 1.812 kB / 0.7222 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.815e-05/0.464, allocations: 19.81 kB / 0.7223 GB, free: 20.06 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.225e-06/0.464, allocations: 0 / 0.7223 GB, free: 20.06 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.358e-06/0.464, allocations: 1.25 kB / 0.7223 GB, free: 20.06 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.464, allocations: 0.7031 kB / 0.7223 GB, free: 20.06 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.464, allocations: 0 / 0.7223 GB, free: 20.06 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001984/0.4642, allocations: 206.8 kB / 0.7225 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.765e-06/0.4643, allocations: 7.141 kB / 0.7225 GB, free: 19.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.175e-05/0.4643, allocations: 5.125 kB / 0.7225 GB, free: 19.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.173e-05/0.4643, allocations: 10.97 kB / 0.7225 GB, free: 19.9 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.577e-05/0.4644, allocations: 9.422 kB / 0.7225 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-06/0.4644, allocations: 1.125 kB / 0.7225 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.625e-05/0.4644, allocations: 88.16 kB / 0.7226 GB, free: 19.82 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.1e-08/0.4644, allocations: 0 / 0.7226 GB, free: 19.82 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001373/0.4645, allocations: 6.406 kB / 0.7226 GB, free: 19.82 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.0002984/0.4648, allocations: 0.7303 MB / 0.7233 GB, free: 19.14 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001993/0.465, allocations: 66.75 kB / 0.7234 GB, free: 19.13 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.465, allocations: 0 / 0.7234 GB, free: 19.13 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.666e-05/0.4651, allocations: 42.66 kB / 0.7234 GB, free: 19.12 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002562/0.4654, allocations: 6.281 kB / 0.7234 GB, free: 19.12 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003494/0.4657, allocations: 157.1 kB / 0.7235 GB, free: 18.96 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.86e-05/0.4657, allocations: 64.14 kB / 0.7236 GB, free: 18.89 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.378e-05/0.4658, allocations: 1.938 kB / 0.7236 GB, free: 18.89 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.951e-05/0.4658, allocations: 19.45 kB / 0.7236 GB, free: 18.87 MB / 0.6355 GB Notification: Performance of SimCode: time 6.71e-07/0.4658, allocations: 0 / 0.7236 GB, free: 18.87 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01827/0.4841, allocations: 2.311 MB / 0.7259 GB, free: 17.96 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.716/7.201, allocations: 3.969 kB / 0.7259 GB, free: 17.96 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Min.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Min.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Min.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Min.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Min_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_Reals_Validation_Min.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Min.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.90982347598765] Failed to read output from testmodel.py, exit status != 0: 7.276733178063296 7.290882614 6.827211235 Calling exit ...