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.0008426/0.0008426, allocations: 86.8 kB / 15.06 MB, free: 1.09 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.0008788/0.0008788, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.515/1.515, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.72/1.72, allocations: 292.7 MB / 0.5499 GB, free: 14.54 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.0005556/0.0005557, allocations: 23.06 kB / 0.6738 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2587/0.2593, allocations: 116.3 MB / 0.7874 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.00128/0.2606, allocations: 0.9742 MB / 0.7883 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003215/0.2639, allocations: 3.058 MB / 0.7913 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.395e-05/0.2639, allocations: 0 / 0.7913 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.409e-05/0.2639, allocations: 0 / 0.7913 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.933e-05/0.264, allocations: 3.938 kB / 0.7913 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004012/0.2644, allocations: 87.67 kB / 0.7914 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.034e-05/0.2645, allocations: 31.86 kB / 0.7914 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.234e-05/0.2645, allocations: 0 / 0.7914 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.153e-05/0.2645, allocations: 27.91 kB / 0.7915 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.176e-05/0.2646, allocations: 15.98 kB / 0.7915 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.182e-05/0.2646, allocations: 0 / 0.7915 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001778/0.2648, allocations: 47.84 kB / 0.7915 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.684e-05/0.2648, allocations: 11.92 kB / 0.7915 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.441e-05/0.2649, allocations: 29.7 kB / 0.7916 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001144/0.265, allocations: 48.17 kB / 0.7916 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.265, allocations: 0 / 0.7916 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.453e-06/0.265, allocations: 0 / 0.7916 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.265, allocations: 0 / 0.7916 GB, free: 7.492 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.0003442/0.2654, allocations: 343.2 kB / 0.7919 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.2654, allocations: 8.031 kB / 0.7919 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.21e-05/0.2655, allocations: 30.56 kB / 0.792 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.482e-05/0.2656, allocations: 11.94 kB / 0.792 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001118/0.2657, allocations: 171 kB / 0.7922 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.2657, allocations: 12 kB / 0.7922 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.269e-05/0.2657, allocations: 4 kB / 0.7922 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001273/0.2659, allocations: 61.59 kB / 0.7922 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.2659, allocations: 0 / 0.7922 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.2659, allocations: 0 / 0.7922 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.137e-06/0.2659, allocations: 0 / 0.7922 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.985e-05/0.266, allocations: 23.94 kB / 0.7922 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000162/0.2661, allocations: 161.7 kB / 0.7924 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.178e-05/0.2662, allocations: 50.56 kB / 0.7925 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.04e-05/0.2663, allocations: 24.78 kB / 0.7925 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006659/0.2669, allocations: 0.591 MB / 0.7931 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.584e-05/0.267, allocations: 38.52 kB / 0.7931 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.267, allocations: 0 / 0.7931 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0005392/0.2675, allocations: 298.2 kB / 0.7934 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.015e-05/0.2676, allocations: 51.41 kB / 0.7934 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.373e-05/0.2676, allocations: 102 kB / 0.7935 GB, free: 5.184 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.358e-05/0.2677, allocations: 25.7 kB / 0.7935 GB, free: 5.152 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.211e-05/0.2677, allocations: 88.05 kB / 0.7936 GB, free: 5.062 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2e-05/0.2677, allocations: 31.55 kB / 0.7937 GB, free: 5.031 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-06/0.2677, allocations: 0 / 0.7937 GB, free: 5.031 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.2679, allocations: 318.8 kB / 0.794 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.932e-05/0.2679, allocations: 15.98 kB / 0.794 GB, free: 4.695 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.598e-05/0.268, allocations: 57.09 kB / 0.794 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.191e-05/0.268, allocations: 27.95 kB / 0.7941 GB, free: 4.594 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.268, allocations: 0 / 0.7941 GB, free: 4.594 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001392/0.2682, allocations: 101.5 kB / 0.7942 GB, free: 4.488 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.2682, allocations: 4 kB / 0.7942 GB, free: 4.484 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.2682, allocations: 0 / 0.7942 GB, free: 4.484 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.2682, allocations: 4 kB / 0.7942 GB, free: 4.48 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.367e-05/0.2683, allocations: 19.94 kB / 0.7942 GB, free: 4.461 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.2683, allocations: 4 kB / 0.7942 GB, free: 4.457 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.689e-05/0.2684, allocations: 4.109 kB / 0.7942 GB, free: 4.453 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.2684, allocations: 8 kB / 0.7942 GB, free: 4.445 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.107e-05/0.2684, allocations: 114.5 kB / 0.7943 GB, free: 4.324 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.67e-05/0.2685, allocations: 7.859 kB / 0.7943 GB, free: 4.316 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.867e-05/0.2685, allocations: 11.97 kB / 0.7943 GB, free: 4.305 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.2685, allocations: 3.938 kB / 0.7943 GB, free: 4.301 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.2685, allocations: 0 / 0.7943 GB, free: 4.301 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.2685, allocations: 0 / 0.7943 GB, free: 4.301 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002262/0.2688, allocations: 177.7 kB / 0.7945 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-06/0.2688, allocations: 0 / 0.7945 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.271e-05/0.2689, allocations: 28.36 kB / 0.7945 GB, free: 4.051 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.2689, allocations: 0 / 0.7945 GB, free: 4.051 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.205e-06/0.2689, allocations: 3.953 kB / 0.7945 GB, free: 4.047 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.2689, allocations: 4 kB / 0.7945 GB, free: 4.043 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.2689, allocations: 0 / 0.7945 GB, free: 4.043 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001744/0.2691, allocations: 163.5 kB / 0.7947 GB, free: 3.867 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.381e-05/0.2692, allocations: 89.02 kB / 0.7948 GB, free: 3.762 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.393e-05/0.2692, allocations: 0 / 0.7948 GB, free: 3.762 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.2693, allocations: 15.98 kB / 0.7948 GB, free: 3.746 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.006e-05/0.2693, allocations: 0 / 0.7948 GB, free: 3.746 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.145e-06/0.2693, allocations: 4 kB / 0.7948 GB, free: 3.742 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.381e-05/0.2694, allocations: 87.22 kB / 0.7949 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2694, allocations: 0 / 0.7949 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002366/0.2696, allocations: 8 kB / 0.7949 GB, free: 3.648 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.0004713/0.2701, allocations: 0.7047 MB / 0.7956 GB, free: 2.914 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000109/0.2702, allocations: 44.38 kB / 0.7956 GB, free: 2.871 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.2702, allocations: 0 / 0.7956 GB, free: 2.871 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.495e-05/0.2703, allocations: 15.94 kB / 0.7956 GB, free: 2.855 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002651/0.2705, allocations: 15.89 kB / 0.7956 GB, free: 2.84 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000966/0.2715, allocations: 0.6727 MB / 0.7963 GB, free: 2.105 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003154/0.2718, allocations: 0.6888 MB / 0.797 GB, free: 1.391 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.544e-05/0.2719, allocations: 7.984 kB / 0.797 GB, free: 1.383 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.553e-05/0.2719, allocations: 15.5 kB / 0.797 GB, free: 1.367 MB / 0.6075 GB Notification: Performance of SimCode: time 2.5e-07/0.2719, allocations: 4 kB / 0.797 GB, free: 1.363 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01161/0.2835, allocations: 1.415 MB / 0.7984 GB, free: 64 kB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001982/0.2838, allocations: 181.3 kB / 0.7986 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.637/1.92, allocations: 0 / 0.7986 GB, free: 15.82 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: