Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Media_Examples_WaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.WaterDerivativeCheck,fileNamePrefix="IDEAS_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.001076/0.001076, allocations: 175.4 kB / 7.648 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7958/0.7958, allocations: 133.6 MB / 141.6 MB, free: 2.93 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.492/1.492, allocations: 221.5 MB / 395.4 MB, free: 10.8 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.000898/0.0008981, allocations: 95.05 kB / 478.2 MB, free: 1.273 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.217e-05/3.234e-05, allocations: 4 kB / 0.5535 GB, free: 8.934 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5862/0.5863, allocations: 82.31 MB / 0.6339 GB, free: 40.74 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8947/1.481, allocations: 339.7 MB / 0.9657 GB, free: 12.29 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002562/1.481, allocations: 75.58 kB / 0.9658 GB, free: 12.25 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.03076/1.512, allocations: 13.27 MB / 0.9787 GB, free: 1.852 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.843e-06/1.512, allocations: 0 / 0.9787 GB, free: 1.852 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.152e-06/1.512, allocations: 0 / 0.9787 GB, free: 1.852 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.0003593/1.513, allocations: 354 kB / 0.9791 GB, free: 1.465 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/1.513, allocations: 8.031 kB / 0.9791 GB, free: 1.457 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.838e-05/1.513, allocations: 7.906 kB / 0.9791 GB, free: 1.449 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/1.513, allocations: 163 kB / 0.9792 GB, free: 1.25 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/1.513, allocations: 0 / 0.9792 GB, free: 1.25 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.283e-05/1.513, allocations: 11.31 kB / 0.9792 GB, free: 1.242 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.239e-05/1.513, allocations: 19.92 kB / 0.9793 GB, free: 1.223 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.508e-05/1.513, allocations: 45.48 kB / 0.9793 GB, free: 1.176 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/1.513, allocations: 8 kB / 0.9793 GB, free: 1.168 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/1.513, allocations: 0 / 0.9793 GB, free: 1.168 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/1.513, allocations: 4 kB / 0.9793 GB, free: 1.164 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001744/1.513, allocations: 138.1 kB / 0.9794 GB, free: 0.9961 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 8.138e-05/1.513, allocations: 45.94 kB / 0.9795 GB, free: 0.9492 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.88e-05/1.513, allocations: 16.97 kB / 0.9795 GB, free: 0.9336 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007639/1.514, allocations: 0.613 MB / 0.9801 GB, free: 228 kB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.839e-05/1.514, allocations: 30.56 kB / 0.9801 GB, free: 188 kB / 0.6042 GB Notification: Performance of pre-optimization done (n=5): time 9.92e-07/1.514, allocations: 0 / 0.9801 GB, free: 188 kB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0005473/1.515, allocations: 285.3 kB / 0.9804 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.919e-05/1.515, allocations: 51.41 kB / 0.9805 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.874e-05/1.515, allocations: 93 kB / 0.9805 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.66e-05/1.515, allocations: 25.7 kB / 0.9806 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.427e-05/1.515, allocations: 87.86 kB / 0.9807 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.481e-05/1.515, allocations: 31.36 kB / 0.9807 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.136e-06/1.515, allocations: 0 / 0.9807 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001252/1.515, allocations: 310.8 kB / 0.981 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.234e-05/1.515, allocations: 11.44 kB / 0.981 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.567e-05/1.515, allocations: 56.33 kB / 0.981 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.317e-05/1.515, allocations: 27.66 kB / 0.9811 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/1.515, allocations: 0 / 0.9811 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001161/1.515, allocations: 72.94 kB / 0.9811 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/1.515, allocations: 12.12 kB / 0.9812 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/1.515, allocations: 0 / 0.9812 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/1.516, allocations: 4 kB / 0.9812 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.926e-05/1.516, allocations: 23.92 kB / 0.9812 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.994e-06/1.516, allocations: 3.953 kB / 0.9812 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.286e-05/1.516, allocations: 4 kB / 0.9812 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.346e-06/1.516, allocations: 7.938 kB / 0.9812 GB, free: 15.03 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 6.625e-05/1.516, allocations: 101 kB / 0.9813 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.962e-05/1.516, allocations: 65.41 kB / 0.9814 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.48e-05/1.516, allocations: 4 kB / 0.9814 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.212e-05/1.516, allocations: 8.156 kB / 0.9814 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.091e-05/1.516, allocations: 11.94 kB / 0.9814 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/1.516, allocations: 0 / 0.9814 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/1.516, allocations: 0 / 0.9814 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000217/1.516, allocations: 142 kB / 0.9815 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.085e-06/1.516, allocations: 4 kB / 0.9815 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.662e-05/1.516, allocations: 15.98 kB / 0.9815 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/1.516, allocations: 0 / 0.9815 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.655e-06/1.516, allocations: 0 / 0.9815 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/1.516, allocations: 256 / 0.9815 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/1.516, allocations: 4 kB / 0.9815 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001793/1.517, allocations: 178.4 kB / 0.9817 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.366e-05/1.517, allocations: 85.11 kB / 0.9818 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.465e-05/1.517, allocations: 0 / 0.9818 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.689e-05/1.517, allocations: 0 / 0.9818 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.327e-05/1.517, allocations: 7.984 kB / 0.9818 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.615e-06/1.517, allocations: 4 kB / 0.9818 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.123e-05/1.517, allocations: 86.92 kB / 0.9819 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.31e-07/1.517, allocations: 0 / 0.9819 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000232/1.517, allocations: 12 kB / 0.9819 GB, free: 14.26 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.0004712/1.518, allocations: 0.7195 MB / 0.9826 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 9.57e-05/1.518, allocations: 39.42 kB / 0.9826 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/1.518, allocations: 4 kB / 0.9826 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.676e-05/1.518, allocations: 11.94 kB / 0.9826 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001805/1.518, allocations: 8.25 kB / 0.9827 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006688/1.519, allocations: 309.4 kB / 0.9829 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002964/1.519, allocations: 0.6932 MB / 0.9836 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.746e-05/1.519, allocations: 4 kB / 0.9836 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.356e-05/1.519, allocations: 14.88 kB / 0.9836 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of SimCode: time 2.71e-07/1.519, allocations: 0 / 0.9836 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02081/1.54, allocations: 1.285 MB / 0.9849 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002437/1.54, allocations: 122.9 kB / 0.985 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.582/3.123, allocations: 0 / 0.985 GB, free: 10.93 MB / 0.6198 GB (rm -f IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Examples_WaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Media_Examples_WaterDerivativeCheck.fmu > IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.pipe 2>&1)