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.006659/0.006659, allocations: 173.4 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.816/0.816, allocations: 135.2 MB / 151 MB, free: 13.81 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.478/1.478, allocations: 223.2 MB / 406.8 MB, free: 3.219 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.001042/0.001042, allocations: 93.47 kB / 489.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000506/0.0005057, allocations: 8 kB / 0.5691 GB, free: 14.04 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4811/0.4816, allocations: 82.3 MB / 0.6495 GB, free: 36.08 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7785/1.26, allocations: 340.5 MB / 0.982 GB, free: 484 kB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002814/1.261, allocations: 70.53 kB / 0.9821 GB, free: 444 kB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.03005/1.291, allocations: 13.39 MB / 0.9952 GB, free: 5.805 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.424e-06/1.291, allocations: 0 / 0.9952 GB, free: 5.805 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.763e-06/1.291, allocations: 0 / 0.9952 GB, free: 5.805 MB / 0.6355 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.000372/1.291, allocations: 350.8 kB / 0.9955 GB, free: 5.418 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/1.291, allocations: 15.97 kB / 0.9955 GB, free: 5.402 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.688e-05/1.291, allocations: 49.98 kB / 0.9955 GB, free: 5.348 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.188e-05/1.291, allocations: 7.906 kB / 0.9956 GB, free: 5.34 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000119/1.291, allocations: 163 kB / 0.9957 GB, free: 5.141 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/1.291, allocations: 4 kB / 0.9957 GB, free: 5.137 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.327e-05/1.291, allocations: 7.438 kB / 0.9957 GB, free: 5.133 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001266/1.292, allocations: 49.3 kB / 0.9958 GB, free: 5.082 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/1.292, allocations: 0 / 0.9958 GB, free: 5.082 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/1.292, allocations: 3.688 kB / 0.9958 GB, free: 5.082 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/1.292, allocations: 0 / 0.9958 GB, free: 5.082 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.34e-05/1.292, allocations: 23.92 kB / 0.9958 GB, free: 5.059 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000187/1.292, allocations: 169 kB / 0.996 GB, free: 4.852 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.64e-05/1.292, allocations: 45.88 kB / 0.996 GB, free: 4.805 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007336/1.293, allocations: 0.5936 MB / 0.9966 GB, free: 4.117 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.374e-05/1.293, allocations: 41.94 kB / 0.9966 GB, free: 4.07 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/1.293, allocations: 3.938 kB / 0.9966 GB, free: 4.066 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0006041/1.293, allocations: 303 kB / 0.9969 GB, free: 3.742 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.86e-05/1.293, allocations: 51.41 kB / 0.997 GB, free: 3.68 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.662e-05/1.293, allocations: 96.97 kB / 0.9971 GB, free: 3.578 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.051e-05/1.293, allocations: 29.2 kB / 0.9971 GB, free: 3.547 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.495e-05/1.294, allocations: 84.05 kB / 0.9972 GB, free: 3.461 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.403e-05/1.294, allocations: 31.25 kB / 0.9972 GB, free: 3.434 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.739e-06/1.294, allocations: 3.875 kB / 0.9972 GB, free: 3.434 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001367/1.294, allocations: 318.8 kB / 0.9975 GB, free: 3.113 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.517e-05/1.294, allocations: 11.62 kB / 0.9975 GB, free: 3.105 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.815e-05/1.294, allocations: 52.39 kB / 0.9976 GB, free: 3.043 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.426e-05/1.294, allocations: 23.8 kB / 0.9976 GB, free: 3.023 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/1.294, allocations: 3.938 kB / 0.9976 GB, free: 3.02 MB / 0.6355 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001286/1.294, allocations: 87.62 kB / 0.9977 GB, free: 2.941 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/1.294, allocations: 11.98 kB / 0.9977 GB, free: 2.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/1.294, allocations: 0 / 0.9977 GB, free: 2.93 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/1.294, allocations: 7.953 kB / 0.9977 GB, free: 2.922 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.512e-05/1.294, allocations: 16.12 kB / 0.9977 GB, free: 2.906 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/1.294, allocations: 4 kB / 0.9977 GB, free: 2.902 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.602e-05/1.294, allocations: 7.875 kB / 0.9977 GB, free: 2.898 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-06/1.294, allocations: 4 kB / 0.9977 GB, free: 2.895 MB / 0.6355 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 9.104e-05/1.294, allocations: 121.7 kB / 0.9978 GB, free: 2.77 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.557e-05/1.294, allocations: 3.906 kB / 0.9978 GB, free: 2.766 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.425e-05/1.294, allocations: 11.91 kB / 0.9979 GB, free: 2.758 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/1.294, allocations: 0 / 0.9979 GB, free: 2.758 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/1.294, allocations: 3.953 kB / 0.9979 GB, free: 2.754 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.287e-06/1.294, allocations: 4.438 kB / 0.9979 GB, free: 2.75 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002441/1.295, allocations: 177.4 kB / 0.998 GB, free: 2.535 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/1.295, allocations: 0 / 0.998 GB, free: 2.535 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.79e-05/1.295, allocations: 19.98 kB / 0.998 GB, free: 2.516 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/1.295, allocations: 4 kB / 0.9981 GB, free: 2.512 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/1.295, allocations: 0 / 0.9981 GB, free: 2.512 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/1.295, allocations: 0 / 0.9981 GB, free: 2.512 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/1.295, allocations: 0 / 0.9981 GB, free: 2.512 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001786/1.295, allocations: 167.1 kB / 0.9982 GB, free: 2.344 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.627e-05/1.295, allocations: 93.05 kB / 0.9983 GB, free: 2.234 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.379e-05/1.295, allocations: 3.938 kB / 0.9983 GB, free: 2.234 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.957e-05/1.295, allocations: 4 kB / 0.9983 GB, free: 2.23 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.497e-05/1.295, allocations: 3.984 kB / 0.9983 GB, free: 2.227 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.245e-06/1.295, allocations: 7.938 kB / 0.9983 GB, free: 2.219 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.764e-05/1.295, allocations: 82.98 kB / 0.9984 GB, free: 2.141 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1e-07/1.295, allocations: 0 / 0.9984 GB, free: 2.141 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002291/1.296, allocations: 12 kB / 0.9984 GB, free: 2.129 MB / 0.6355 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.0005379/1.296, allocations: 0.7363 MB / 0.9991 GB, free: 1.387 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000109/1.296, allocations: 47.22 kB / 0.9992 GB, free: 1.344 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/1.296, allocations: 0 / 0.9992 GB, free: 1.344 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.468e-05/1.296, allocations: 15.56 kB / 0.9992 GB, free: 1.332 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001669/1.296, allocations: 7.547 kB / 0.9992 GB, free: 1.328 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001288/1.298, allocations: 1.423 MB / 1.001 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002857/1.298, allocations: 0.6887 MB / 1.001 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 6.017e-05/1.298, allocations: 11.98 kB / 1.001 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.604e-05/1.298, allocations: 14.88 kB / 1.001 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of SimCode: time 2.11e-07/1.298, allocations: 0 / 1.001 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01266/1.311, allocations: 1.763 MB / 1.003 GB, free: 13.47 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002035/1.311, allocations: 167.5 kB / 1.003 GB, free: 13.22 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.569/2.88, allocations: 0 / 1.003 GB, free: 13.22 MB / 0.6511 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)