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.001238/0.001238, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7863/0.7863, allocations: 133.4 MB / 146.7 MB, free: 10.8 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.56/1.56, allocations: 221.3 MB / 400.4 MB, free: 5.828 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008531/0.0008532, allocations: 97.3 kB / 483.3 MB, free: 5.875 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 7.571e-05/7.622e-05, allocations: 2.594 kB / 0.5601 GB, free: 87.86 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1911/0.1912, allocations: 82.3 MB / 0.6405 GB, free: 7.746 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.437/1.629, allocations: 340.4 MB / 0.9729 GB, free: 209.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002426/1.629, allocations: 69.64 kB / 0.973 GB, free: 209.6 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03349/1.662, allocations: 13.34 MB / 0.986 GB, free: 208.4 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.623e-06/1.662, allocations: 0 / 0.986 GB, free: 208.4 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.215e-06/1.662, allocations: 5.531 kB / 0.986 GB, free: 208.4 MB / 0.6823 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.000325/1.663, allocations: 345.1 kB / 0.9863 GB, free: 208 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.009e-05/1.663, allocations: 9.812 kB / 0.9864 GB, free: 208 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.193e-05/1.663, allocations: 32.66 kB / 0.9864 GB, free: 208 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001164/1.663, allocations: 9.484 kB / 0.9864 GB, free: 208 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001022/1.663, allocations: 170.9 kB / 0.9866 GB, free: 207.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/1.663, allocations: 7.453 kB / 0.9866 GB, free: 207.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.702e-05/1.663, allocations: 7.844 kB / 0.9866 GB, free: 207.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001403/1.663, allocations: 51.2 kB / 0.9866 GB, free: 207.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/1.663, allocations: 0 / 0.9866 GB, free: 207.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/1.663, allocations: 1.438 kB / 0.9866 GB, free: 207.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.263e-06/1.663, allocations: 1.469 kB / 0.9866 GB, free: 207.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.213e-05/1.663, allocations: 22.23 kB / 0.9866 GB, free: 207.8 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001894/1.664, allocations: 165 kB / 0.9868 GB, free: 207.6 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 9.663e-05/1.664, allocations: 60.88 kB / 0.9869 GB, free: 207.5 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.149e-05/1.664, allocations: 16.97 kB / 0.9869 GB, free: 207.5 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00072/1.665, allocations: 0.6147 MB / 0.9875 GB, free: 206.9 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.8e-05/1.665, allocations: 32.44 kB / 0.9875 GB, free: 206.9 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=5): time 1.393e-06/1.665, allocations: 0 / 0.9875 GB, free: 206.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0006328/1.665, allocations: 306.2 kB / 0.9878 GB, free: 206.6 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.131e-05/1.665, allocations: 51.41 kB / 0.9878 GB, free: 206.5 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.179e-05/1.665, allocations: 92.5 kB / 0.9879 GB, free: 206.4 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/1.665, allocations: 27.36 kB / 0.988 GB, free: 206.4 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.571e-05/1.665, allocations: 87.67 kB / 0.988 GB, free: 206.3 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.357e-05/1.665, allocations: 30.03 kB / 0.9881 GB, free: 206.3 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.597e-06/1.665, allocations: 0 / 0.9881 GB, free: 206.3 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.74e-05/1.666, allocations: 323.1 kB / 0.9884 GB, free: 206 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.425e-05/1.666, allocations: 12.47 kB / 0.9884 GB, free: 206 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.664e-05/1.666, allocations: 49.12 kB / 0.9884 GB, free: 205.9 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.882e-05/1.666, allocations: 21.05 kB / 0.9885 GB, free: 205.9 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/1.666, allocations: 1.531 kB / 0.9885 GB, free: 205.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001674/1.666, allocations: 89.42 kB / 0.9885 GB, free: 205.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/1.666, allocations: 6.062 kB / 0.9886 GB, free: 205.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/1.666, allocations: 1.438 kB / 0.9886 GB, free: 205.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.268e-05/1.666, allocations: 10.77 kB / 0.9886 GB, free: 205.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.712e-05/1.666, allocations: 23.5 kB / 0.9886 GB, free: 205.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/1.666, allocations: 1.625 kB / 0.9886 GB, free: 205.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.385e-05/1.666, allocations: 5.75 kB / 0.9886 GB, free: 205.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.271e-05/1.666, allocations: 8.188 kB / 0.9886 GB, free: 205.9 MB / 0.6823 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 7.776e-05/1.666, allocations: 109.8 kB / 0.9887 GB, free: 205.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.602e-05/1.666, allocations: 7.969 kB / 0.9887 GB, free: 205.8 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.19e-05/1.666, allocations: 10.25 kB / 0.9887 GB, free: 205.8 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/1.666, allocations: 5.453 kB / 0.9887 GB, free: 205.8 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/1.666, allocations: 0 / 0.9887 GB, free: 205.8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/1.666, allocations: 0 / 0.9887 GB, free: 205.8 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000243/1.667, allocations: 172.9 kB / 0.9889 GB, free: 205.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/1.667, allocations: 0 / 0.9889 GB, free: 205.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.765e-05/1.667, allocations: 20.42 kB / 0.9889 GB, free: 205.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/1.667, allocations: 288 / 0.9889 GB, free: 205.6 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/1.667, allocations: 2.125 kB / 0.9889 GB, free: 205.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/1.667, allocations: 0 / 0.9889 GB, free: 205.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/1.667, allocations: 7.891 kB / 0.9889 GB, free: 205.6 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002069/1.667, allocations: 174.6 kB / 0.9891 GB, free: 205.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.088e-05/1.667, allocations: 83.73 kB / 0.9892 GB, free: 205.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.964e-05/1.667, allocations: 4.938 kB / 0.9892 GB, free: 205.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.779e-05/1.667, allocations: 9.797 kB / 0.9892 GB, free: 205.3 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.372e-05/1.667, allocations: 6.031 kB / 0.9892 GB, free: 205.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-06/1.667, allocations: 5.234 kB / 0.9892 GB, free: 205.3 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.465e-05/1.667, allocations: 85.23 kB / 0.9893 GB, free: 205.2 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.5e-07/1.667, allocations: 1.156 kB / 0.9893 GB, free: 205.2 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002504/1.668, allocations: 11.09 kB / 0.9893 GB, free: 205.2 MB / 0.6823 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.000504/1.668, allocations: 0.7146 MB / 0.99 GB, free: 204.6 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001489/1.668, allocations: 50.92 kB / 0.99 GB, free: 204.6 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/1.668, allocations: 0 / 0.99 GB, free: 204.6 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 3.088e-05/1.668, allocations: 15.44 kB / 0.99 GB, free: 204.6 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001856/1.668, allocations: 3.734 kB / 0.9901 GB, free: 204.6 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007635/1.669, allocations: 329.4 kB / 0.9904 GB, free: 204.3 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002011/1.669, allocations: 0.6855 MB / 0.991 GB, free: 203.6 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 6.468e-05/1.669, allocations: 7.406 kB / 0.991 GB, free: 203.6 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.189e-05/1.67, allocations: 18.95 kB / 0.9911 GB, free: 203.6 MB / 0.6823 GB Notification: Performance of SimCode: time 3.8e-07/1.67, allocations: 0 / 0.9911 GB, free: 203.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01666/1.686, allocations: 1.812 MB / 0.9928 GB, free: 203.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001603/1.686, allocations: 139.1 kB / 0.993 GB, free: 203.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.609/3.296, allocations: 0 / 0.993 GB, free: 203.2 MB / 0.6823 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)