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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00155/0.00155, allocations: 180.5 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5235/0.5235, allocations: 91.98 MB / 108.5 MB, free: 13.08 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.737/1.737, allocations: 223.2 MB / 354.3 MB, free: 12.23 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009589/0.000959, allocations: 100.2 kB / 427.3 MB, free: 3.977 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003458/0.0003459, allocations: 8 kB / 0.4983 GB, free: 42.25 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1661/0.1665, allocations: 72.31 MB / 0.5689 GB, free: 1.871 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.182/1.349, allocations: 330.7 MB / 0.8919 GB, free: 134.9 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002509/1.349, allocations: 74.72 kB / 0.8919 GB, free: 134.8 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.02643/1.375, allocations: 13.38 MB / 0.905 GB, free: 124.2 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.876e-06/1.376, allocations: 0 / 0.905 GB, free: 124.2 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.211e-06/1.376, allocations: 3.938 kB / 0.905 GB, free: 124.2 MB / 0.5886 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.0003153/1.376, allocations: 359.2 kB / 0.9053 GB, free: 123.8 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.666e-05/1.376, allocations: 8.031 kB / 0.9053 GB, free: 123.8 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.236e-05/1.376, allocations: 45.86 kB / 0.9054 GB, free: 123.8 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.518e-05/1.376, allocations: 4 kB / 0.9054 GB, free: 123.8 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.696e-05/1.376, allocations: 159.1 kB / 0.9055 GB, free: 123.6 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/1.376, allocations: 0 / 0.9055 GB, free: 123.6 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.592e-05/1.376, allocations: 7.188 kB / 0.9056 GB, free: 123.6 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001266/1.376, allocations: 55.91 kB / 0.9056 GB, free: 123.5 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/1.376, allocations: 0 / 0.9056 GB, free: 123.5 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/1.376, allocations: 3.953 kB / 0.9056 GB, free: 123.5 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/1.376, allocations: 8 kB / 0.9056 GB, free: 123.5 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.024e-05/1.376, allocations: 19.17 kB / 0.9056 GB, free: 123.5 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001587/1.377, allocations: 167.8 kB / 0.9058 GB, free: 123.3 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 7.911e-05/1.377, allocations: 48.56 kB / 0.9058 GB, free: 123.2 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006576/1.377, allocations: 0.5962 MB / 0.9064 GB, free: 122.6 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.171e-05/1.377, allocations: 34.5 kB / 0.9065 GB, free: 122.5 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/1.377, allocations: 0 / 0.9065 GB, free: 122.5 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0005626/1.378, allocations: 311.8 kB / 0.9068 GB, free: 122.2 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.338e-05/1.378, allocations: 51.41 kB / 0.9068 GB, free: 122.1 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.772e-05/1.378, allocations: 95.86 kB / 0.9069 GB, free: 122 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.299e-05/1.378, allocations: 33.7 kB / 0.9069 GB, free: 122 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.467e-05/1.378, allocations: 86.98 kB / 0.907 GB, free: 121.9 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.762e-05/1.378, allocations: 30.8 kB / 0.907 GB, free: 121.9 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.678e-06/1.378, allocations: 2.875 kB / 0.907 GB, free: 121.9 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 5.648e-05/1.378, allocations: 310.8 kB / 0.9073 GB, free: 121.6 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.449e-05/1.378, allocations: 10.94 kB / 0.9073 GB, free: 121.5 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.604e-05/1.378, allocations: 57.22 kB / 0.9074 GB, free: 121.5 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.768e-05/1.378, allocations: 26.73 kB / 0.9074 GB, free: 121.5 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/1.378, allocations: 0 / 0.9074 GB, free: 121.5 MB / 0.5886 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001098/1.379, allocations: 101.4 kB / 0.9075 GB, free: 121.4 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/1.379, allocations: 4 kB / 0.9075 GB, free: 121.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/1.379, allocations: 4 kB / 0.9075 GB, free: 121.4 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/1.379, allocations: 4.125 kB / 0.9075 GB, free: 121.4 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.998e-05/1.379, allocations: 16 kB / 0.9076 GB, free: 121.3 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/1.379, allocations: 4 kB / 0.9076 GB, free: 121.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.615e-05/1.379, allocations: 0 / 0.9076 GB, free: 121.3 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-06/1.379, allocations: 4 kB / 0.9076 GB, free: 121.3 MB / 0.5886 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.328e-05/1.379, allocations: 124.6 kB / 0.9077 GB, free: 121.2 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.438e-05/1.379, allocations: 11.86 kB / 0.9077 GB, free: 121.2 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.831e-05/1.379, allocations: 7.594 kB / 0.9077 GB, free: 121.2 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/1.379, allocations: 0 / 0.9077 GB, free: 121.2 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/1.379, allocations: 4 kB / 0.9077 GB, free: 121.2 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.199e-06/1.379, allocations: 0 / 0.9077 GB, free: 121.2 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002152/1.379, allocations: 180 kB / 0.9079 GB, free: 121 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/1.379, allocations: 4 kB / 0.9079 GB, free: 121 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.231e-05/1.379, allocations: 19.92 kB / 0.9079 GB, free: 120.9 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/1.379, allocations: 3.953 kB / 0.9079 GB, free: 120.9 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.785e-06/1.379, allocations: 0 / 0.9079 GB, free: 120.9 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/1.379, allocations: 0 / 0.9079 GB, free: 120.9 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/1.379, allocations: 0 / 0.9079 GB, free: 120.9 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001926/1.379, allocations: 176.2 kB / 0.9081 GB, free: 120.8 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.274e-05/1.38, allocations: 81.02 kB / 0.9081 GB, free: 120.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.163e-05/1.38, allocations: 11.33 kB / 0.9082 GB, free: 120.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.584e-05/1.38, allocations: 0 / 0.9082 GB, free: 120.7 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.792e-05/1.38, allocations: 7.984 kB / 0.9082 GB, free: 120.7 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.581e-06/1.38, allocations: 0 / 0.9082 GB, free: 120.7 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.297e-05/1.38, allocations: 82.28 kB / 0.9082 GB, free: 120.6 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.3e-07/1.38, allocations: 0 / 0.9082 GB, free: 120.6 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002352/1.38, allocations: 19.31 kB / 0.9083 GB, free: 120.6 MB / 0.5886 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.0003784/1.38, allocations: 0.7267 MB / 0.909 GB, free: 119.8 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001115/1.38, allocations: 38.42 kB / 0.909 GB, free: 119.8 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.267e-06/1.38, allocations: 3.938 kB / 0.909 GB, free: 119.8 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.025e-05/1.381, allocations: 19.48 kB / 0.909 GB, free: 119.8 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001717/1.381, allocations: 11.94 kB / 0.909 GB, free: 119.8 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009827/1.382, allocations: 1.437 MB / 0.9104 GB, free: 118.3 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000123/1.382, allocations: 0.6809 MB / 0.9111 GB, free: 117.6 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 5.593e-05/1.382, allocations: 11.98 kB / 0.9111 GB, free: 117.6 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.155e-05/1.382, allocations: 15.06 kB / 0.9111 GB, free: 117.6 MB / 0.5886 GB Notification: Performance of SimCode: time 2.4e-07/1.382, allocations: 0 / 0.9111 GB, free: 117.6 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01506/1.397, allocations: 1.778 MB / 0.9129 GB, free: 115.9 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000247/1.397, allocations: 167.6 kB / 0.913 GB, free: 115.6 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.606/3.004, allocations: 0 / 0.913 GB, free: 115.6 MB / 0.5886 GB (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/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Examples_WaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Media_Examples_WaterDerivativeCheck.fmu > IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.pipe 2>&1)