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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008562/0.0008564, allocations: 91.61 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009881/0.0009881, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9873/0.9873, allocations: 135.3 MB / 426.3 MB, free: 14.28 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000333/0.000333, allocations: 15.98 kB / 0.5071 GB, free: 5.156 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1833/0.1837, allocations: 82.32 MB / 0.5875 GB, free: 3.008 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterDerivativeCheck): time 0.001903/0.1857, allocations: 0.9783 MB / 0.5884 GB, free: 2.016 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004421/0.1901, allocations: 3.046 MB / 0.5914 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.763e-05/0.1902, allocations: 3.938 kB / 0.5914 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.127e-05/0.1902, allocations: 0 / 0.5914 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.906e-05/0.1903, allocations: 3.938 kB / 0.5914 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004986/0.1908, allocations: 79.62 kB / 0.5915 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.803e-05/0.1909, allocations: 43.84 kB / 0.5915 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.451e-05/0.191, allocations: 4 kB / 0.5915 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.471e-05/0.191, allocations: 19.97 kB / 0.5915 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.895e-05/0.1911, allocations: 15.92 kB / 0.5915 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.631e-05/0.1912, allocations: 4 kB / 0.5916 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002253/0.1914, allocations: 51.84 kB / 0.5916 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.869e-05/0.1914, allocations: 11.98 kB / 0.5916 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.525e-05/0.1915, allocations: 29.7 kB / 0.5916 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001335/0.1916, allocations: 32.17 kB / 0.5917 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.235e-06/0.1916, allocations: 4 kB / 0.5917 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.064e-06/0.1916, allocations: 4 kB / 0.5917 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.1916, allocations: 0 / 0.5917 GB, free: 14.64 MB / 0.4981 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.0004936/0.1921, allocations: 335.3 kB / 0.592 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.713e-05/0.1922, allocations: 8.031 kB / 0.592 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.598e-05/0.1923, allocations: 34.56 kB / 0.592 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001283/0.1924, allocations: 15.88 kB / 0.5921 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/0.1925, allocations: 167 kB / 0.5922 GB, free: 14 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.1926, allocations: 0 / 0.5922 GB, free: 14 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.126e-05/0.1926, allocations: 8 kB / 0.5922 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001683/0.1928, allocations: 57.66 kB / 0.5923 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.1928, allocations: 3.984 kB / 0.5923 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.1928, allocations: 0 / 0.5923 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.1928, allocations: 0 / 0.5923 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.65e-05/0.1929, allocations: 27.92 kB / 0.5923 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002304/0.1931, allocations: 177.5 kB / 0.5925 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001033/0.1933, allocations: 50.5 kB / 0.5925 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.5e-05/0.1933, allocations: 16.86 kB / 0.5925 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007882/0.1941, allocations: 0.5871 MB / 0.5931 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.376e-05/0.1941, allocations: 30.56 kB / 0.5931 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/0.1941, allocations: 0 / 0.5931 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0007607/0.1949, allocations: 322.1 kB / 0.5935 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.297e-05/0.195, allocations: 51.41 kB / 0.5935 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.1951, allocations: 97.84 kB / 0.5936 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.673e-05/0.1951, allocations: 29.7 kB / 0.5936 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.875e-05/0.1952, allocations: 84.05 kB / 0.5937 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.888e-05/0.1952, allocations: 27.64 kB / 0.5937 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.31e-06/0.1952, allocations: 0 / 0.5937 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.1954, allocations: 318.8 kB / 0.594 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.009e-05/0.1954, allocations: 16 kB / 0.594 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.148e-05/0.1955, allocations: 45.14 kB / 0.5941 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.132e-05/0.1955, allocations: 23.98 kB / 0.5941 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.1955, allocations: 0 / 0.5941 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001442/0.1957, allocations: 101.4 kB / 0.5942 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.335e-05/0.1957, allocations: 14.3 kB / 0.5942 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.1957, allocations: 0 / 0.5942 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/0.1958, allocations: 4 kB / 0.5942 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.548e-05/0.1958, allocations: 16 kB / 0.5942 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/0.1959, allocations: 0 / 0.5942 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.853e-05/0.1959, allocations: 11.94 kB / 0.5943 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.1959, allocations: 4 kB / 0.5943 GB, free: 11.61 MB / 0.4981 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 0.0001126/0.196, allocations: 125.9 kB / 0.5944 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.409e-05/0.1961, allocations: 0 / 0.5944 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.819e-05/0.1961, allocations: 15.92 kB / 0.5944 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.1961, allocations: 0 / 0.5944 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.1961, allocations: 0 / 0.5944 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.1962, allocations: 0 / 0.5944 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002599/0.1964, allocations: 173.6 kB / 0.5946 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.1964, allocations: 288 / 0.5946 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.27e-05/0.1965, allocations: 19.98 kB / 0.5946 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.1965, allocations: 4 kB / 0.5946 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.377e-06/0.1965, allocations: 4.438 kB / 0.5946 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.1966, allocations: 4.031 kB / 0.5946 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.1966, allocations: 3.984 kB / 0.5946 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002189/0.1968, allocations: 179.3 kB / 0.5948 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.727e-05/0.1969, allocations: 85.11 kB / 0.5948 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.486e-05/0.1969, allocations: 0 / 0.5948 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.457e-05/0.197, allocations: 4 kB / 0.5948 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.566e-05/0.197, allocations: 11.94 kB / 0.5949 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.855e-06/0.197, allocations: 8 kB / 0.5949 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.738e-05/0.1971, allocations: 75.28 kB / 0.5949 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1971, allocations: 0 / 0.5949 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002299/0.1973, allocations: 16 kB / 0.595 GB, free: 10.8 MB / 0.4981 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.0004296/0.1977, allocations: 0.7123 MB / 0.5957 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001162/0.1979, allocations: 35.97 kB / 0.5957 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.1979, allocations: 0 / 0.5957 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.455e-05/0.1979, allocations: 19.98 kB / 0.5957 GB, free: 10 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002956/0.1982, allocations: 9.266 kB / 0.5957 GB, free: 9.992 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009719/0.1992, allocations: 0.6768 MB / 0.5964 GB, free: 9.25 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002281/0.1994, allocations: 0.6848 MB / 0.597 GB, free: 8.539 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.407e-05/0.1995, allocations: 8.062 kB / 0.5971 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.055e-05/0.1995, allocations: 19.48 kB / 0.5971 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1995, allocations: 0 / 0.5971 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.012/0.2115, allocations: 1.405 MB / 0.5984 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002504/0.2118, allocations: 169 kB / 0.5986 GB, free: 7 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.708/1.92, allocations: 3.938 kB / 0.5986 GB, free: 6.996 MB / 0.4981 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) Environment - environmentSimulation: