Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="IDEAS_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.001148/0.001148, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001174/0.001174, allocations: 196.4 kB / 16.14 MB, free: 6.715 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.162/1.162, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6608/0.6608, allocations: 132.2 MB / 422.1 MB, free: 2.023 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 55.31 kB / 0.5012 GB, free: 9.102 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1303, allocations: 80.21 MB / 0.5795 GB, free: 9.109 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.001832/0.1322, allocations: 1.321 MB / 0.5808 GB, free: 7.773 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002383/0.1346, allocations: 2.509 MB / 0.5832 GB, free: 5.254 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.505e-05/0.1346, allocations: 4 kB / 0.5832 GB, free: 5.25 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.827e-05/0.1346, allocations: 3.938 kB / 0.5833 GB, free: 5.246 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.283e-05/0.1347, allocations: 3.984 kB / 0.5833 GB, free: 5.242 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004269/0.1351, allocations: 107.5 kB / 0.5834 GB, free: 5.137 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.685e-05/0.1352, allocations: 39.84 kB / 0.5834 GB, free: 5.098 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.758e-05/0.1352, allocations: 0 / 0.5834 GB, free: 5.098 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4e-05/0.1352, allocations: 19.92 kB / 0.5834 GB, free: 5.078 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.218e-05/0.1353, allocations: 27.91 kB / 0.5834 GB, free: 5.051 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.137e-05/0.1353, allocations: 4 kB / 0.5834 GB, free: 5.047 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002594/0.1356, allocations: 111.7 kB / 0.5836 GB, free: 4.938 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.49e-05/0.1356, allocations: 7.984 kB / 0.5836 GB, free: 4.93 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.933e-05/0.1356, allocations: 15.92 kB / 0.5836 GB, free: 4.914 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001718/0.1358, allocations: 84.06 kB / 0.5837 GB, free: 4.832 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.1358, allocations: 4 kB / 0.5837 GB, free: 4.828 MB / 494.1 MB Notification: Performance of FrontEnd: time 6.51e-07/0.1358, allocations: 0 / 0.5837 GB, free: 4.828 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.1358, allocations: 0 / 0.5837 GB, free: 4.828 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.0003659/0.1362, allocations: 355.4 kB / 0.584 GB, free: 4.434 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.1363, allocations: 12.03 kB / 0.584 GB, free: 4.422 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.592e-05/0.1363, allocations: 34.73 kB / 0.584 GB, free: 4.379 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001887/0.1365, allocations: 8.938 kB / 0.5841 GB, free: 4.371 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.622e-05/0.1366, allocations: 168.4 kB / 0.5842 GB, free: 4.168 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.1366, allocations: 12.31 kB / 0.5842 GB, free: 4.156 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.214e-05/0.1366, allocations: 4.375 kB / 0.5842 GB, free: 4.152 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001229/0.1368, allocations: 72.2 kB / 0.5843 GB, free: 4.066 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.5e-06/0.1368, allocations: 0 / 0.5843 GB, free: 4.066 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.336e-06/0.1368, allocations: 0 / 0.5843 GB, free: 4.066 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.1368, allocations: 7.984 kB / 0.5843 GB, free: 4.059 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.821e-05/0.1368, allocations: 11.94 kB / 0.5843 GB, free: 4.047 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005425/0.1374, allocations: 470.8 kB / 0.5848 GB, free: 3.523 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001111/0.1375, allocations: 71.72 kB / 0.5848 GB, free: 3.426 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.377e-05/0.1375, allocations: 18.64 kB / 0.5849 GB, free: 3.398 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.336e-06/0.1376, allocations: 3.938 kB / 0.5849 GB, free: 3.395 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.158e-05/0.1376, allocations: 42.66 kB / 0.5849 GB, free: 3.344 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.1376, allocations: 0 / 0.5849 GB, free: 3.344 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005017/0.1381, allocations: 302.1 kB / 0.5852 GB, free: 2.996 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.835e-05/0.1381, allocations: 102.8 kB / 0.5853 GB, free: 2.871 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.391e-05/0.1382, allocations: 102.4 kB / 0.5854 GB, free: 2.762 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/0.1382, allocations: 37.7 kB / 0.5854 GB, free: 2.719 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.079e-05/0.1383, allocations: 87.98 kB / 0.5855 GB, free: 2.629 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.7e-05/0.1383, allocations: 27.64 kB / 0.5855 GB, free: 2.602 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.763e-05/0.1383, allocations: 25.72 kB / 0.5856 GB, free: 2.57 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.856e-05/0.1384, allocations: 318.8 kB / 0.5859 GB, free: 2.25 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.507e-05/0.1384, allocations: 12 kB / 0.5859 GB, free: 2.238 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.153e-05/0.1385, allocations: 57.08 kB / 0.5859 GB, free: 2.164 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.9e-05/0.1386, allocations: 77.25 kB / 0.586 GB, free: 2.07 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1386, allocations: 0 / 0.586 GB, free: 2.07 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000116/0.1387, allocations: 101.5 kB / 0.5861 GB, free: 1.965 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.808e-06/0.1387, allocations: 4 kB / 0.5861 GB, free: 1.961 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.1387, allocations: 4 kB / 0.5861 GB, free: 1.957 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.975e-06/0.1387, allocations: 64 / 0.5861 GB, free: 1.957 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.035e-05/0.1388, allocations: 20 kB / 0.5861 GB, free: 1.938 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.1388, allocations: 7.938 kB / 0.5861 GB, free: 1.93 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.405e-05/0.1389, allocations: 4 kB / 0.5861 GB, free: 1.926 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.1389, allocations: 7.938 kB / 0.5861 GB, free: 1.918 MB / 494.1 MB 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 6.686e-05/0.1389, allocations: 122.6 kB / 0.5863 GB, free: 1.789 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.569e-05/0.139, allocations: 4 kB / 0.5863 GB, free: 1.785 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.417e-05/0.139, allocations: 7.562 kB / 0.5863 GB, free: 1.773 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.139, allocations: 4 kB / 0.5863 GB, free: 1.77 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.139, allocations: 3.938 kB / 0.5863 GB, free: 1.766 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.574e-06/0.139, allocations: 0 / 0.5863 GB, free: 1.766 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002916/0.1393, allocations: 177.6 kB / 0.5864 GB, free: 1.543 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.1393, allocations: 0 / 0.5864 GB, free: 1.543 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.043e-05/0.1394, allocations: 23.92 kB / 0.5865 GB, free: 1.52 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.562e-06/0.1394, allocations: 0 / 0.5865 GB, free: 1.52 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.699e-06/0.1395, allocations: 8 kB / 0.5865 GB, free: 1.512 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.1395, allocations: 4 kB / 0.5865 GB, free: 1.508 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.1395, allocations: 0 / 0.5865 GB, free: 1.508 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001879/0.1397, allocations: 329.9 kB / 0.5868 GB, free: 1.168 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.357e-05/0.1397, allocations: 81.11 kB / 0.5869 GB, free: 1.07 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.284e-05/0.1397, allocations: 4 kB / 0.5869 GB, free: 1.066 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001635/0.1399, allocations: 12.03 kB / 0.5869 GB, free: 1.055 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.538e-05/0.1399, allocations: 7.875 kB / 0.5869 GB, free: 1.047 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.622e-06/0.1399, allocations: 4 kB / 0.5869 GB, free: 1.043 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.003e-05/0.14, allocations: 87.27 kB / 0.587 GB, free: 0.957 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.14, allocations: 0 / 0.587 GB, free: 0.957 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000283/0.1403, allocations: 8 kB / 0.587 GB, free: 0.9492 MB / 494.1 MB 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.0003805/0.1406, allocations: 0.8638 MB / 0.5878 GB, free: 60 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 8.499e-05/0.1407, allocations: 43.92 kB / 0.5879 GB, free: 16 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1407, allocations: 0 / 0.5879 GB, free: 16 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.658e-05/0.1408, allocations: 24.3 kB / 0.5879 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003797/0.1412, allocations: 16.11 kB / 0.5879 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001281/0.1425, allocations: 1.7 MB / 0.5896 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002255/0.1427, allocations: 0.6887 MB / 0.5902 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.827e-05/0.1427, allocations: 4 kB / 0.5902 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.329e-05/0.1428, allocations: 19.38 kB / 0.5903 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of SimCode: time 3e-07/0.1428, allocations: 0 / 0.5903 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.543/1.686, allocations: 1.533 MB / 0.5918 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002346/1.686, allocations: 241.4 kB / 0.592 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.544/3.23, allocations: 0 / 0.592 GB, free: 11.81 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.fmu > IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1)