Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.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.0007856/0.0007856, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.001374/0.001374, allocations: 209.2 kB / 22.24 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.96/0.96, allocations: 230.6 MB / 256 MB, free: 9.59 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.7941/0.7941, allocations: 203.8 MB / 0.5042 GB, free: 10.45 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.Average,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Average",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Average,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Average",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.0009563/0.0009563, allocations: 74.8 kB / 0.7182 GB, free: 4.016 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5247/0.5256, allocations: 102 MB / 0.8178 GB, free: 1.062 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Average): time 0.00144/0.5271, allocations: 0.6899 MB / 0.8185 GB, free: 0.625 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006003/0.5277, allocations: 0.83 MB / 0.8193 GB, free: 0 / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.314e-05/0.5277, allocations: 0 / 0.8193 GB, free: 0 / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 4.678e-05/0.5278, allocations: 4.047 kB / 0.8193 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.261e-05/0.5278, allocations: 7 kB / 0.8193 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 7.113e-05/0.5279, allocations: 13.56 kB / 0.8193 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.65e-05/0.528, allocations: 47.81 kB / 0.8194 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.5281, allocations: 13.31 kB / 0.8194 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.953e-05/0.5282, allocations: 16.67 kB / 0.8194 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.681e-05/0.5282, allocations: 23.16 kB / 0.8194 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.585e-05/0.5282, allocations: 2.75 kB / 0.8194 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.334e-05/0.5282, allocations: 4.188 kB / 0.8194 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.159e-05/0.5283, allocations: 6.391 kB / 0.8195 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.762e-05/0.5283, allocations: 13.53 kB / 0.8195 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000115/0.5284, allocations: 51.34 kB / 0.8195 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.5284, allocations: 0 / 0.8195 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.164e-06/0.5284, allocations: 0 / 0.8195 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.772e-06/0.5284, allocations: 0 / 0.8195 GB, free: 15.9 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.0005153/0.5289, allocations: 289 kB / 0.8198 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.576e-05/0.529, allocations: 12 kB / 0.8198 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.191e-05/0.529, allocations: 30.75 kB / 0.8198 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.341e-05/0.5291, allocations: 8 kB / 0.8198 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001217/0.5292, allocations: 118.8 kB / 0.82 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.184e-05/0.5292, allocations: 2.219 kB / 0.82 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.452e-05/0.5292, allocations: 7 kB / 0.82 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007086/0.5299, allocations: 68.45 kB / 0.82 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.5299, allocations: 3.938 kB / 0.82 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.5299, allocations: 4 kB / 0.82 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.675e-06/0.53, allocations: 0 / 0.82 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002024/0.5302, allocations: 62.77 kB / 0.8201 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004894/0.5306, allocations: 231.9 kB / 0.8203 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001728/0.5308, allocations: 59.36 kB / 0.8204 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000101/0.5309, allocations: 42.38 kB / 0.8204 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.439e-05/0.5309, allocations: 0 / 0.8204 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/0.531, allocations: 31.17 kB / 0.8204 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.382e-06/0.531, allocations: 0 / 0.8204 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0003982/0.5314, allocations: 132.1 kB / 0.8206 GB, free: 15 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.981e-05/0.5314, allocations: 54.72 kB / 0.8206 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.817e-05/0.5315, allocations: 112.2 kB / 0.8207 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.414e-05/0.5315, allocations: 25.7 kB / 0.8208 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.478e-05/0.5315, allocations: 85.58 kB / 0.8208 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.343e-05/0.5316, allocations: 20.19 kB / 0.8209 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.743e-05/0.5316, allocations: 11.84 kB / 0.8209 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.365e-05/0.5317, allocations: 319.2 kB / 0.8212 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.257e-05/0.5317, allocations: 29.95 kB / 0.8212 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.044e-05/0.5318, allocations: 39.06 kB / 0.8212 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001455/0.532, allocations: 69.66 kB / 0.8213 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.532, allocations: 0.5625 kB / 0.8213 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000186/0.5322, allocations: 104.3 kB / 0.8214 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.5322, allocations: 3.906 kB / 0.8214 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.5322, allocations: 4.734 kB / 0.8214 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.5322, allocations: 0 / 0.8214 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.11e-05/0.5323, allocations: 15.64 kB / 0.8214 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.5323, allocations: 0.5156 kB / 0.8214 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.915e-05/0.5323, allocations: 11.23 kB / 0.8214 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.193e-06/0.5323, allocations: 3.047 kB / 0.8214 GB, free: 14.28 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.428e-05/0.5324, allocations: 119.7 kB / 0.8216 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.263e-05/0.5324, allocations: 6.266 kB / 0.8216 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.997e-05/0.5324, allocations: 7.938 kB / 0.8216 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.5324, allocations: 0 / 0.8216 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.5324, allocations: 0 / 0.8216 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.5324, allocations: 0 / 0.8216 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001044/0.5325, allocations: 137.3 kB / 0.8217 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.5325, allocations: 0.6094 kB / 0.8217 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.339e-05/0.5326, allocations: 15.56 kB / 0.8217 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.5326, allocations: 5.469 kB / 0.8217 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.232e-06/0.5326, allocations: 0 / 0.8217 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.5326, allocations: 0.7969 kB / 0.8217 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.5326, allocations: 6.719 kB / 0.8217 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002052/0.5328, allocations: 201.3 kB / 0.8219 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.473e-06/0.5328, allocations: 3.953 kB / 0.8219 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.106e-05/0.5328, allocations: 0.5156 kB / 0.8219 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.325e-05/0.5328, allocations: 15.94 kB / 0.8219 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.103e-05/0.5329, allocations: 5.125 kB / 0.8219 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-06/0.5329, allocations: 0 / 0.8219 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.452e-05/0.5329, allocations: 88.92 kB / 0.822 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5329, allocations: 0 / 0.822 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001472/0.5331, allocations: 5.625 kB / 0.822 GB, free: 13.74 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.0005553/0.5336, allocations: 0.7334 MB / 0.8227 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002522/0.5339, allocations: 68.16 kB / 0.8228 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.5339, allocations: 0 / 0.8228 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.128e-05/0.534, allocations: 39.36 kB / 0.8228 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003125/0.5343, allocations: 7.953 kB / 0.8229 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005403/0.5348, allocations: 167.2 kB / 0.823 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.736e-05/0.5349, allocations: 68.75 kB / 0.8231 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.412e-05/0.5349, allocations: 2.938 kB / 0.8231 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.297e-05/0.535, allocations: 15 kB / 0.8231 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of SimCode: time 6.31e-07/0.535, allocations: 0 / 0.8231 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01477/0.5498, allocations: 2.19 MB / 0.8252 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.534/7.084, allocations: 11.55 kB / 0.8252 GB, free: 11.9 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Average_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_Average.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.08611201820895] Failed to read output from testmodel.py, exit status != 0: 7.167291168123484 7.179295463 6.648890516 Calling exit ...