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.0008916/0.0008916, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.001064/0.001064, allocations: 213.8 kB / 22.26 MB, free: 3.703 MB / 13.93 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 1.005/1.005, allocations: 230.6 MB / 256 MB, free: 9.82 MB / 202.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:190: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:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8122/0.8122, allocations: 203.8 MB / 0.5042 GB, free: 10.75 MB / 410.7 MB " [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.0009195/0.0009195, allocations: 62.34 kB / 0.7183 GB, free: 4.309 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4829/0.4838, allocations: 102 MB / 0.8179 GB, free: 1.27 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Log): time 0.001397/0.4852, allocations: 0.6667 MB / 0.8185 GB, free: 0.8398 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005626/0.4857, allocations: 0.8509 MB / 0.8194 GB, free: 204 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.197e-05/0.4858, allocations: 3.938 kB / 0.8194 GB, free: 200 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.2e-05/0.4858, allocations: 0 / 0.8194 GB, free: 200 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.907e-05/0.4858, allocations: 9.531 kB / 0.8194 GB, free: 192 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001718/0.486, allocations: 11.31 kB / 0.8194 GB, free: 188 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.86e-05/0.4861, allocations: 24.61 kB / 0.8194 GB, free: 176 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.649e-05/0.4862, allocations: 1.547 kB / 0.8194 GB, free: 176 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.734e-05/0.4862, allocations: 8.609 kB / 0.8194 GB, free: 172 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.726e-05/0.4863, allocations: 14.5 kB / 0.8195 GB, free: 164 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.098e-05/0.4863, allocations: 3.875 kB / 0.8195 GB, free: 164 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 3.775e-05/0.4863, allocations: 11.88 kB / 0.8195 GB, free: 156 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.356e-05/0.4863, allocations: 5.359 kB / 0.8195 GB, free: 152 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.029e-05/0.4864, allocations: 12.72 kB / 0.8195 GB, free: 140 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.534e-05/0.4864, allocations: 33.94 kB / 0.8195 GB, free: 128 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/0.4865, allocations: 0.6562 kB / 0.8195 GB, free: 128 kB / 0.6042 GB Notification: Performance of FrontEnd: time 2.595e-06/0.4865, allocations: 0 / 0.8195 GB, free: 128 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.712e-06/0.4865, allocations: 0 / 0.8195 GB, free: 128 kB / 0.6042 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.0003261/0.4868, allocations: 261 kB / 0.8198 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.4868, allocations: 9.859 kB / 0.8198 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.607e-05/0.4869, allocations: 34.75 kB / 0.8198 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.82e-05/0.4869, allocations: 4.625 kB / 0.8198 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.993e-05/0.487, allocations: 110.7 kB / 0.8199 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.487, allocations: 4.375 kB / 0.8199 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.839e-06/0.487, allocations: 1.969 kB / 0.8199 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001284/0.4872, allocations: 48.17 kB / 0.82 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/0.4872, allocations: 6.25 kB / 0.82 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.236e-06/0.4872, allocations: 3.938 kB / 0.82 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.4872, allocations: 0 / 0.82 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.794e-05/0.4873, allocations: 40.84 kB / 0.82 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002906/0.4876, allocations: 213.8 kB / 0.8202 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.574e-05/0.4876, allocations: 39.59 kB / 0.8203 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.815e-05/0.4877, allocations: 18.7 kB / 0.8203 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.057e-05/0.4877, allocations: 4.797 kB / 0.8203 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.056e-05/0.4877, allocations: 31.53 kB / 0.8203 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 7.91e-07/0.4877, allocations: 3.938 kB / 0.8203 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.000221/0.4879, allocations: 81.31 kB / 0.8204 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.825e-05/0.488, allocations: 51.41 kB / 0.8204 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.414e-05/0.488, allocations: 108.9 kB / 0.8205 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.164e-05/0.4881, allocations: 27.86 kB / 0.8206 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.934e-05/0.4881, allocations: 80.8 kB / 0.8207 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.991e-05/0.4881, allocations: 9.984 kB / 0.8207 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.331e-05/0.4881, allocations: 15.16 kB / 0.8207 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.051e-05/0.4882, allocations: 315.6 kB / 0.821 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.503e-05/0.4883, allocations: 18.94 kB / 0.821 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.795e-05/0.4883, allocations: 19.19 kB / 0.821 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.259e-05/0.4884, allocations: 40.45 kB / 0.8211 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.4884, allocations: 3.938 kB / 0.8211 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001191/0.4885, allocations: 72.08 kB / 0.8211 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.4885, allocations: 4.094 kB / 0.8211 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.4885, allocations: 7.234 kB / 0.8211 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.4885, allocations: 0 / 0.8211 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.52e-05/0.4886, allocations: 7.359 kB / 0.8211 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.4886, allocations: 2.219 kB / 0.8211 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.412e-05/0.4886, allocations: 5.047 kB / 0.8211 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-06/0.4886, allocations: 0 / 0.8211 GB, free: 14.57 MB / 0.6198 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 5.584e-05/0.4887, allocations: 116.8 kB / 0.8213 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.201e-05/0.4887, allocations: 2.266 kB / 0.8213 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001351/0.4888, allocations: 86 kB / 0.8213 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.4888, allocations: 1.938 kB / 0.8213 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.4888, allocations: 0 / 0.8213 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.4888, allocations: 0 / 0.8213 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.389e-05/0.4889, allocations: 135.2 kB / 0.8215 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.4889, allocations: 0.75 kB / 0.8215 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.384e-05/0.489, allocations: 9.891 kB / 0.8215 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.489, allocations: 0 / 0.8215 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.489, allocations: 5.125 kB / 0.8215 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.489, allocations: 0 / 0.8215 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.489, allocations: 0.75 kB / 0.8215 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001189/0.4891, allocations: 171 kB / 0.8217 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.993e-06/0.4891, allocations: 7.031 kB / 0.8217 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.215e-06/0.4891, allocations: 0 / 0.8217 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.537e-05/0.4891, allocations: 12.02 kB / 0.8217 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.173e-05/0.4892, allocations: 1.266 kB / 0.8217 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-06/0.4892, allocations: 0 / 0.8217 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.411e-05/0.4892, allocations: 84.75 kB / 0.8218 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.4892, allocations: 0 / 0.8218 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001359/0.4893, allocations: 2.875 kB / 0.8218 GB, free: 13.99 MB / 0.6198 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.0003079/0.4896, allocations: 0.6907 MB / 0.8224 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001219/0.4898, allocations: 44.86 kB / 0.8225 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.4898, allocations: 0 / 0.8225 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.015e-05/0.4898, allocations: 20.92 kB / 0.8225 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000197/0.49, allocations: 8.344 kB / 0.8225 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000299/0.4903, allocations: 131.9 kB / 0.8226 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001674/0.4905, allocations: 0.6757 MB / 0.8233 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.951e-05/0.4905, allocations: 1.672 kB / 0.8233 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.599e-05/0.4905, allocations: 10.33 kB / 0.8233 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of SimCode: time 4.2e-07/0.4905, allocations: 0 / 0.8233 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01358/0.5041, allocations: 1.398 MB / 0.8247 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.521/7.025, allocations: 5.375 kB / 0.8247 GB, free: 12.02 MB / 0.6198 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.161927453009412] Failed to read output from testmodel.py, exit status != 0: 7.105494530173019 7.120581302 6.631148402 Calling exit ...