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.0007594/0.0007594, 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.0007993/0.0007993, allocations: 223.7 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 0.9795/0.9795, allocations: 230.6 MB / 256 MB, free: 9.816 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.8232/0.8232, allocations: 203.8 MB / 0.5042 GB, free: 10.74 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.001525/0.001525, allocations: 66.83 kB / 0.7183 GB, free: 4.344 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5475/0.5491, allocations: 102 MB / 0.8179 GB, free: 1.285 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Max): time 0.001581/0.5506, allocations: 0.6947 MB / 0.8186 GB, free: 0.8398 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007439/0.5514, allocations: 0.8455 MB / 0.8194 GB, free: 204 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.823e-05/0.5514, allocations: 0 / 0.8194 GB, free: 204 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.235e-05/0.5515, allocations: 4.734 kB / 0.8194 GB, free: 200 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.042e-05/0.5515, allocations: 6.578 kB / 0.8194 GB, free: 196 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001276/0.5517, allocations: 13.84 kB / 0.8194 GB, free: 188 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001023/0.5518, allocations: 48.33 kB / 0.8195 GB, free: 164 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.5519, allocations: 9.219 kB / 0.8195 GB, free: 160 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.61e-05/0.552, allocations: 15.89 kB / 0.8195 GB, free: 152 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.757e-05/0.552, allocations: 26.98 kB / 0.8195 GB, free: 136 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.906e-05/0.552, allocations: 4.625 kB / 0.8195 GB, free: 136 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.678e-06/0.552, allocations: 3.688 kB / 0.8195 GB, free: 136 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.923e-05/0.5521, allocations: 9.906 kB / 0.8195 GB, free: 128 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.021e-05/0.5521, allocations: 16.8 kB / 0.8196 GB, free: 116 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.951e-05/0.5522, allocations: 43.84 kB / 0.8196 GB, free: 100 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.5522, allocations: 0 / 0.8196 GB, free: 100 kB / 0.6042 GB Notification: Performance of FrontEnd: time 1.994e-06/0.5522, allocations: 4.719 kB / 0.8196 GB, free: 96 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.072e-06/0.5522, allocations: 0 / 0.8196 GB, free: 96 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004055/0.5526, allocations: 286.6 kB / 0.8199 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.5527, allocations: 11.72 kB / 0.8199 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.09e-05/0.5527, allocations: 35.31 kB / 0.8199 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.5e-05/0.5527, allocations: 8.203 kB / 0.8199 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.718e-05/0.5528, allocations: 111.8 kB / 0.82 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.5528, allocations: 384 / 0.82 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.093e-05/0.5528, allocations: 4.375 kB / 0.82 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000178/0.553, allocations: 72.78 kB / 0.8201 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.553, allocations: 7.844 kB / 0.8201 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.095e-06/0.553, allocations: 0 / 0.8201 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.553, allocations: 0 / 0.8201 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001466/0.5532, allocations: 62.02 kB / 0.8202 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003128/0.5535, allocations: 257.4 kB / 0.8204 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001185/0.5536, allocations: 53.05 kB / 0.8205 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.912e-05/0.5537, allocations: 37.36 kB / 0.8205 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.442e-05/0.5537, allocations: 8.609 kB / 0.8205 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.518e-05/0.5537, allocations: 33.5 kB / 0.8206 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.5537, allocations: 0 / 0.8206 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.000347/0.5541, allocations: 126.5 kB / 0.8207 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.022e-05/0.5541, allocations: 58.31 kB / 0.8207 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.922e-05/0.5542, allocations: 105.9 kB / 0.8208 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.668e-06/0.5542, allocations: 27.64 kB / 0.8209 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.707e-05/0.5542, allocations: 92.09 kB / 0.8209 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.757e-05/0.5542, allocations: 8.562 kB / 0.821 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.632e-05/0.5543, allocations: 16.72 kB / 0.821 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.07e-05/0.5544, allocations: 315.6 kB / 0.8213 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.344e-05/0.5544, allocations: 34.42 kB / 0.8213 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.592e-05/0.5545, allocations: 33.64 kB / 0.8213 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001391/0.5546, allocations: 68.97 kB / 0.8214 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.5546, allocations: 2.062 kB / 0.8214 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000173/0.5548, allocations: 102.2 kB / 0.8215 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.5548, allocations: 6.25 kB / 0.8215 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.5548, allocations: 1.422 kB / 0.8215 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.5548, allocations: 3.938 kB / 0.8215 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.035e-05/0.5549, allocations: 17.22 kB / 0.8215 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.5549, allocations: 0 / 0.8215 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.155e-05/0.555, allocations: 18.81 kB / 0.8215 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.555, allocations: 2.172 kB / 0.8215 GB, free: 14.46 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 6.038e-05/0.555, allocations: 112.5 kB / 0.8217 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.404e-05/0.5551, allocations: 8.016 kB / 0.8217 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002189/0.5553, allocations: 107 kB / 0.8218 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.5553, allocations: 4 kB / 0.8218 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.5553, allocations: 1.844 kB / 0.8218 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.5553, allocations: 4.641 kB / 0.8218 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001208/0.5554, allocations: 141.3 kB / 0.8219 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.5554, allocations: 0 / 0.8219 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.46e-05/0.5555, allocations: 15.61 kB / 0.8219 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.5555, allocations: 1.875 kB / 0.8219 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-06/0.5555, allocations: 0 / 0.8219 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.91e-07/0.5555, allocations: 1.125 kB / 0.8219 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.5555, allocations: 1.016 kB / 0.8219 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002207/0.5557, allocations: 201.8 kB / 0.8221 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.687e-06/0.5557, allocations: 3.703 kB / 0.8221 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.081e-05/0.5557, allocations: 0.7969 kB / 0.8221 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.146e-05/0.5558, allocations: 13.14 kB / 0.8221 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.502e-05/0.5558, allocations: 14.41 kB / 0.8222 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-06/0.5558, allocations: 9.969 kB / 0.8222 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.435e-05/0.5558, allocations: 87.44 kB / 0.8222 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5558, allocations: 0 / 0.8222 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001365/0.556, allocations: 5.75 kB / 0.8222 GB, free: 13.87 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.0004043/0.5564, allocations: 0.7263 MB / 0.823 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001984/0.5566, allocations: 73.81 kB / 0.823 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.5566, allocations: 2.062 kB / 0.823 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.85e-05/0.5567, allocations: 37.89 kB / 0.8231 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002002/0.5569, allocations: 4.688 kB / 0.8231 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003472/0.5572, allocations: 162.9 kB / 0.8232 GB, free: 13 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001915/0.5574, allocations: 0.68 MB / 0.8239 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.537e-05/0.5574, allocations: 5.906 kB / 0.8239 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.716e-05/0.5575, allocations: 13.64 kB / 0.8239 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of SimCode: time 6.21e-07/0.5575, allocations: 5.25 kB / 0.8239 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01541/0.5729, allocations: 1.73 MB / 0.8256 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.674/7.247, allocations: 4.328 kB / 0.8256 GB, free: 11.86 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: 10.385786702856421] Failed to read output from testmodel.py, exit status != 0: 7.326831910992041 7.342880649 6.78760742 Calling exit ...