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.001807/0.001807, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002307/0.002307, allocations: 193.8 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.99/1.99, allocations: 222.9 MB / 239.9 MB, free: 4.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.055/1.055, allocations: 135.1 MB / 425.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001786/0.001786, allocations: 57.03 kB / 0.505 GB, free: 5.555 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2017/0.2035, allocations: 80.94 MB / 0.584 GB, free: 4.785 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.001978/0.2055, allocations: 1.313 MB / 0.5853 GB, free: 3.453 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002475/0.208, allocations: 2.481 MB / 0.5877 GB, free: 0.957 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.932e-05/0.208, allocations: 0 / 0.5877 GB, free: 0.957 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.74e-05/0.208, allocations: 3.938 kB / 0.5877 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.384e-05/0.2081, allocations: 3.984 kB / 0.5877 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004674/0.2086, allocations: 123.5 kB / 0.5878 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.047e-05/0.2086, allocations: 35.86 kB / 0.5879 GB, free: 0.793 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.305e-05/0.2087, allocations: 3.984 kB / 0.5879 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.089e-05/0.2087, allocations: 19.92 kB / 0.5879 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.908e-05/0.2088, allocations: 15.98 kB / 0.5879 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.071e-05/0.2088, allocations: 4 kB / 0.5879 GB, free: 0.75 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002405/0.209, allocations: 115.7 kB / 0.588 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.594e-05/0.2091, allocations: 11.92 kB / 0.588 GB, free: 0.625 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.856e-05/0.2091, allocations: 23.92 kB / 0.588 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001884/0.2093, allocations: 76.12 kB / 0.5881 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.2093, allocations: 0 / 0.5881 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.868e-06/0.2093, allocations: 0 / 0.5881 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.418e-05/0.2093, allocations: 7.875 kB / 0.5881 GB, free: 0.5195 MB / 494.1 MB 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.0004721/0.2098, allocations: 359.4 kB / 0.5885 GB, free: 124 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/0.2099, allocations: 8.031 kB / 0.5885 GB, free: 116 kB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.131e-05/0.2099, allocations: 38.75 kB / 0.5885 GB, free: 68 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002162/0.2101, allocations: 12.92 kB / 0.5885 GB, free: 56 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001361/0.2103, allocations: 168.3 kB / 0.5887 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.582e-05/0.2103, allocations: 8.375 kB / 0.5887 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.28e-05/0.2103, allocations: 384 / 0.5887 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001514/0.2105, allocations: 80.17 kB / 0.5888 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.2105, allocations: 0 / 0.5888 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.148e-05/0.2105, allocations: 4 kB / 0.5888 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.2105, allocations: 0 / 0.5888 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.546e-05/0.2106, allocations: 15.92 kB / 0.5888 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005918/0.2112, allocations: 474.8 kB / 0.5892 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001278/0.2113, allocations: 75.75 kB / 0.5893 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.337e-05/0.2114, allocations: 26.7 kB / 0.5893 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.097e-06/0.2114, allocations: 3.938 kB / 0.5893 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/0.2114, allocations: 34.56 kB / 0.5894 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.2114, allocations: 0 / 0.5894 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0006303/0.2121, allocations: 302.2 kB / 0.5897 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.089e-05/0.2121, allocations: 106.8 kB / 0.5898 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.411e-05/0.2122, allocations: 105.8 kB / 0.5899 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.612e-05/0.2122, allocations: 25.7 kB / 0.5899 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.236e-05/0.2123, allocations: 84.14 kB / 0.59 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.876e-05/0.2123, allocations: 27.56 kB / 0.59 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.021e-05/0.2123, allocations: 25.86 kB / 0.59 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.2125, allocations: 326.8 kB / 0.5903 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.274e-05/0.2125, allocations: 19.92 kB / 0.5904 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.255e-05/0.2126, allocations: 53.08 kB / 0.5904 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.378e-05/0.2127, allocations: 69.09 kB / 0.5905 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.2127, allocations: 0 / 0.5905 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001306/0.2128, allocations: 98.06 kB / 0.5906 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.2128, allocations: 10.19 kB / 0.5906 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.2128, allocations: 3.984 kB / 0.5906 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.2129, allocations: 4 kB / 0.5906 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.137e-05/0.2129, allocations: 28.05 kB / 0.5906 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.497e-06/0.2129, allocations: 3.984 kB / 0.5906 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.491e-05/0.213, allocations: 4 kB / 0.5906 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/0.213, allocations: 11.94 kB / 0.5906 GB, free: 13.59 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.205e-05/0.2131, allocations: 113.8 kB / 0.5907 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.313e-05/0.2131, allocations: 4 kB / 0.5907 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.017e-05/0.2132, allocations: 11.55 kB / 0.5908 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.2132, allocations: 3.938 kB / 0.5908 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.2132, allocations: 4 kB / 0.5908 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.2132, allocations: 4 kB / 0.5908 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003044/0.2135, allocations: 173.6 kB / 0.5909 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.2135, allocations: 0 / 0.5909 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.075e-05/0.2136, allocations: 19.94 kB / 0.5909 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.2136, allocations: 0 / 0.5909 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.2136, allocations: 7.984 kB / 0.591 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.2136, allocations: 0 / 0.591 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.2136, allocations: 8.062 kB / 0.591 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002016/0.2139, allocations: 325.9 kB / 0.5913 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.272e-05/0.2139, allocations: 85.14 kB / 0.5914 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.455e-05/0.2139, allocations: 7.938 kB / 0.5914 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001636/0.2141, allocations: 4 kB / 0.5914 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.763e-05/0.2141, allocations: 11.92 kB / 0.5914 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.133e-06/0.2141, allocations: 4 kB / 0.5914 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.032e-05/0.2142, allocations: 79.28 kB / 0.5915 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2142, allocations: 3.938 kB / 0.5915 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002908/0.2145, allocations: 16 kB / 0.5915 GB, free: 12.62 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004173/0.2149, allocations: 0.8594 MB / 0.5923 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001071/0.215, allocations: 51.94 kB / 0.5924 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.215, allocations: 0 / 0.5924 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.488e-05/0.215, allocations: 19.94 kB / 0.5924 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003917/0.2154, allocations: 11.94 kB / 0.5924 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001342/0.2168, allocations: 1.7 MB / 0.5941 GB, free: 9.836 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002153/0.217, allocations: 0.6885 MB / 0.5947 GB, free: 9.121 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.192e-05/0.2171, allocations: 7.984 kB / 0.5947 GB, free: 9.113 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.58e-05/0.2171, allocations: 15.44 kB / 0.5947 GB, free: 9.098 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.2171, allocations: 0 / 0.5947 GB, free: 9.098 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.199/1.416, allocations: 1.584 MB / 0.5963 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002499/1.417, allocations: 237.9 kB / 0.5965 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.17/5.586, allocations: 0 / 0.5965 GB, free: 7.453 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/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)