Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Media.Examples.WaterDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_WaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.WaterDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_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.001086/0.001086, allocations: 180.9 kB / 7.65 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9161/0.9161, allocations: 133.6 MB / 141.6 MB, free: 2.918 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.499/1.499, allocations: 221.5 MB / 395.5 MB, free: 10.76 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009227/0.0009228, allocations: 87.25 kB / 478.2 MB, free: 1.305 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.871e-05/2.885e-05, allocations: 4 kB / 0.5535 GB, free: 8.953 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5128/0.5129, allocations: 82.3 MB / 0.6339 GB, free: 40.73 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8988/1.412, allocations: 339.7 MB / 0.9657 GB, free: 12.32 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002803/1.412, allocations: 73.77 kB / 0.9658 GB, free: 12.28 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.03056/1.443, allocations: 13.26 MB / 0.9787 GB, free: 1.895 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.506e-06/1.443, allocations: 0 / 0.9787 GB, free: 1.895 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.374e-05/1.443, allocations: 4 kB / 0.9787 GB, free: 1.891 MB / 0.6042 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.0005141/1.443, allocations: 342.3 kB / 0.979 GB, free: 1.516 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 7.22e-05/1.443, allocations: 16.02 kB / 0.9791 GB, free: 1.5 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001292/1.444, allocations: 7.844 kB / 0.9791 GB, free: 1.492 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001716/1.444, allocations: 167 kB / 0.9792 GB, free: 1.289 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.038e-05/1.444, allocations: 0 / 0.9792 GB, free: 1.289 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.187e-05/1.444, allocations: 11.94 kB / 0.9792 GB, free: 1.277 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001371/1.444, allocations: 19.8 kB / 0.9793 GB, free: 1.262 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001173/1.444, allocations: 45.44 kB / 0.9793 GB, free: 1.215 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/1.444, allocations: 3.984 kB / 0.9793 GB, free: 1.211 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.944e-05/1.444, allocations: 3.984 kB / 0.9793 GB, free: 1.207 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/1.444, allocations: 4 kB / 0.9793 GB, free: 1.203 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002129/1.444, allocations: 137.8 kB / 0.9794 GB, free: 1.035 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 9.33e-05/1.444, allocations: 49.56 kB / 0.9795 GB, free: 0.9844 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.225e-05/1.445, allocations: 12.86 kB / 0.9795 GB, free: 0.9688 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001015/1.446, allocations: 0.6057 MB / 0.9801 GB, free: 272 kB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.203e-05/1.446, allocations: 37.94 kB / 0.9801 GB, free: 228 kB / 0.6042 GB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/1.446, allocations: 0 / 0.9801 GB, free: 228 kB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0007401/1.446, allocations: 281.6 kB / 0.9804 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.361e-05/1.446, allocations: 55.41 kB / 0.9805 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.36e-05/1.446, allocations: 88.88 kB / 0.9805 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.341e-05/1.447, allocations: 29.7 kB / 0.9806 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.124e-05/1.447, allocations: 84.05 kB / 0.9806 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.804e-05/1.447, allocations: 31.23 kB / 0.9807 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.489e-06/1.447, allocations: 0 / 0.9807 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001863/1.447, allocations: 318.3 kB / 0.981 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.158e-05/1.447, allocations: 11.75 kB / 0.981 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.404e-05/1.447, allocations: 47.58 kB / 0.981 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.405e-05/1.447, allocations: 23.69 kB / 0.9811 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/1.447, allocations: 0 / 0.9811 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000128/1.447, allocations: 76.98 kB / 0.9811 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/1.447, allocations: 4 kB / 0.9811 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/1.447, allocations: 4 kB / 0.9811 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/1.447, allocations: 256 / 0.9811 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.203e-05/1.447, allocations: 23.92 kB / 0.9812 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.34e-05/1.447, allocations: 11.95 kB / 0.9812 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.823e-05/1.447, allocations: 3.938 kB / 0.9812 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-06/1.447, allocations: 12.06 kB / 0.9812 GB, free: 15.07 MB / 0.6198 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 () * 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 0.0001083/1.448, allocations: 106.7 kB / 0.9813 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001082/1.448, allocations: 61.41 kB / 0.9814 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.445e-05/1.448, allocations: 4 kB / 0.9814 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.943e-05/1.448, allocations: 8.156 kB / 0.9814 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/1.448, allocations: 3.953 kB / 0.9814 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.039e-05/1.448, allocations: 3.984 kB / 0.9814 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/1.448, allocations: 0 / 0.9814 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00026/1.448, allocations: 146.1 kB / 0.9815 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-06/1.448, allocations: 4 kB / 0.9815 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.324e-05/1.448, allocations: 15.98 kB / 0.9815 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/1.448, allocations: 4.281 kB / 0.9815 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/1.448, allocations: 0 / 0.9815 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/1.448, allocations: 0 / 0.9815 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/1.448, allocations: 0 / 0.9815 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002077/1.448, allocations: 181.9 kB / 0.9817 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.125e-05/1.448, allocations: 77.11 kB / 0.9818 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.156e-05/1.449, allocations: 4 kB / 0.9818 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.595e-05/1.449, allocations: 4 kB / 0.9818 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.199e-05/1.449, allocations: 7.984 kB / 0.9818 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.041e-06/1.449, allocations: 0 / 0.9818 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.456e-05/1.449, allocations: 87.17 kB / 0.9819 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/1.449, allocations: 0 / 0.9819 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002484/1.449, allocations: 12 kB / 0.9819 GB, free: 14.3 MB / 0.6198 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 () * 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.0005459/1.45, allocations: 0.7118 MB / 0.9826 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001372/1.45, allocations: 43.52 kB / 0.9826 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/1.45, allocations: 0 / 0.9826 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.226e-05/1.45, allocations: 15.94 kB / 0.9826 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000212/1.45, allocations: 1.875 kB / 0.9826 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006783/1.451, allocations: 321.5 kB / 0.983 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002785/1.451, allocations: 0.6854 MB / 0.9836 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.859e-05/1.451, allocations: 8 kB / 0.9836 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.373e-05/1.451, allocations: 19.25 kB / 0.9836 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of SimCode: time 2.51e-07/1.451, allocations: 0 / 0.9836 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02963/1.481, allocations: 1.287 MB / 0.9849 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001778/1.481, allocations: 127.2 kB / 0.985 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.577/3.058, allocations: 0 / 0.985 GB, free: 10.96 MB / 0.6198 GB (rm -f IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Examples_WaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Media_Examples_WaterDerivativeCheck.fmu > IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.pipe 2>&1)