Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0008681/0.0008681, 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.0009538/0.0009538, 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.8869/0.8869, 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 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.7105/0.7105, allocations: 154.7 MB / 413.9 MB, free: 0.7578 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.Validation.Min,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Min,fileNamePrefix="IDEAS_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.0009303/0.0009303, allocations: 70.39 kB / 0.6184 GB, free: 13.55 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.4638/0.4648, allocations: 102 MB / 0.7179 GB, free: 23.31 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Min): time 0.001386/0.4661, allocations: 0.6791 MB / 0.7186 GB, free: 22.89 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0007111/0.4668, allocations: 0.8346 MB / 0.7194 GB, free: 22.26 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.53e-05/0.4669, allocations: 1.406 kB / 0.7194 GB, free: 22.26 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.248e-05/0.4669, allocations: 4.453 kB / 0.7194 GB, free: 22.26 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.383e-05/0.467, allocations: 10.05 kB / 0.7194 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001054/0.4671, allocations: 13.16 kB / 0.7195 GB, free: 22.24 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 7.601e-05/0.4672, allocations: 43.11 kB / 0.7195 GB, free: 22.22 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.4673, allocations: 17.23 kB / 0.7195 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 8.222e-05/0.4673, allocations: 37.09 kB / 0.7195 GB, free: 22.19 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 4.369e-05/0.4674, allocations: 17.97 kB / 0.7196 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.111e-05/0.4674, allocations: 3.688 kB / 0.7196 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 1.045e-05/0.4674, allocations: 4.281 kB / 0.7196 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.637e-05/0.4674, allocations: 5.547 kB / 0.7196 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.286e-05/0.4675, allocations: 17.81 kB / 0.7196 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 9.527e-05/0.4676, allocations: 43.58 kB / 0.7196 GB, free: 22.15 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.4676, allocations: 0 / 0.7196 GB, free: 22.15 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.274e-06/0.4676, allocations: 0 / 0.7196 GB, free: 22.15 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.571e-06/0.4676, allocations: 0 / 0.7196 GB, free: 22.15 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.000337/0.4679, allocations: 291.9 kB / 0.7199 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.4679, allocations: 9.562 kB / 0.7199 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.541e-05/0.468, allocations: 36.41 kB / 0.72 GB, free: 21.83 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.436e-05/0.468, allocations: 7.141 kB / 0.72 GB, free: 21.83 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.81e-05/0.4681, allocations: 111.3 kB / 0.7201 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/0.4681, allocations: 1.469 kB / 0.7201 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.062e-05/0.4681, allocations: 6.297 kB / 0.7201 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001662/0.4682, allocations: 76.36 kB / 0.7201 GB, free: 21.65 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.322e-06/0.4682, allocations: 5.094 kB / 0.7202 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.905e-06/0.4683, allocations: 0.75 kB / 0.7202 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.4683, allocations: 1.062 kB / 0.7202 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001482/0.4684, allocations: 61.72 kB / 0.7202 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002788/0.4687, allocations: 237.3 kB / 0.7204 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001166/0.4688, allocations: 57.62 kB / 0.7205 GB, free: 21.35 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.247e-05/0.4689, allocations: 37.34 kB / 0.7205 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.146e-05/0.4689, allocations: 2.562 kB / 0.7205 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.473e-05/0.4689, allocations: 35.31 kB / 0.7206 GB, free: 21.3 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.693e-06/0.4689, allocations: 0 / 0.7206 GB, free: 21.3 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0003051/0.4692, allocations: 128.2 kB / 0.7207 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.092e-05/0.4692, allocations: 52.91 kB / 0.7207 GB, free: 21.19 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.248e-05/0.4693, allocations: 107.7 kB / 0.7208 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.524e-06/0.4693, allocations: 29.64 kB / 0.7209 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.377e-05/0.4693, allocations: 95.66 kB / 0.721 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.678e-05/0.4693, allocations: 10.22 kB / 0.721 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.279e-05/0.4694, allocations: 17.48 kB / 0.721 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.143e-05/0.4694, allocations: 314.7 kB / 0.7213 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.284e-05/0.4695, allocations: 33.91 kB / 0.7213 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.115e-05/0.4695, allocations: 31.39 kB / 0.7213 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001391/0.4697, allocations: 71.17 kB / 0.7214 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.4697, allocations: 3.938 kB / 0.7214 GB, free: 20.58 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001719/0.4699, allocations: 98.58 kB / 0.7215 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.4699, allocations: 6 kB / 0.7215 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.4699, allocations: 0 / 0.7215 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.4699, allocations: 1.125 kB / 0.7215 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.351e-05/0.47, allocations: 20 kB / 0.7215 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.47, allocations: 0 / 0.7215 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.717e-05/0.47, allocations: 16.92 kB / 0.7216 GB, free: 20.53 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/0.47, allocations: 4 kB / 0.7216 GB, free: 20.53 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.154e-05/0.4701, allocations: 117.7 kB / 0.7217 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.262e-05/0.4701, allocations: 6.75 kB / 0.7217 GB, free: 20.4 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002005/0.4703, allocations: 104.6 kB / 0.7218 GB, free: 20.35 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.4703, allocations: 1.438 kB / 0.7218 GB, free: 20.35 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.4703, allocations: 0.6094 kB / 0.7218 GB, free: 20.35 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.4703, allocations: 5.188 kB / 0.7218 GB, free: 20.35 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.575e-05/0.4704, allocations: 134.2 kB / 0.7219 GB, free: 20.19 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.4704, allocations: 0 / 0.7219 GB, free: 20.19 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.927e-05/0.4704, allocations: 20 kB / 0.7219 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.4704, allocations: 3.984 kB / 0.7219 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.834e-06/0.4704, allocations: 5.188 kB / 0.7219 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-07/0.4704, allocations: 0 / 0.7219 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.4704, allocations: 1.844 kB / 0.7219 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001828/0.4706, allocations: 198.9 kB / 0.7221 GB, free: 20.03 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.323e-06/0.4706, allocations: 2 kB / 0.7221 GB, free: 20.03 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.065e-05/0.4706, allocations: 1.25 kB / 0.7221 GB, free: 20.03 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.129e-05/0.4707, allocations: 15.84 kB / 0.7222 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.596e-05/0.4707, allocations: 3.281 kB / 0.7222 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-06/0.4707, allocations: 1.094 kB / 0.7222 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.268e-05/0.4708, allocations: 97.42 kB / 0.7222 GB, free: 19.94 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.1e-08/0.4708, allocations: 0 / 0.7222 GB, free: 19.94 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001418/0.4709, allocations: 10.25 kB / 0.7223 GB, free: 19.93 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.0002901/0.4712, allocations: 0.7264 MB / 0.723 GB, free: 19.26 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001903/0.4714, allocations: 67.23 kB / 0.723 GB, free: 19.25 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.4714, allocations: 4 kB / 0.723 GB, free: 19.25 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.619e-05/0.4715, allocations: 38.11 kB / 0.7231 GB, free: 19.24 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002608/0.4717, allocations: 9.297 kB / 0.7231 GB, free: 19.23 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003329/0.4721, allocations: 153.6 kB / 0.7232 GB, free: 19.08 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.741e-05/0.4721, allocations: 68.53 kB / 0.7233 GB, free: 19 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.39e-05/0.4721, allocations: 5.859 kB / 0.7233 GB, free: 19 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.852e-05/0.4722, allocations: 19.11 kB / 0.7233 GB, free: 18.98 MB / 0.6355 GB Notification: Performance of SimCode: time 4.81e-07/0.4722, allocations: 1.438 kB / 0.7233 GB, free: 18.98 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01636/0.4885, allocations: 2.298 MB / 0.7256 GB, free: 18.08 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.56/7.049, allocations: 2.328 kB / 0.7256 GB, free: 18.08 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Min.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Min.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Min.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Min.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Controls_OBC_CDL_Reals_Validation_Min.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Min.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.826024801004678] Failed to read output from testmodel.py, exit status != 0: 7.125432275002822 7.134062496 6.664719134 Calling exit ...