Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Average.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 112.1 kB / 17.07 MB, free: 6.047 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 186.9 kB / 20.01 MB, free: 3.141 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.468/1.468, allocations: 222.9 MB / 245.7 MB, free: 4.336 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.116/1.116, allocations: 147.7 MB / 445.5 MB, free: 8.262 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.Average,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Average",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.Average,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Average",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.2734/0.2734, allocations: 67.2 kB / 0.6109 GB, free: 37.82 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.4202, allocations: 83.16 MB / 0.6921 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Average): time 0.001742/0.4219, allocations: 0.6912 MB / 0.6928 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0009141/0.4229, allocations: 0.7982 MB / 0.6936 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.462e-05/0.4229, allocations: 0 / 0.6936 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.077e-05/0.4229, allocations: 3.938 kB / 0.6936 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.457e-05/0.423, allocations: 3.938 kB / 0.6936 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 5.327e-05/0.4231, allocations: 10.67 kB / 0.6936 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 8.807e-05/0.4232, allocations: 51.75 kB / 0.6937 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 9.268e-05/0.4233, allocations: 17.64 kB / 0.6937 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 6.668e-05/0.4233, allocations: 22.02 kB / 0.6937 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.299e-05/0.4234, allocations: 20.41 kB / 0.6937 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.584e-05/0.4234, allocations: 4.188 kB / 0.6937 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 9.247e-06/0.4234, allocations: 3.562 kB / 0.6937 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.708e-05/0.4234, allocations: 5 kB / 0.6937 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.567e-05/0.4235, allocations: 22.67 kB / 0.6938 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 8.403e-05/0.4236, allocations: 35.72 kB / 0.6938 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.4236, allocations: 1.031 kB / 0.6938 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.153e-06/0.4236, allocations: 0 / 0.6938 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.957e-06/0.4236, allocations: 4 kB / 0.6938 GB, free: 12.1 MB / 0.5137 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.0005618/0.4242, allocations: 363.2 kB / 0.6941 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.4242, allocations: 9.656 kB / 0.6942 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.802e-05/0.4243, allocations: 38.73 kB / 0.6942 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.24e-05/0.4243, allocations: 7.359 kB / 0.6942 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001611/0.4244, allocations: 174.9 kB / 0.6944 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.4245, allocations: 1.406 kB / 0.6944 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.33e-05/0.4245, allocations: 6.594 kB / 0.6944 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002502/0.4247, allocations: 67.28 kB / 0.6944 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.4248, allocations: 3.938 kB / 0.6944 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-06/0.4248, allocations: 0 / 0.6944 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.4248, allocations: 1.094 kB / 0.6944 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002983/0.4251, allocations: 67.11 kB / 0.6945 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003997/0.4255, allocations: 267.6 kB / 0.6948 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000208/0.4257, allocations: 60.16 kB / 0.6948 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001565/0.4259, allocations: 36.23 kB / 0.6949 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.502e-05/0.4259, allocations: 4 kB / 0.6949 GB, free: 11 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.429e-05/0.4259, allocations: 32.09 kB / 0.6949 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.4259, allocations: 0 / 0.6949 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.0005563/0.4265, allocations: 130.5 kB / 0.695 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.809e-05/0.4265, allocations: 55.41 kB / 0.6951 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.205e-05/0.4266, allocations: 107.2 kB / 0.6952 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.866e-05/0.4267, allocations: 25.7 kB / 0.6952 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.793e-05/0.4267, allocations: 98.06 kB / 0.6953 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.946e-05/0.4268, allocations: 9.25 kB / 0.6953 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.824e-05/0.4268, allocations: 16.81 kB / 0.6953 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.427, allocations: 311.6 kB / 0.6956 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001504/0.4271, allocations: 34.25 kB / 0.6956 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001417/0.4273, allocations: 34.14 kB / 0.6957 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003/0.4276, allocations: 73.94 kB / 0.6957 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.4276, allocations: 0 / 0.6957 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003374/0.4279, allocations: 110.7 kB / 0.6958 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.4279, allocations: 11.19 kB / 0.6959 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.486e-06/0.428, allocations: 0 / 0.6959 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.428, allocations: 0 / 0.6959 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001295/0.4281, allocations: 19.05 kB / 0.6959 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.4281, allocations: 0 / 0.6959 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.263e-05/0.4282, allocations: 19.19 kB / 0.6959 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.702e-06/0.4282, allocations: 0 / 0.6959 GB, free: 10.07 MB / 0.5137 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 8.251e-05/0.4283, allocations: 114.3 kB / 0.696 GB, free: 9.957 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.273e-05/0.4283, allocations: 1.156 kB / 0.696 GB, free: 9.957 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.406e-05/0.4284, allocations: 9.062 kB / 0.696 GB, free: 9.941 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.4284, allocations: 1.438 kB / 0.696 GB, free: 9.941 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.4284, allocations: 0 / 0.696 GB, free: 9.941 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.4284, allocations: 0 / 0.696 GB, free: 9.941 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001877/0.4286, allocations: 173.3 kB / 0.6962 GB, free: 9.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.4286, allocations: 5.438 kB / 0.6962 GB, free: 9.727 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.587e-05/0.4287, allocations: 14.45 kB / 0.6962 GB, free: 9.723 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.4287, allocations: 0 / 0.6962 GB, free: 9.723 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-06/0.4287, allocations: 0 / 0.6962 GB, free: 9.723 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.4287, allocations: 1.281 kB / 0.6962 GB, free: 9.723 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.4287, allocations: 0 / 0.6962 GB, free: 9.723 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003895/0.4291, allocations: 207.3 kB / 0.6964 GB, free: 9.543 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.187e-05/0.4292, allocations: 78.48 kB / 0.6965 GB, free: 9.449 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.347e-05/0.4292, allocations: 1.375 kB / 0.6965 GB, free: 9.449 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00011/0.4293, allocations: 10.86 kB / 0.6965 GB, free: 9.445 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.905e-05/0.4294, allocations: 5.359 kB / 0.6965 GB, free: 9.441 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.4294, allocations: 1.375 kB / 0.6965 GB, free: 9.441 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.927e-05/0.4294, allocations: 84.78 kB / 0.6966 GB, free: 9.363 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.61e-07/0.4294, allocations: 9.312 kB / 0.6966 GB, free: 9.355 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000217/0.4297, allocations: 5.5 kB / 0.6966 GB, free: 9.355 MB / 0.5137 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.0007396/0.4304, allocations: 0.7354 MB / 0.6973 GB, free: 8.652 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003475/0.4308, allocations: 70.42 kB / 0.6974 GB, free: 8.621 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.4308, allocations: 0 / 0.6974 GB, free: 8.621 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001563/0.4309, allocations: 36.58 kB / 0.6974 GB, free: 8.605 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003209/0.4313, allocations: 8.125 kB / 0.6974 GB, free: 8.602 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004539/0.4317, allocations: 159.8 kB / 0.6976 GB, free: 8.43 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003362/0.4321, allocations: 0.6796 MB / 0.6982 GB, free: 7.73 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.162e-05/0.4321, allocations: 5.312 kB / 0.6982 GB, free: 7.727 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.31e-05/0.4322, allocations: 12.81 kB / 0.6982 GB, free: 7.715 MB / 0.5137 GB Notification: Performance of SimCode: time 3e-07/0.4322, allocations: 1.375 kB / 0.6982 GB, free: 7.715 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02122/0.4534, allocations: 1.628 MB / 0.6998 GB, free: 6.77 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.016/8.469, allocations: 3.266 kB / 0.6998 GB, free: 6.77 MB / 0.5137 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Average.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Average.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Average.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Average.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Average_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Average.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Average.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.002430916996673] Failed to read output from testmodel.py, exit status != 0: 8.539321618853137 8.56561691 8.137429326 Calling exit ...