Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.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.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",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.0009553/0.0009557, allocations: 91.06 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.000856/0.000856, 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.47/1.47, allocations: 223.3 MB / 240 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.096/1.096, allocations: 135.3 MB / 426.3 MB, free: 14.2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004838/0.0004839, allocations: 8 kB / 0.5071 GB, free: 5.02 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2253/0.2258, allocations: 82.31 MB / 0.5875 GB, free: 2.879 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.0013/0.2271, allocations: 0.9783 MB / 0.5884 GB, free: 1.887 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002741/0.2299, allocations: 2.343 MB / 0.5907 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.584e-05/0.2299, allocations: 0 / 0.5907 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.549e-05/0.23, allocations: 0 / 0.5907 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.933e-05/0.23, allocations: 15.92 kB / 0.5907 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004547/0.2305, allocations: 101.4 kB / 0.5908 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.32e-05/0.2306, allocations: 27.86 kB / 0.5908 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.681e-05/0.2306, allocations: 7.984 kB / 0.5909 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.146e-05/0.2307, allocations: 15.98 kB / 0.5909 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.365e-05/0.2307, allocations: 15.92 kB / 0.5909 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.157e-05/0.2308, allocations: 0 / 0.5909 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000249/0.231, allocations: 95.81 kB / 0.591 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.466e-05/0.231, allocations: 4 kB / 0.591 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.047e-05/0.2311, allocations: 33.64 kB / 0.591 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001377/0.2312, allocations: 60.08 kB / 0.5911 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.2312, allocations: 0 / 0.5911 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.683e-06/0.2312, allocations: 0 / 0.5911 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.2313, allocations: 0 / 0.5911 GB, free: 15.16 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.0003948/0.2317, allocations: 339.3 kB / 0.5914 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.2317, allocations: 16.03 kB / 0.5914 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.866e-05/0.2318, allocations: 30.56 kB / 0.5914 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002052/0.232, allocations: 15.98 kB / 0.5914 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001091/0.2321, allocations: 167 kB / 0.5916 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.586e-06/0.2321, allocations: 0 / 0.5916 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.657e-05/0.2321, allocations: 8 kB / 0.5916 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001455/0.2323, allocations: 68.19 kB / 0.5917 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.2323, allocations: 0 / 0.5917 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.2323, allocations: 8 kB / 0.5917 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.2323, allocations: 4 kB / 0.5917 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.408e-05/0.2324, allocations: 15.86 kB / 0.5917 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006727/0.2331, allocations: 470.9 kB / 0.5922 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000128/0.2332, allocations: 71.75 kB / 0.5922 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.328e-05/0.2332, allocations: 26.7 kB / 0.5923 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.667e-06/0.2333, allocations: 0 / 0.5923 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.922e-05/0.2333, allocations: 42.5 kB / 0.5923 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.2333, allocations: 0 / 0.5923 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0006187/0.2339, allocations: 310.3 kB / 0.5926 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.089e-05/0.234, allocations: 102.8 kB / 0.5927 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.075e-05/0.2341, allocations: 105.8 kB / 0.5928 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.12e-05/0.2341, allocations: 29.95 kB / 0.5928 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.426e-05/0.2342, allocations: 88.12 kB / 0.5929 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.215e-05/0.2342, allocations: 27.56 kB / 0.5929 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.57e-06/0.2342, allocations: 4 kB / 0.5929 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.2343, allocations: 314.8 kB / 0.5932 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.628e-05/0.2343, allocations: 15.94 kB / 0.5932 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.852e-05/0.2344, allocations: 49.14 kB / 0.5933 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.133e-05/0.2345, allocations: 31.92 kB / 0.5933 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.2345, allocations: 0 / 0.5933 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001276/0.2346, allocations: 89.47 kB / 0.5934 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.2346, allocations: 7.984 kB / 0.5934 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.2346, allocations: 4 kB / 0.5934 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.2347, allocations: 4.078 kB / 0.5934 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.97e-05/0.2347, allocations: 28 kB / 0.5934 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.351e-06/0.2348, allocations: 0 / 0.5934 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.711e-05/0.2348, allocations: 4 kB / 0.5935 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/0.2348, allocations: 4 kB / 0.5935 GB, free: 12.36 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 8.461e-05/0.2349, allocations: 117.8 kB / 0.5936 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.505e-05/0.235, allocations: 4 kB / 0.5936 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.219e-05/0.235, allocations: 11.56 kB / 0.5936 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.235, allocations: 0 / 0.5936 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.235, allocations: 7.953 kB / 0.5936 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.235, allocations: 0 / 0.5936 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003134/0.2353, allocations: 177.7 kB / 0.5938 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.2354, allocations: 0 / 0.5938 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.174e-05/0.2354, allocations: 20.05 kB / 0.5938 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.2354, allocations: 4 kB / 0.5938 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.2355, allocations: 0 / 0.5938 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.2355, allocations: 0 / 0.5938 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.2355, allocations: 3.938 kB / 0.5938 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002421/0.2357, allocations: 341.9 kB / 0.5941 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.217e-05/0.2358, allocations: 81.11 kB / 0.5942 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.359e-05/0.2358, allocations: 0 / 0.5942 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001576/0.236, allocations: 8.031 kB / 0.5942 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.487e-05/0.236, allocations: 11.95 kB / 0.5942 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.523e-06/0.236, allocations: 3.938 kB / 0.5942 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.682e-05/0.2361, allocations: 79.28 kB / 0.5943 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2361, allocations: 4 kB / 0.5943 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003029/0.2364, allocations: 16 kB / 0.5943 GB, free: 11.39 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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.0005273/0.2369, allocations: 0.8599 MB / 0.5951 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001182/0.237, allocations: 48.05 kB / 0.5952 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.237, allocations: 0 / 0.5952 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.467e-05/0.2371, allocations: 12 kB / 0.5952 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000441/0.2375, allocations: 8 kB / 0.5952 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001116/0.2386, allocations: 0.6972 MB / 0.5959 GB, free: 9.664 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002584/0.2389, allocations: 0.6849 MB / 0.5966 GB, free: 8.953 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.569e-05/0.239, allocations: 7.984 kB / 0.5966 GB, free: 8.945 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.063e-05/0.239, allocations: 19.5 kB / 0.5966 GB, free: 8.926 MB / 0.4981 GB Notification: Performance of SimCode: time 3.71e-07/0.239, allocations: 3.938 kB / 0.5966 GB, free: 8.922 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01246/0.2515, allocations: 1.467 MB / 0.598 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002046/0.2518, allocations: 224 kB / 0.5982 GB, free: 7.434 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.776/2.028, allocations: 0 / 0.5982 GB, free: 7.434 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.fmu > IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: