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.001245/0.001245, 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.001629/0.001629, allocations: 217.7 kB / 22.26 MB, free: 3.707 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.9837/0.9837, allocations: 230.6 MB / 256 MB, free: 9.781 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.7801/0.7801, allocations: 203.8 MB / 0.5042 GB, free: 10.77 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.0009451/0.0009451, allocations: 73.58 kB / 0.7183 GB, free: 4.289 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4752/0.4762, allocations: 102 MB / 0.8179 GB, free: 1.266 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Average): time 0.001337/0.4775, allocations: 0.7044 MB / 0.8186 GB, free: 0.8164 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000607/0.4781, allocations: 0.8327 MB / 0.8194 GB, free: 188 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.503e-05/0.4781, allocations: 1 kB / 0.8194 GB, free: 188 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.73e-05/0.4782, allocations: 0.9375 kB / 0.8194 GB, free: 188 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.301e-05/0.4782, allocations: 13.09 kB / 0.8194 GB, free: 176 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 5.47e-05/0.4783, allocations: 10.77 kB / 0.8194 GB, free: 172 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.292e-05/0.4784, allocations: 45.03 kB / 0.8195 GB, free: 152 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.4785, allocations: 3.172 kB / 0.8195 GB, free: 152 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.512e-05/0.4785, allocations: 22.08 kB / 0.8195 GB, free: 140 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.62e-05/0.4786, allocations: 27.3 kB / 0.8195 GB, free: 124 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.561e-05/0.4786, allocations: 3 kB / 0.8195 GB, free: 124 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.823e-06/0.4786, allocations: 4.688 kB / 0.8195 GB, free: 124 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.519e-05/0.4786, allocations: 5.641 kB / 0.8195 GB, free: 120 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.625e-05/0.4786, allocations: 22.58 kB / 0.8196 GB, free: 104 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.138e-05/0.4787, allocations: 41.89 kB / 0.8196 GB, free: 88 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.4787, allocations: 1.031 kB / 0.8196 GB, free: 88 kB / 0.6042 GB Notification: Performance of FrontEnd: time 2.525e-06/0.4787, allocations: 4.5 kB / 0.8196 GB, free: 84 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.072e-06/0.4787, allocations: 0 / 0.8196 GB, free: 84 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.0003849/0.4791, allocations: 296.8 kB / 0.8199 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.4791, allocations: 7.75 kB / 0.8199 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.876e-05/0.4792, allocations: 34.69 kB / 0.8199 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.977e-05/0.4792, allocations: 4.891 kB / 0.8199 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.757e-05/0.4793, allocations: 107.5 kB / 0.82 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/0.4793, allocations: 3.875 kB / 0.82 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.001e-05/0.4793, allocations: 4.375 kB / 0.82 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001669/0.4795, allocations: 73.44 kB / 0.8201 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.617e-06/0.4795, allocations: 7.922 kB / 0.8201 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.926e-06/0.4795, allocations: 7.938 kB / 0.8201 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.4795, allocations: 0 / 0.8201 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001399/0.4796, allocations: 66.78 kB / 0.8202 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002921/0.4799, allocations: 246.6 kB / 0.8204 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001164/0.48, allocations: 53.95 kB / 0.8205 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.767e-05/0.4801, allocations: 37 kB / 0.8205 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.729e-06/0.4801, allocations: 0 / 0.8205 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.96e-05/0.4801, allocations: 39.34 kB / 0.8206 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 6.61e-07/0.4801, allocations: 3.688 kB / 0.8206 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0002892/0.4804, allocations: 120.5 kB / 0.8207 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3e-05/0.4805, allocations: 53.91 kB / 0.8207 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.567e-05/0.4805, allocations: 110.9 kB / 0.8208 GB, free: 15 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.286e-06/0.4805, allocations: 29.7 kB / 0.8209 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.705e-05/0.4806, allocations: 87.53 kB / 0.8209 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.039e-05/0.4806, allocations: 14.84 kB / 0.821 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.371e-05/0.4806, allocations: 13.22 kB / 0.821 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.597e-05/0.4807, allocations: 316 kB / 0.8213 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.902e-05/0.4808, allocations: 31.84 kB / 0.8213 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.46e-05/0.4808, allocations: 35.25 kB / 0.8213 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001396/0.481, allocations: 74.11 kB / 0.8214 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.481, allocations: 0 / 0.8214 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001695/0.4812, allocations: 99.16 kB / 0.8215 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.4812, allocations: 4.328 kB / 0.8215 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.4812, allocations: 0 / 0.8215 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.4812, allocations: 1.406 kB / 0.8215 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.691e-05/0.4813, allocations: 14.78 kB / 0.8215 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.4813, allocations: 3.312 kB / 0.8215 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.662e-05/0.4813, allocations: 8.969 kB / 0.8215 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-06/0.4813, allocations: 1.344 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 5.476e-05/0.4814, allocations: 120.5 kB / 0.8216 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.408e-05/0.4814, allocations: 10.81 kB / 0.8217 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.986e-05/0.4814, allocations: 10.41 kB / 0.8217 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.4814, allocations: 0 / 0.8217 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.4814, allocations: 0 / 0.8217 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.4814, allocations: 1.625 kB / 0.8217 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001122/0.4815, allocations: 141.9 kB / 0.8218 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.4815, allocations: 4.734 kB / 0.8218 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.254e-05/0.4816, allocations: 14.8 kB / 0.8218 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.4816, allocations: 5.156 kB / 0.8218 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.771e-06/0.4816, allocations: 0 / 0.8218 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.4816, allocations: 1.953 kB / 0.8218 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.4816, allocations: 0 / 0.8218 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001874/0.4818, allocations: 201 kB / 0.822 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.788e-06/0.4818, allocations: 13.92 kB / 0.822 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.839e-06/0.4818, allocations: 0.7031 kB / 0.822 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.888e-05/0.4818, allocations: 12.11 kB / 0.822 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.948e-05/0.4819, allocations: 8.188 kB / 0.8221 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.366e-06/0.4819, allocations: 4.547 kB / 0.8221 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.046e-05/0.4819, allocations: 87.25 kB / 0.8221 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.1e-08/0.4819, allocations: 1.375 kB / 0.8221 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001447/0.482, allocations: 7.75 kB / 0.8222 GB, free: 13.9 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.0003866/0.4824, allocations: 0.723 MB / 0.8229 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001963/0.4826, allocations: 75.05 kB / 0.8229 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.4826, allocations: 0 / 0.8229 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.867e-05/0.4827, allocations: 33.69 kB / 0.823 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002347/0.4829, allocations: 7.406 kB / 0.823 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003587/0.4833, allocations: 166.4 kB / 0.8231 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001793/0.4835, allocations: 0.6801 MB / 0.8238 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.838e-05/0.4835, allocations: 0.7031 kB / 0.8238 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.999e-05/0.4835, allocations: 14.88 kB / 0.8238 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of SimCode: time 4.71e-07/0.4835, allocations: 0 / 0.8238 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01776/0.5013, allocations: 1.744 MB / 0.8255 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.668/7.169, allocations: 6.688 kB / 0.8255 GB, free: 11.88 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Average_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.079906204948202] Failed to read output from testmodel.py, exit status != 0: 7.2466502820607275 7.261437087 6.780216686 Calling exit ...