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.0007951/0.0007951, 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.001245/0.001245, allocations: 209.2 kB / 22.24 MB, free: 3.57 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.9703/0.9703, 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.7687/0.7687, 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.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.0009489/0.0009489, allocations: 74.8 kB / 0.7182 GB, free: 4.004 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.473/0.474, 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.001394/0.4753, allocations: 0.6919 MB / 0.8185 GB, free: 0.6211 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000654/0.476, allocations: 0.8284 MB / 0.8193 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.928e-05/0.476, allocations: 0.9688 kB / 0.8193 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.356e-05/0.4761, allocations: 8.5 kB / 0.8193 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.113e-05/0.4761, allocations: 6.375 kB / 0.8193 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 6.629e-05/0.4762, allocations: 14.77 kB / 0.8193 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.409e-05/0.4763, allocations: 43.22 kB / 0.8194 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.4764, allocations: 13.27 kB / 0.8194 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.081e-05/0.4764, allocations: 18.23 kB / 0.8194 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.85e-05/0.4765, allocations: 16.88 kB / 0.8194 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.43e-05/0.4765, allocations: 4.656 kB / 0.8194 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.855e-06/0.4765, allocations: 3.656 kB / 0.8194 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.922e-05/0.4765, allocations: 9.438 kB / 0.8194 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.54e-05/0.4766, allocations: 17.73 kB / 0.8195 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 8.754e-05/0.4766, allocations: 42.27 kB / 0.8195 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.4766, allocations: 0 / 0.8195 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.575e-06/0.4766, allocations: 0 / 0.8195 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.667e-06/0.4767, allocations: 0.7969 kB / 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.0003824/0.477, allocations: 289.6 kB / 0.8198 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.4771, allocations: 10.91 kB / 0.8198 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.25e-05/0.4771, allocations: 31.41 kB / 0.8198 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.545e-05/0.4771, allocations: 7.516 kB / 0.8198 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000101/0.4772, allocations: 123.7 kB / 0.8199 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.4772, allocations: 0.9375 kB / 0.8199 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.196e-06/0.4773, allocations: 3.281 kB / 0.82 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001705/0.4774, allocations: 67.14 kB / 0.82 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.4774, allocations: 7.266 kB / 0.82 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.306e-06/0.4774, allocations: 0 / 0.82 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.4774, allocations: 0 / 0.82 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001493/0.4776, allocations: 66.72 kB / 0.8201 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002877/0.4779, allocations: 235.2 kB / 0.8203 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001174/0.478, allocations: 55.94 kB / 0.8204 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.877e-05/0.4781, allocations: 36.34 kB / 0.8204 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.082e-05/0.4781, allocations: 0 / 0.8204 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.23e-05/0.4781, allocations: 32.77 kB / 0.8204 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 7.72e-07/0.4781, allocations: 7.938 kB / 0.8204 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0003411/0.4785, allocations: 132 kB / 0.8206 GB, free: 15 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.085e-05/0.4785, allocations: 52.56 kB / 0.8206 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.215e-05/0.4786, allocations: 111.9 kB / 0.8207 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.875e-05/0.4786, allocations: 29.7 kB / 0.8207 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.935e-05/0.4786, allocations: 92.48 kB / 0.8208 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.054e-05/0.4786, allocations: 15.27 kB / 0.8209 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.52e-05/0.4787, allocations: 11.42 kB / 0.8209 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.4788, allocations: 318.2 kB / 0.8212 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.825e-05/0.4789, allocations: 32.7 kB / 0.8212 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.694e-05/0.4789, allocations: 26.16 kB / 0.8212 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001431/0.4791, allocations: 73.97 kB / 0.8213 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.4791, allocations: 0 / 0.8213 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001707/0.4792, allocations: 104.3 kB / 0.8214 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.4793, allocations: 5.656 kB / 0.8214 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.4793, allocations: 0 / 0.8214 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.4793, allocations: 9.547 kB / 0.8214 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.71e-05/0.4794, allocations: 19.78 kB / 0.8214 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.4794, allocations: 0 / 0.8214 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.499e-05/0.4794, allocations: 9.109 kB / 0.8214 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.4794, allocations: 0 / 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.422e-05/0.4795, allocations: 119.6 kB / 0.8215 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.138e-05/0.4795, allocations: 3.953 kB / 0.8216 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.923e-05/0.4795, allocations: 6.938 kB / 0.8216 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.4795, allocations: 0 / 0.8216 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.4795, allocations: 4 kB / 0.8216 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.4795, allocations: 0.5625 kB / 0.8216 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001098/0.4796, allocations: 138.4 kB / 0.8217 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.4796, allocations: 0 / 0.8217 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.519e-05/0.4796, allocations: 15.44 kB / 0.8217 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.4797, allocations: 2 kB / 0.8217 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.871e-06/0.4797, allocations: 0 / 0.8217 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.11e-07/0.4797, allocations: 0 / 0.8217 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.4797, allocations: 0.5625 kB / 0.8217 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001974/0.4799, allocations: 204.8 kB / 0.8219 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.575e-06/0.4799, allocations: 7 kB / 0.8219 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.979e-06/0.4799, allocations: 4.547 kB / 0.8219 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.07e-05/0.4799, allocations: 11.7 kB / 0.8219 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.333e-05/0.48, allocations: 4.906 kB / 0.8219 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-06/0.48, allocations: 0 / 0.8219 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.999e-05/0.48, allocations: 87.8 kB / 0.822 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.48, allocations: 1.062 kB / 0.822 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001423/0.4801, allocations: 9.5 kB / 0.822 GB, free: 13.73 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.0003631/0.4805, allocations: 0.7314 MB / 0.8227 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001862/0.4807, allocations: 70.5 kB / 0.8228 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.4807, allocations: 0 / 0.8228 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.4e-05/0.4808, allocations: 34.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.0002539/0.481, allocations: 11.05 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.0003499/0.4814, allocations: 171.2 kB / 0.823 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.944e-05/0.4814, allocations: 62.55 kB / 0.8231 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.734e-05/0.4814, allocations: 8.953 kB / 0.8231 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.321e-05/0.4815, allocations: 17.61 kB / 0.8231 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of SimCode: time 3.6e-07/0.4815, allocations: 0 / 0.8231 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01585/0.4973, allocations: 2.184 MB / 0.8252 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.679/7.176, allocations: 5.906 kB / 0.8252 GB, free: 11.91 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.042166669853032] Failed to read output from testmodel.py, exit status != 0: 7.252647134941071 7.264083412 6.785394911 Calling exit ...