Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Log.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.001136/0.001136, 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.001425/0.001425, 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.8956/0.8956, 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.7208/0.7208, 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.Reals.Validation.Log,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Log",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Log,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Log",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.0009018/0.0009018, allocations: 74.61 kB / 0.6187 GB, free: 13.24 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.4681/0.469, allocations: 102 MB / 0.7183 GB, free: 23.15 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Log): time 0.001363/0.4704, allocations: 0.6526 MB / 0.7189 GB, free: 22.75 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0006303/0.471, allocations: 0.839 MB / 0.7197 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.231e-05/0.4711, allocations: 1.375 kB / 0.7197 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.654e-05/0.4711, allocations: 0.7031 kB / 0.7197 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 5.637e-05/0.4711, allocations: 15.92 kB / 0.7197 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001905/0.4713, allocations: 14.36 kB / 0.7198 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 6.568e-05/0.4714, allocations: 19.17 kB / 0.7198 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 9.174e-05/0.4715, allocations: 12.2 kB / 0.7198 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 6.519e-05/0.4716, allocations: 10.97 kB / 0.7198 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 3.575e-05/0.4716, allocations: 9.219 kB / 0.7198 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.117e-05/0.4716, allocations: 1.5 kB / 0.7198 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 4.456e-05/0.4716, allocations: 9.5 kB / 0.7198 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.412e-05/0.4717, allocations: 4.734 kB / 0.7198 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 1.976e-05/0.4717, allocations: 11.62 kB / 0.7198 GB, free: 22.06 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.000126/0.4718, allocations: 35.3 kB / 0.7199 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.4718, allocations: 0 / 0.7199 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.367e-06/0.4718, allocations: 1.219 kB / 0.7199 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.112e-06/0.4718, allocations: 0 / 0.7199 GB, free: 22.05 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003119/0.4721, allocations: 262.1 kB / 0.7201 GB, free: 21.78 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.4722, allocations: 10.53 kB / 0.7201 GB, free: 21.78 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.425e-05/0.4722, allocations: 34.69 kB / 0.7202 GB, free: 21.74 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.172e-05/0.4723, allocations: 8.516 kB / 0.7202 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.82e-05/0.4723, allocations: 105.7 kB / 0.7203 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.4723, allocations: 1.812 kB / 0.7203 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.202e-05/0.4724, allocations: 9.203 kB / 0.7203 GB, free: 21.6 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000132/0.4725, allocations: 49.67 kB / 0.7203 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.4725, allocations: 3.938 kB / 0.7203 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-06/0.4725, allocations: 0.6562 kB / 0.7203 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.4725, allocations: 1.219 kB / 0.7203 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.307e-05/0.4726, allocations: 31.94 kB / 0.7204 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002445/0.4728, allocations: 214.8 kB / 0.7206 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.379e-05/0.4729, allocations: 44.77 kB / 0.7206 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.159e-05/0.473, allocations: 23.56 kB / 0.7206 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.28e-05/0.473, allocations: 1.156 kB / 0.7206 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.565e-05/0.473, allocations: 32.23 kB / 0.7207 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.473, allocations: 0 / 0.7207 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002262/0.4732, allocations: 84.58 kB / 0.7207 GB, free: 21.19 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.032e-05/0.4733, allocations: 55.53 kB / 0.7208 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.243e-05/0.4733, allocations: 97.84 kB / 0.7209 GB, free: 21.03 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.59e-06/0.4733, allocations: 29.64 kB / 0.7209 GB, free: 20.99 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.102e-05/0.4733, allocations: 94.38 kB / 0.721 GB, free: 20.9 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.259e-05/0.4734, allocations: 1.156 kB / 0.721 GB, free: 20.9 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.078e-05/0.4734, allocations: 13.41 kB / 0.721 GB, free: 20.88 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.605e-05/0.4734, allocations: 317.8 kB / 0.7213 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.169e-05/0.4734, allocations: 12.83 kB / 0.7213 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.135e-05/0.4735, allocations: 26.86 kB / 0.7214 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.432e-05/0.4736, allocations: 37.58 kB / 0.7214 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.4736, allocations: 7.938 kB / 0.7214 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001025/0.4737, allocations: 72.11 kB / 0.7215 GB, free: 20.49 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.4737, allocations: 5.031 kB / 0.7215 GB, free: 20.49 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.4737, allocations: 0 / 0.7215 GB, free: 20.49 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.4737, allocations: 2.141 kB / 0.7215 GB, free: 20.49 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.074e-05/0.4738, allocations: 11.58 kB / 0.7215 GB, free: 20.49 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.4738, allocations: 1.062 kB / 0.7215 GB, free: 20.49 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.295e-05/0.4738, allocations: 5.703 kB / 0.7215 GB, free: 20.49 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.15e-06/0.4738, allocations: 1.578 kB / 0.7215 GB, free: 20.49 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 (2): * Single equations (assignments): 2 * 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 3.546e-05/0.4738, allocations: 118 kB / 0.7216 GB, free: 20.37 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.051e-05/0.4738, allocations: 1.156 kB / 0.7216 GB, free: 20.37 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001331/0.474, allocations: 75.27 kB / 0.7217 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.474, allocations: 5.062 kB / 0.7217 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.474, allocations: 0 / 0.7217 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.474, allocations: 1.672 kB / 0.7217 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.69e-05/0.4741, allocations: 132.8 kB / 0.7218 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-07/0.4741, allocations: 0 / 0.7218 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.677e-05/0.4741, allocations: 8.531 kB / 0.7218 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.4741, allocations: 1.25 kB / 0.7218 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-06/0.4741, allocations: 0 / 0.7218 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.4741, allocations: 0.5625 kB / 0.7218 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.4741, allocations: 4.984 kB / 0.7218 GB, free: 20.15 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001042/0.4742, allocations: 167.8 kB / 0.722 GB, free: 20.01 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.991e-06/0.4742, allocations: 5.891 kB / 0.722 GB, free: 20 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.018e-05/0.4742, allocations: 1.75 kB / 0.722 GB, free: 20 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.658e-05/0.4743, allocations: 5.453 kB / 0.722 GB, free: 20 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.601e-05/0.4743, allocations: 6.484 kB / 0.722 GB, free: 20 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-06/0.4743, allocations: 1.25 kB / 0.722 GB, free: 20 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.704e-05/0.4743, allocations: 88.41 kB / 0.7221 GB, free: 19.92 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.1e-08/0.4743, allocations: 0 / 0.7221 GB, free: 19.92 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001344/0.4744, allocations: 8.281 kB / 0.7221 GB, free: 19.91 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 (2): * Single equations (assignments): 2 * 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.0002079/0.4747, allocations: 0.6876 MB / 0.7228 GB, free: 19.25 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001196/0.4748, allocations: 39.17 kB / 0.7228 GB, free: 19.24 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.4748, allocations: 3.938 kB / 0.7228 GB, free: 19.23 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.137e-05/0.4748, allocations: 27.86 kB / 0.7228 GB, free: 19.22 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002028/0.475, allocations: 3.891 kB / 0.7228 GB, free: 19.22 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002832/0.4753, allocations: 135.8 kB / 0.723 GB, free: 19.07 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.16e-05/0.4753, allocations: 59.27 kB / 0.723 GB, free: 19 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 1.752e-05/0.4753, allocations: 2.297 kB / 0.723 GB, free: 19 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.971e-05/0.4754, allocations: 14.61 kB / 0.723 GB, free: 18.99 MB / 0.6355 GB Notification: Performance of SimCode: time 6.42e-07/0.4754, allocations: 0 / 0.723 GB, free: 18.99 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0169/0.4923, allocations: 1.931 MB / 0.7249 GB, free: 18.11 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.666/7.159, allocations: 1.203 kB / 0.7249 GB, free: 18.11 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Log.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Log.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Log.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Log.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Log_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_Log.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Log.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.002740788040683] Failed to read output from testmodel.py, exit status != 0: 7.236403852002695 7.247974598 6.773844597 Calling exit ...