Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.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.001611/0.001611, allocations: 117.7 kB / 17.13 MB, free: 5.918 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.001438/0.001438, allocations: 192.7 kB / 20.08 MB, free: 2.988 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.477/1.477, allocations: 225.6 MB / 248.5 MB, free: 3.617 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.8934/0.8934, allocations: 129.2 MB / 432.5 MB, free: 13.38 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.Examples.WaterDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_WaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.WaterDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_WaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 67.89 kB / 0.5987 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4434/0.4453, allocations: 83.42 MB / 0.6801 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterDerivativeCheck): time 0.002162/0.4475, allocations: 1.273 MB / 0.6814 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003322/0.4508, allocations: 3.283 MB / 0.6846 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.33e-05/0.4509, allocations: 0 / 0.6846 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.309e-05/0.4509, allocations: 3.938 kB / 0.6846 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.164e-05/0.4509, allocations: 8.984 kB / 0.6846 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005489/0.4515, allocations: 110.5 kB / 0.6847 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.661e-05/0.4516, allocations: 29.58 kB / 0.6847 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.219e-05/0.4516, allocations: 2.188 kB / 0.6847 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.09e-05/0.4517, allocations: 29.72 kB / 0.6848 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.621e-05/0.4517, allocations: 14.39 kB / 0.6848 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.195e-05/0.4517, allocations: 2.219 kB / 0.6848 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000236/0.452, allocations: 81.61 kB / 0.6849 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.714e-05/0.452, allocations: 14.45 kB / 0.6849 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.194e-05/0.452, allocations: 14.27 kB / 0.6849 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001888/0.4522, allocations: 65.78 kB / 0.6849 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.4522, allocations: 4 kB / 0.6849 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.104e-06/0.4522, allocations: 1.125 kB / 0.6849 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.952e-06/0.4522, allocations: 0 / 0.6849 GB, free: 2.066 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.0003872/0.4526, allocations: 351.6 kB / 0.6853 GB, free: 1.691 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.4527, allocations: 10.25 kB / 0.6853 GB, free: 1.691 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.311e-05/0.4527, allocations: 43.8 kB / 0.6853 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.234e-05/0.4528, allocations: 4.656 kB / 0.6853 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.882e-05/0.4529, allocations: 161.8 kB / 0.6855 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.488e-05/0.4529, allocations: 6.969 kB / 0.6855 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.438e-05/0.4529, allocations: 6.969 kB / 0.6855 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001195/0.453, allocations: 58.48 kB / 0.6856 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.453, allocations: 0 / 0.6856 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.453, allocations: 1.094 kB / 0.6856 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.453, allocations: 0.9062 kB / 0.6856 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.187e-05/0.4531, allocations: 17.86 kB / 0.6856 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001346/0.4532, allocations: 174 kB / 0.6857 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.981e-05/0.4533, allocations: 45.88 kB / 0.6858 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.826e-05/0.4533, allocations: 18.44 kB / 0.6858 GB, free: 1.117 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005812/0.4539, allocations: 0.5943 MB / 0.6864 GB, free: 468 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.572e-05/0.4539, allocations: 31.69 kB / 0.6864 GB, free: 428 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.002e-06/0.4539, allocations: 1.281 kB / 0.6864 GB, free: 428 kB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0004949/0.4544, allocations: 306.7 kB / 0.6867 GB, free: 120 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.267e-05/0.4545, allocations: 52.75 kB / 0.6868 GB, free: 56 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.031e-05/0.4546, allocations: 113.6 kB / 0.6869 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/0.4546, allocations: 26.86 kB / 0.6869 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.276e-05/0.4546, allocations: 89.47 kB / 0.687 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.501e-05/0.4546, allocations: 31.36 kB / 0.687 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.335e-05/0.4547, allocations: 21.5 kB / 0.687 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.4548, allocations: 324 kB / 0.6873 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.925e-05/0.4549, allocations: 16.41 kB / 0.6874 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.018e-05/0.4549, allocations: 52.58 kB / 0.6874 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001065/0.455, allocations: 78.39 kB / 0.6875 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.455, allocations: 0 / 0.6875 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001478/0.4552, allocations: 95.3 kB / 0.6876 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.4552, allocations: 5.156 kB / 0.6876 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.4552, allocations: 2.375 kB / 0.6876 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.4552, allocations: 1.344 kB / 0.6876 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.531e-05/0.4553, allocations: 17.09 kB / 0.6876 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.4553, allocations: 6.062 kB / 0.6876 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.995e-05/0.4553, allocations: 6.062 kB / 0.6876 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.161e-05/0.4553, allocations: 7.953 kB / 0.6876 GB, free: 15.23 MB / 0.5137 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.991e-05/0.4554, allocations: 121.1 kB / 0.6877 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.887e-05/0.4555, allocations: 6.453 kB / 0.6877 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.144e-05/0.4555, allocations: 9.125 kB / 0.6877 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.4555, allocations: 0 / 0.6877 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.4555, allocations: 1.094 kB / 0.6877 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.4555, allocations: 7.938 kB / 0.6878 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002616/0.4558, allocations: 178.2 kB / 0.6879 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.4558, allocations: 0 / 0.6879 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.82e-05/0.4559, allocations: 17.64 kB / 0.6879 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.4559, allocations: 0 / 0.6879 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.4559, allocations: 5.312 kB / 0.6879 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.4559, allocations: 0 / 0.6879 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.4559, allocations: 1.219 kB / 0.688 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001978/0.4561, allocations: 173.2 kB / 0.6881 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.577e-05/0.4561, allocations: 90.56 kB / 0.6882 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.569e-05/0.4562, allocations: 1.438 kB / 0.6882 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.4563, allocations: 6.656 kB / 0.6882 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.654e-05/0.4563, allocations: 5.25 kB / 0.6882 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.221e-06/0.4563, allocations: 6.469 kB / 0.6882 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.217e-05/0.4563, allocations: 82.88 kB / 0.6883 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.4563, allocations: 0 / 0.6883 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002392/0.4566, allocations: 10.56 kB / 0.6883 GB, free: 14.52 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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.0005453/0.4571, allocations: 0.715 MB / 0.689 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001375/0.4573, allocations: 44.8 kB / 0.6891 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.4573, allocations: 0 / 0.6891 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.265e-05/0.4573, allocations: 10.94 kB / 0.6891 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003167/0.4576, allocations: 20.69 kB / 0.6891 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00159/0.4592, allocations: 1.528 MB / 0.6906 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003192/0.4595, allocations: 0.6898 MB / 0.6912 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.439e-05/0.4595, allocations: 7.688 kB / 0.6913 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.717e-05/0.4596, allocations: 11.12 kB / 0.6913 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of SimCode: time 3.81e-07/0.4596, allocations: 0 / 0.6913 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02567/0.4852, allocations: 1.657 MB / 0.6929 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.038/8.523, allocations: 4.25 kB / 0.6929 GB, free: 10.66 MB / 0.5137 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Examples_WaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Media_Examples_WaterDerivativeCheck.fmu > IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.918022844940424] Failed to read output from testmodel.py, exit status != 0: 8.591983962804079 8.608003317 8.152791448 Calling exit ...