Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.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.001314/0.001314, allocations: 118.3 kB / 17.13 MB, free: 5.746 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.001311/0.001311, allocations: 195.7 kB / 20.08 MB, free: 2.84 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.517/1.517, allocations: 225.6 MB / 248.5 MB, free: 3.605 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 0.8627/0.8627, allocations: 129.2 MB / 432.5 MB, free: 13.41 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.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001998/0.001998, allocations: 67.91 kB / 0.5987 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.458/0.4599, allocations: 83.44 MB / 0.6802 GB, free: 6 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002282/0.4622, allocations: 1.278 MB / 0.6814 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002601/0.4648, allocations: 2.509 MB / 0.6839 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.201e-05/0.4649, allocations: 4 kB / 0.6839 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.14e-05/0.4649, allocations: 3.938 kB / 0.6839 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.917e-05/0.4649, allocations: 1.312 kB / 0.6839 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000516/0.4654, allocations: 141 kB / 0.684 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.874e-05/0.4655, allocations: 38.33 kB / 0.684 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.638e-05/0.4656, allocations: 5.297 kB / 0.684 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.606e-05/0.4656, allocations: 12.98 kB / 0.684 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.116e-05/0.4657, allocations: 22.8 kB / 0.6841 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.045e-05/0.4657, allocations: 1.719 kB / 0.6841 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002918/0.466, allocations: 122.2 kB / 0.6842 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.352e-05/0.466, allocations: 10.52 kB / 0.6842 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.125e-05/0.466, allocations: 15.83 kB / 0.6842 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002022/0.4662, allocations: 79 kB / 0.6843 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.4662, allocations: 1.25 kB / 0.6843 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.843e-06/0.4662, allocations: 0 / 0.6843 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.4662, allocations: 0 / 0.6843 GB, free: 2.695 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003875/0.4666, allocations: 362.1 kB / 0.6846 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.4667, allocations: 9.156 kB / 0.6846 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.842e-05/0.4667, allocations: 32.06 kB / 0.6847 GB, free: 2.273 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002159/0.4669, allocations: 14.48 kB / 0.6847 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.11e-05/0.467, allocations: 164.3 kB / 0.6848 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.467, allocations: 6.312 kB / 0.6849 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.117e-05/0.467, allocations: 4.344 kB / 0.6849 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001302/0.4671, allocations: 76.66 kB / 0.6849 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.4672, allocations: 1.375 kB / 0.6849 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.4672, allocations: 5.25 kB / 0.6849 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.4672, allocations: 0 / 0.6849 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.4e-05/0.4672, allocations: 14.91 kB / 0.6849 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005189/0.4677, allocations: 474.4 kB / 0.6854 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001235/0.4679, allocations: 72.66 kB / 0.6855 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.592e-05/0.4679, allocations: 23.53 kB / 0.6855 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.254e-05/0.4679, allocations: 3.938 kB / 0.6855 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.429e-05/0.4679, allocations: 41.06 kB / 0.6855 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.4679, allocations: 0 / 0.6855 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0005439/0.4685, allocations: 307.2 kB / 0.6858 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.64e-05/0.4685, allocations: 103.9 kB / 0.6859 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.855e-05/0.4685, allocations: 102 kB / 0.686 GB, free: 0.7812 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.074e-05/0.4686, allocations: 31.77 kB / 0.6861 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.687e-05/0.4686, allocations: 89.33 kB / 0.6861 GB, free: 0.6562 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.427e-05/0.4686, allocations: 26.19 kB / 0.6862 GB, free: 0.6328 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.563e-05/0.4686, allocations: 29.67 kB / 0.6862 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.106e-05/0.4687, allocations: 316 kB / 0.6865 GB, free: 296 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.654e-05/0.4687, allocations: 12.62 kB / 0.6865 GB, free: 292 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.038e-05/0.4687, allocations: 57.17 kB / 0.6866 GB, free: 228 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.966e-05/0.4688, allocations: 75.3 kB / 0.6866 GB, free: 156 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.4688, allocations: 0 / 0.6866 GB, free: 156 kB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001196/0.4689, allocations: 98.14 kB / 0.6867 GB, free: 88 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.469, allocations: 6.469 kB / 0.6867 GB, free: 88 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.469, allocations: 1 kB / 0.6867 GB, free: 88 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.469, allocations: 2.312 kB / 0.6867 GB, free: 88 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.908e-05/0.4691, allocations: 24.48 kB / 0.6868 GB, free: 80 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.094e-06/0.4691, allocations: 2.562 kB / 0.6868 GB, free: 80 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.758e-05/0.4691, allocations: 5.219 kB / 0.6868 GB, free: 76 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.4691, allocations: 8.969 kB / 0.6868 GB, free: 72 kB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * 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 9.453e-05/0.4692, allocations: 120.6 kB / 0.6869 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.189e-05/0.4693, allocations: 6.703 kB / 0.6869 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.973e-05/0.4693, allocations: 8.938 kB / 0.6869 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/0.4693, allocations: 2.531 kB / 0.6869 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.4693, allocations: 0 / 0.6869 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.4693, allocations: 5.234 kB / 0.6869 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003614/0.4697, allocations: 173.9 kB / 0.6871 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.4697, allocations: 1.656 kB / 0.6871 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.533e-05/0.4698, allocations: 17.19 kB / 0.6871 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.4698, allocations: 1.438 kB / 0.6871 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.4698, allocations: 9.094 kB / 0.6871 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.4698, allocations: 1.156 kB / 0.6871 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.4698, allocations: 1.375 kB / 0.6871 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002722/0.47, allocations: 328.2 kB / 0.6874 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.503e-05/0.4701, allocations: 88.98 kB / 0.6875 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.686e-05/0.4701, allocations: 13.22 kB / 0.6875 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001682/0.4703, allocations: 6.438 kB / 0.6875 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.094e-05/0.4703, allocations: 11.48 kB / 0.6875 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.127e-06/0.4703, allocations: 6.438 kB / 0.6875 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.737e-05/0.4704, allocations: 81.5 kB / 0.6876 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.4704, allocations: 0 / 0.6876 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003112/0.4707, allocations: 11.59 kB / 0.6876 GB, free: 15.2 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (7): * Single equations (assignments): 7 * 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.0006144/0.4713, allocations: 0.8596 MB / 0.6885 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001293/0.4714, allocations: 40.09 kB / 0.6885 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.4714, allocations: 1.531 kB / 0.6885 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 3.291e-05/0.4715, allocations: 26.2 kB / 0.6885 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004608/0.4719, allocations: 14.28 kB / 0.6885 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001762/0.4737, allocations: 1.683 MB / 0.6902 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000327/0.474, allocations: 0.6895 MB / 0.6909 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.995e-05/0.4741, allocations: 7.875 kB / 0.6909 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.838e-05/0.4741, allocations: 15.16 kB / 0.6909 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of SimCode: time 8.01e-07/0.4741, allocations: 0 / 0.6909 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02771/0.5018, allocations: 1.718 MB / 0.6926 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.49/8.992, allocations: 6.969 kB / 0.6926 GB, free: 11.06 MB / 0.5137 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.fmu > IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.472631407901645] Failed to read output from testmodel.py, exit status != 0: 9.063204391859472 9.087698803 8.616882035 Calling exit ...