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.001752/0.001752, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00213/0.00213, allocations: 186.5 kB / 16.62 MB, free: 6.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.533/1.533, allocations: 205.1 MB / 222.5 MB, free: 4.566 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 1.713/1.713, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.001456/0.001456, allocations: 69.36 kB / 0.6717 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2552/0.2566, allocations: 114.6 MB / 0.7836 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.00271/0.2594, allocations: 1.256 MB / 0.7849 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00392/0.2633, allocations: 3.254 MB / 0.788 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.448e-05/0.2634, allocations: 4 kB / 0.788 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.92e-05/0.2634, allocations: 0 / 0.788 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.337e-05/0.2635, allocations: 15.91 kB / 0.788 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005415/0.2641, allocations: 99.55 kB / 0.7881 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.551e-05/0.2642, allocations: 39.84 kB / 0.7882 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.283e-05/0.2642, allocations: 0 / 0.7882 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.078e-05/0.2643, allocations: 27.91 kB / 0.7882 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.295e-05/0.2643, allocations: 11.94 kB / 0.7882 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.394e-05/0.2644, allocations: 7.938 kB / 0.7882 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002604/0.2646, allocations: 79.8 kB / 0.7883 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.039e-05/0.2647, allocations: 11.98 kB / 0.7883 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.402e-05/0.2647, allocations: 11.92 kB / 0.7883 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002121/0.2649, allocations: 76.02 kB / 0.7884 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.2649, allocations: 0 / 0.7884 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.054e-06/0.2649, allocations: 0 / 0.7884 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.374e-06/0.265, allocations: 0 / 0.7884 GB, free: 8.348 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.000547/0.2655, allocations: 351.4 kB / 0.7887 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.2656, allocations: 12.02 kB / 0.7887 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001042/0.2657, allocations: 34.75 kB / 0.7888 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.865e-05/0.2658, allocations: 8.938 kB / 0.7888 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001177/0.2659, allocations: 168.4 kB / 0.7889 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.2659, allocations: 384 / 0.7889 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.664e-05/0.266, allocations: 4.375 kB / 0.789 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001459/0.2661, allocations: 61.59 kB / 0.789 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.2661, allocations: 3.938 kB / 0.789 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.2661, allocations: 0 / 0.789 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.2662, allocations: 4 kB / 0.789 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.869e-05/0.2662, allocations: 19.97 kB / 0.789 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001847/0.2664, allocations: 169.6 kB / 0.7892 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.522e-05/0.2665, allocations: 46.56 kB / 0.7892 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.98e-05/0.2666, allocations: 16.84 kB / 0.7893 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007935/0.2674, allocations: 0.5948 MB / 0.7898 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.045e-05/0.2674, allocations: 38.56 kB / 0.7899 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.383e-06/0.2674, allocations: 3.938 kB / 0.7899 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.000649/0.2681, allocations: 294.7 kB / 0.7902 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.043e-05/0.2681, allocations: 55.39 kB / 0.7902 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.633e-05/0.2682, allocations: 105.7 kB / 0.7903 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.729e-05/0.2682, allocations: 25.7 kB / 0.7903 GB, free: 6 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.271e-05/0.2683, allocations: 92.14 kB / 0.7904 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.741e-05/0.2683, allocations: 31.55 kB / 0.7905 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.573e-05/0.2684, allocations: 17.72 kB / 0.7905 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002229/0.2686, allocations: 322.8 kB / 0.7908 GB, free: 5.527 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.883e-05/0.2686, allocations: 12 kB / 0.7908 GB, free: 5.516 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.28e-05/0.2687, allocations: 53.08 kB / 0.7908 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.203e-05/0.2688, allocations: 77.08 kB / 0.7909 GB, free: 5.352 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.2688, allocations: 0 / 0.7909 GB, free: 5.352 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001418/0.2689, allocations: 101.5 kB / 0.791 GB, free: 5.246 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.269, allocations: 8.125 kB / 0.791 GB, free: 5.238 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.269, allocations: 0 / 0.791 GB, free: 5.238 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.005e-05/0.269, allocations: 7.938 kB / 0.791 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.49e-05/0.2691, allocations: 16 kB / 0.791 GB, free: 5.215 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/0.2691, allocations: 11.92 kB / 0.7911 GB, free: 5.203 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.847e-05/0.2692, allocations: 3.938 kB / 0.7911 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.798e-06/0.2692, allocations: 8 kB / 0.7911 GB, free: 5.191 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.708e-05/0.2693, allocations: 113.8 kB / 0.7912 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.755e-05/0.2693, allocations: 4.281 kB / 0.7912 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.456e-05/0.2693, allocations: 11.97 kB / 0.7912 GB, free: 5.055 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.2694, allocations: 3.984 kB / 0.7912 GB, free: 5.051 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.2694, allocations: 0 / 0.7912 GB, free: 5.051 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.2694, allocations: 3.938 kB / 0.7912 GB, free: 5.047 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002478/0.2696, allocations: 173.7 kB / 0.7914 GB, free: 4.828 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.2696, allocations: 0 / 0.7914 GB, free: 4.828 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.682e-05/0.2697, allocations: 23.92 kB / 0.7914 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.2697, allocations: 0 / 0.7914 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.2698, allocations: 0 / 0.7914 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.2698, allocations: 3.938 kB / 0.7914 GB, free: 4.801 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.2698, allocations: 0 / 0.7914 GB, free: 4.801 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001966/0.27, allocations: 183.4 kB / 0.7916 GB, free: 4.605 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.291e-05/0.27, allocations: 77.11 kB / 0.7916 GB, free: 4.512 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.409e-05/0.2701, allocations: 0 / 0.7916 GB, free: 4.512 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.2702, allocations: 8.031 kB / 0.7916 GB, free: 4.504 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.761e-05/0.2702, allocations: 7.938 kB / 0.7917 GB, free: 4.496 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.274e-06/0.2702, allocations: 4 kB / 0.7917 GB, free: 4.492 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.006e-05/0.2702, allocations: 79.28 kB / 0.7917 GB, free: 4.414 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2703, allocations: 4 kB / 0.7917 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000236/0.2705, allocations: 11.98 kB / 0.7918 GB, free: 4.398 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 (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.0005236/0.271, allocations: 0.7125 MB / 0.7924 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001382/0.2712, allocations: 47.98 kB / 0.7925 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.2712, allocations: 0 / 0.7925 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.57e-05/0.2712, allocations: 15.94 kB / 0.7925 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003898/0.2716, allocations: 14.59 kB / 0.7925 GB, free: 3.582 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001702/0.2733, allocations: 1.543 MB / 0.794 GB, free: 1.926 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002916/0.2736, allocations: 0.6807 MB / 0.7947 GB, free: 1.219 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.234e-05/0.2737, allocations: 11.78 kB / 0.7947 GB, free: 1.207 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.142e-05/0.2737, allocations: 15.44 kB / 0.7947 GB, free: 1.191 MB / 0.6075 GB Notification: Performance of SimCode: time 1.9e-07/0.2737, allocations: 0 / 0.7947 GB, free: 1.191 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0198/0.2936, allocations: 1.632 MB / 0.7963 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.361/7.655, allocations: 6.875 kB / 0.7963 GB, free: 15.62 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/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)