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.00142/0.00142, allocations: 174.8 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.8464/0.8464, allocations: 133.4 MB / 146.7 MB, free: 10.78 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.691/1.691, allocations: 221.3 MB / 400.4 MB, free: 5.832 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.0009035/0.0009034, allocations: 101.2 kB / 483.3 MB, free: 5.871 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.237e-05/4.287e-05, allocations: 6.5 kB / 0.5601 GB, free: 87.85 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.176/0.176, allocations: 82.31 MB / 0.6405 GB, free: 7.746 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.393/1.569, allocations: 340.4 MB / 0.9729 GB, free: 263.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003614/1.569, allocations: 68.64 kB / 0.973 GB, free: 263.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03541/1.604, allocations: 13.34 MB / 0.986 GB, free: 260.4 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.693e-06/1.605, allocations: 0 / 0.986 GB, free: 260.4 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.02e-05/1.605, allocations: 1.562 kB / 0.986 GB, free: 260.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.000404/1.605, allocations: 352.3 kB / 0.9863 GB, free: 260 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.286e-05/1.605, allocations: 9.031 kB / 0.9864 GB, free: 260 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.323e-05/1.605, allocations: 36.25 kB / 0.9864 GB, free: 260 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001324/1.605, allocations: 7.5 kB / 0.9864 GB, free: 260 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001122/1.605, allocations: 172.3 kB / 0.9866 GB, free: 259.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.569e-05/1.605, allocations: 1.312 kB / 0.9866 GB, free: 259.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.903e-05/1.605, allocations: 3.281 kB / 0.9866 GB, free: 259.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001428/1.606, allocations: 54.11 kB / 0.9866 GB, free: 259.7 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/1.606, allocations: 5.5 kB / 0.9866 GB, free: 259.7 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.456e-05/1.606, allocations: 3.938 kB / 0.9866 GB, free: 259.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/1.606, allocations: 5.453 kB / 0.9866 GB, free: 259.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.871e-05/1.606, allocations: 19.5 kB / 0.9867 GB, free: 259.7 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002549/1.606, allocations: 161.1 kB / 0.9868 GB, free: 259.5 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001225/1.606, allocations: 49.97 kB / 0.9869 GB, free: 259.5 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.829e-05/1.606, allocations: 16.67 kB / 0.9869 GB, free: 259.5 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001015/1.607, allocations: 0.621 MB / 0.9875 GB, free: 258.8 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.592e-05/1.607, allocations: 31.44 kB / 0.9875 GB, free: 258.8 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=5): time 2.555e-06/1.607, allocations: 0 / 0.9875 GB, free: 258.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0008092/1.608, allocations: 296.1 kB / 0.9878 GB, free: 258.5 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.569e-05/1.608, allocations: 59.86 kB / 0.9878 GB, free: 258.5 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.477e-05/1.608, allocations: 88.56 kB / 0.9879 GB, free: 258.4 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.581e-05/1.608, allocations: 30.98 kB / 0.988 GB, free: 258.3 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.869e-05/1.608, allocations: 85.45 kB / 0.988 GB, free: 258.2 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.352e-05/1.608, allocations: 33.81 kB / 0.9881 GB, free: 258.2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.339e-06/1.608, allocations: 1.062 kB / 0.9881 GB, free: 258.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001602/1.609, allocations: 315.9 kB / 0.9884 GB, free: 257.9 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.275e-05/1.609, allocations: 13.81 kB / 0.9884 GB, free: 257.9 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.407e-05/1.609, allocations: 53.53 kB / 0.9884 GB, free: 257.8 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.129e-05/1.609, allocations: 17.97 kB / 0.9885 GB, free: 257.8 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/1.609, allocations: 1.156 kB / 0.9885 GB, free: 257.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002462/1.609, allocations: 95.25 kB / 0.9885 GB, free: 257.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.026e-05/1.609, allocations: 5.938 kB / 0.9886 GB, free: 257.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/1.609, allocations: 2.656 kB / 0.9886 GB, free: 257.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.525e-05/1.609, allocations: 5.266 kB / 0.9886 GB, free: 257.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/1.609, allocations: 24.88 kB / 0.9886 GB, free: 257.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.808e-05/1.609, allocations: 2.094 kB / 0.9886 GB, free: 257.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.886e-05/1.609, allocations: 5.312 kB / 0.9886 GB, free: 257.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.543e-05/1.609, allocations: 8.094 kB / 0.9886 GB, free: 257.8 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 9.467e-05/1.609, allocations: 107.7 kB / 0.9887 GB, free: 257.7 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.244e-05/1.609, allocations: 6.938 kB / 0.9887 GB, free: 257.7 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.633e-05/1.61, allocations: 13.16 kB / 0.9887 GB, free: 257.6 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/1.61, allocations: 3.953 kB / 0.9887 GB, free: 257.6 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/1.61, allocations: 1.312 kB / 0.9887 GB, free: 257.6 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/1.61, allocations: 256 / 0.9887 GB, free: 257.6 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002963/1.61, allocations: 173.6 kB / 0.9889 GB, free: 257.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/1.61, allocations: 4.281 kB / 0.9889 GB, free: 257.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.946e-05/1.61, allocations: 13.72 kB / 0.9889 GB, free: 257.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/1.61, allocations: 0 / 0.9889 GB, free: 257.4 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.446e-05/1.61, allocations: 9.219 kB / 0.9889 GB, free: 257.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/1.61, allocations: 0 / 0.9889 GB, free: 257.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/1.61, allocations: 9.016 kB / 0.9889 GB, free: 257.4 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002648/1.61, allocations: 169.5 kB / 0.9891 GB, free: 257.3 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.562e-05/1.61, allocations: 87.33 kB / 0.9892 GB, free: 257.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.096e-05/1.61, allocations: 1.125 kB / 0.9892 GB, free: 257.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/1.611, allocations: 6.625 kB / 0.9892 GB, free: 257.2 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.518e-05/1.611, allocations: 5.25 kB / 0.9892 GB, free: 257.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.649e-05/1.611, allocations: 10.17 kB / 0.9892 GB, free: 257.2 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.184e-05/1.611, allocations: 77.75 kB / 0.9893 GB, free: 257.1 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/1.611, allocations: 1.438 kB / 0.9893 GB, free: 257.1 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000283/1.611, allocations: 14.69 kB / 0.9893 GB, free: 257.1 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.0006874/1.612, allocations: 0.7256 MB / 0.99 GB, free: 256.4 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001772/1.612, allocations: 36.31 kB / 0.99 GB, free: 256.4 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/1.612, allocations: 4.25 kB / 0.99 GB, free: 256.4 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 3.935e-05/1.612, allocations: 22.62 kB / 0.9901 GB, free: 256.4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002185/1.612, allocations: 5.312 kB / 0.9901 GB, free: 256.4 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000913/1.613, allocations: 329.1 kB / 0.9904 GB, free: 256.1 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003577/1.613, allocations: 0.6869 MB / 0.991 GB, free: 255.4 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 7.014e-05/1.613, allocations: 8.312 kB / 0.9911 GB, free: 255.4 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.078e-05/1.614, allocations: 14.53 kB / 0.9911 GB, free: 255.4 MB / 0.6823 GB Notification: Performance of SimCode: time 2.3e-07/1.614, allocations: 0 / 0.9911 GB, free: 255.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01443/1.628, allocations: 1.817 MB / 0.9928 GB, free: 255.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001695/1.628, allocations: 145.4 kB / 0.993 GB, free: 254.9 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.678/3.306, allocations: 0 / 0.993 GB, free: 254.9 MB / 0.6823 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)