Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Media.Examples.WaterDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Media_Examples_WaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Media_Examples_WaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001541/0.001542, allocations: 97.91 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001868/0.001869, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.247/3.247, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 3.033/3.033, allocations: 292.6 MB / 0.5497 GB, free: 14.58 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009807/0.0009808, allocations: 12.56 kB / 0.6736 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.365/0.366, allocations: 116.3 MB / 0.7872 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.001673/0.3677, allocations: 0.9648 MB / 0.7882 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003913/0.3717, allocations: 2.83 MB / 0.7909 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.319e-05/0.3718, allocations: 4 kB / 0.7909 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.341e-05/0.3718, allocations: 7.922 kB / 0.7909 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.952e-05/0.3718, allocations: 7.984 kB / 0.7909 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005045/0.3724, allocations: 83.72 kB / 0.791 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.157e-05/0.3724, allocations: 23.95 kB / 0.791 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.263e-05/0.3725, allocations: 8 kB / 0.7911 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.516e-05/0.3726, allocations: 15.98 kB / 0.7911 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.053e-05/0.3726, allocations: 23.91 kB / 0.7911 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.397e-05/0.3727, allocations: 0 / 0.7911 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002425/0.3729, allocations: 59.91 kB / 0.7911 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.42e-05/0.3729, allocations: 3.984 kB / 0.7912 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.524e-05/0.373, allocations: 33.7 kB / 0.7912 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001291/0.3731, allocations: 40.11 kB / 0.7912 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.3731, allocations: 0 / 0.7912 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.334e-06/0.3731, allocations: 0 / 0.7912 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.688e-06/0.3732, allocations: 0 / 0.7912 GB, free: 7.73 MB / 0.6075 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.0004521/0.3736, allocations: 346 kB / 0.7916 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.281e-05/0.3737, allocations: 8.031 kB / 0.7916 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.607e-05/0.3737, allocations: 34.56 kB / 0.7916 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001049/0.3738, allocations: 11.95 kB / 0.7916 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001281/0.374, allocations: 171 kB / 0.7918 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.374, allocations: 0 / 0.7918 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.485e-05/0.374, allocations: 4 kB / 0.7918 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001409/0.3742, allocations: 53.67 kB / 0.7918 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.804e-06/0.3742, allocations: 4 kB / 0.7918 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.3742, allocations: 0 / 0.7918 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.3742, allocations: 0 / 0.7918 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.69e-05/0.3743, allocations: 23.94 kB / 0.7918 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002028/0.3745, allocations: 169.6 kB / 0.792 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001044/0.3746, allocations: 54.47 kB / 0.7921 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007768/0.3754, allocations: 0.5907 MB / 0.7926 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/0.3754, allocations: 30.56 kB / 0.7927 GB, free: 5.973 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.3754, allocations: 0 / 0.7927 GB, free: 5.973 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0006567/0.3761, allocations: 302.5 kB / 0.793 GB, free: 5.625 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.412e-05/0.3762, allocations: 63.28 kB / 0.793 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.483e-05/0.3762, allocations: 105.8 kB / 0.7931 GB, free: 5.438 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.048e-05/0.3763, allocations: 29.7 kB / 0.7931 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.601e-05/0.3763, allocations: 84.05 kB / 0.7932 GB, free: 5.316 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.455e-05/0.3764, allocations: 35.48 kB / 0.7933 GB, free: 5.281 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.867e-06/0.3764, allocations: 0 / 0.7933 GB, free: 5.281 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001161/0.3765, allocations: 318.8 kB / 0.7936 GB, free: 4.961 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.599e-05/0.3765, allocations: 11.98 kB / 0.7936 GB, free: 4.949 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.283e-05/0.3766, allocations: 53.14 kB / 0.7936 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.361e-05/0.3766, allocations: 20 kB / 0.7936 GB, free: 4.859 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.3766, allocations: 0 / 0.7936 GB, free: 4.859 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001396/0.3768, allocations: 89.55 kB / 0.7937 GB, free: 4.766 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.3768, allocations: 16.08 kB / 0.7937 GB, free: 4.75 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.3768, allocations: 0 / 0.7937 GB, free: 4.75 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.3768, allocations: 4 kB / 0.7938 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.422e-05/0.3769, allocations: 23.92 kB / 0.7938 GB, free: 4.723 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.377, allocations: 0 / 0.7938 GB, free: 4.723 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.432e-05/0.377, allocations: 8 kB / 0.7938 GB, free: 4.715 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-06/0.377, allocations: 4 kB / 0.7938 GB, free: 4.711 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.918e-05/0.3771, allocations: 113.8 kB / 0.7939 GB, free: 4.59 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.854e-05/0.3771, allocations: 7.906 kB / 0.7939 GB, free: 4.582 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.074e-05/0.3772, allocations: 15.92 kB / 0.7939 GB, free: 4.566 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.3772, allocations: 4 kB / 0.7939 GB, free: 4.562 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.3772, allocations: 0 / 0.7939 GB, free: 4.562 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.3772, allocations: 448 / 0.7939 GB, free: 4.562 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002601/0.3775, allocations: 169.7 kB / 0.7941 GB, free: 4.348 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.3775, allocations: 0 / 0.7941 GB, free: 4.348 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.86e-05/0.3776, allocations: 19.98 kB / 0.7941 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.3776, allocations: 0 / 0.7941 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.3776, allocations: 8 kB / 0.7941 GB, free: 4.32 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.3776, allocations: 7.891 kB / 0.7941 GB, free: 4.312 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3776, allocations: 0 / 0.7941 GB, free: 4.312 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000186/0.3778, allocations: 175.5 kB / 0.7943 GB, free: 4.125 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.822e-05/0.3779, allocations: 85.02 kB / 0.7944 GB, free: 4.023 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.561e-05/0.3779, allocations: 384 / 0.7944 GB, free: 4.023 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.378, allocations: 4.031 kB / 0.7944 GB, free: 4.02 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.704e-05/0.3781, allocations: 11.95 kB / 0.7944 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.824e-06/0.3781, allocations: 4 kB / 0.7944 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.771e-05/0.3781, allocations: 83.25 kB / 0.7945 GB, free: 3.922 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.2e-07/0.3781, allocations: 4 kB / 0.7945 GB, free: 3.918 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002494/0.3784, allocations: 16 kB / 0.7945 GB, free: 3.902 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004948/0.3789, allocations: 0.7007 MB / 0.7952 GB, free: 3.172 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001228/0.379, allocations: 48.09 kB / 0.7952 GB, free: 3.125 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.379, allocations: 0 / 0.7952 GB, free: 3.125 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.612e-05/0.379, allocations: 16 kB / 0.7952 GB, free: 3.109 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002096/0.3793, allocations: 3.953 kB / 0.7952 GB, free: 3.105 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001306/0.3806, allocations: 1.427 MB / 0.7966 GB, free: 1.613 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002821/0.3809, allocations: 0.6971 MB / 0.7973 GB, free: 0.8906 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.919e-05/0.3809, allocations: 4 kB / 0.7973 GB, free: 0.8867 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.046e-05/0.381, allocations: 15.5 kB / 0.7973 GB, free: 0.8711 MB / 0.6075 GB Notification: Performance of SimCode: time 5.41e-07/0.381, allocations: 4 kB / 0.7973 GB, free: 0.8672 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3085/0.6895, allocations: 1.392 MB / 0.7987 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003726/0.6899, allocations: 169.1 kB / 0.7988 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.871/3.561, allocations: 0 / 0.7988 GB, free: 15.34 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Media_Examples_WaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_8_Buildings_Media_Examples_WaterDerivativeCheck.fmu > Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: