Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.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.001046/0.001046, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.001072/0.001072, allocations: 208.1 kB / 22.25 MB, free: 3.59 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 0.9868/0.9868, allocations: 230.6 MB / 256 MB, free: 9.594 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.7823/0.7823, allocations: 203.8 MB / 0.5042 GB, free: 10.43 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.Max,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Max,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Max",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.001017/0.001017, allocations: 63.62 kB / 0.7182 GB, free: 3.984 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4814/0.4824, allocations: 102 MB / 0.8178 GB, free: 1.035 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Max): time 0.001425/0.4838, allocations: 0.693 MB / 0.8185 GB, free: 0.5938 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006459/0.4845, allocations: 0.8259 MB / 0.8193 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.154e-05/0.4845, allocations: 2.094 kB / 0.8193 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.845e-05/0.4845, allocations: 4.594 kB / 0.8193 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.635e-05/0.4846, allocations: 6.703 kB / 0.8193 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001007/0.4847, allocations: 12.98 kB / 0.8193 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.913e-05/0.4848, allocations: 53.39 kB / 0.8194 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.675e-05/0.4849, allocations: 6.578 kB / 0.8194 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.837e-05/0.4849, allocations: 22.36 kB / 0.8194 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.302e-05/0.485, allocations: 21.02 kB / 0.8194 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.244e-05/0.485, allocations: 3.938 kB / 0.8194 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.029e-05/0.485, allocations: 1.625 kB / 0.8194 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.64e-05/0.485, allocations: 9.391 kB / 0.8195 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.746e-05/0.4851, allocations: 14.64 kB / 0.8195 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.989e-05/0.4852, allocations: 51.56 kB / 0.8195 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.4852, allocations: 0 / 0.8195 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.773e-06/0.4852, allocations: 3.719 kB / 0.8195 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.4852, allocations: 0 / 0.8195 GB, free: 15.87 MB / 0.6198 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.0004014/0.4856, allocations: 290.3 kB / 0.8198 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.4856, allocations: 8.062 kB / 0.8198 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.996e-05/0.4856, allocations: 31.41 kB / 0.8198 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.452e-05/0.4857, allocations: 9.016 kB / 0.8198 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.074e-05/0.4858, allocations: 113.6 kB / 0.82 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/0.4858, allocations: 1.625 kB / 0.82 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.054e-05/0.4858, allocations: 1.906 kB / 0.82 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001859/0.486, allocations: 69.81 kB / 0.82 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.789e-06/0.486, allocations: 7.938 kB / 0.82 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.296e-06/0.486, allocations: 0 / 0.82 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.486, allocations: 1.844 kB / 0.82 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001617/0.4861, allocations: 62.88 kB / 0.8201 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003043/0.4864, allocations: 235.9 kB / 0.8203 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001276/0.4866, allocations: 59.25 kB / 0.8204 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.98e-05/0.4867, allocations: 36.45 kB / 0.8204 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.925e-05/0.4867, allocations: 0 / 0.8204 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.121e-05/0.4867, allocations: 32.7 kB / 0.8204 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 7.31e-07/0.4867, allocations: 0 / 0.8204 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0003415/0.487, allocations: 136.5 kB / 0.8206 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.652e-05/0.4871, allocations: 53.34 kB / 0.8206 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.38e-05/0.4871, allocations: 112.7 kB / 0.8207 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.969e-06/0.4871, allocations: 25.7 kB / 0.8208 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.526e-05/0.4872, allocations: 88.83 kB / 0.8208 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.777e-05/0.4872, allocations: 12.56 kB / 0.8208 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.313e-05/0.4872, allocations: 14.22 kB / 0.8209 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.285e-05/0.4873, allocations: 316.1 kB / 0.8212 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.767e-05/0.4874, allocations: 38.45 kB / 0.8212 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.848e-05/0.4874, allocations: 33.02 kB / 0.8212 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000145/0.4876, allocations: 69.19 kB / 0.8213 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.4876, allocations: 0 / 0.8213 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001669/0.4877, allocations: 102.5 kB / 0.8214 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.4878, allocations: 12.47 kB / 0.8214 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.4878, allocations: 0 / 0.8214 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.4878, allocations: 5.125 kB / 0.8214 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.804e-05/0.4879, allocations: 14.41 kB / 0.8214 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.4879, allocations: 2.125 kB / 0.8214 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.633e-05/0.4879, allocations: 15.06 kB / 0.8214 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.543e-06/0.4879, allocations: 5.281 kB / 0.8214 GB, free: 14.25 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 (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 5.051e-05/0.488, allocations: 117.1 kB / 0.8216 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.56e-05/0.488, allocations: 5.828 kB / 0.8216 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002045/0.4882, allocations: 113.4 kB / 0.8217 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-06/0.4882, allocations: 0 / 0.8217 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.4882, allocations: 0 / 0.8217 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.4882, allocations: 0 / 0.8217 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000104/0.4883, allocations: 139.5 kB / 0.8218 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.4883, allocations: 2 kB / 0.8218 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.117e-05/0.4883, allocations: 14.22 kB / 0.8218 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.4883, allocations: 3.312 kB / 0.8218 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.4884, allocations: 0 / 0.8218 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.4884, allocations: 0 / 0.8218 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.4884, allocations: 0.75 kB / 0.8218 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001968/0.4886, allocations: 201.7 kB / 0.822 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.553e-06/0.4886, allocations: 2.859 kB / 0.822 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.048e-05/0.4886, allocations: 0.5156 kB / 0.822 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.363e-05/0.4886, allocations: 13.11 kB / 0.822 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.936e-05/0.4887, allocations: 10.53 kB / 0.822 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.4887, allocations: 3.203 kB / 0.822 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.106e-05/0.4887, allocations: 87.14 kB / 0.8221 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.1e-08/0.4887, allocations: 0 / 0.8221 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001519/0.4889, allocations: 12.06 kB / 0.8221 GB, free: 13.66 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 (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.0003779/0.4892, allocations: 0.7255 MB / 0.8229 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001944/0.4894, allocations: 74.56 kB / 0.8229 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.4894, allocations: 0 / 0.8229 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.877e-05/0.4895, allocations: 38.72 kB / 0.823 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002153/0.4897, allocations: 5.484 kB / 0.823 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003346/0.4901, allocations: 162.5 kB / 0.8231 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.968e-05/0.4901, allocations: 69.03 kB / 0.8232 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.161e-05/0.4901, allocations: 2.562 kB / 0.8232 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.752e-05/0.4902, allocations: 18.27 kB / 0.8232 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of SimCode: time 2.7e-07/0.4902, allocations: 0 / 0.8232 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01404/0.5042, allocations: 2.179 MB / 0.8253 GB, free: 11.83 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.42/6.924, allocations: 8.609 kB / 0.8253 GB, free: 11.83 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max_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_Max.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.931033032946289] Failed to read output from testmodel.py, exit status != 0: 7.005563338287175 7.022145255 6.533913463 Calling exit ...