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.001082/0.001082, 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.0011/0.0011, allocations: 194.9 kB / 16.25 MB, free: 6.621 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.267/1.267, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7392/0.7392, allocations: 132.2 MB / 422.2 MB, free: 1.914 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 59.69 kB / 0.5014 GB, free: 4.055 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3266/0.3278, allocations: 80.19 MB / 0.5797 GB, free: 4.543 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.001976/0.3299, allocations: 1.327 MB / 0.581 GB, free: 3.609 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002296/0.3322, allocations: 2.487 MB / 0.5834 GB, free: 1.824 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.041e-05/0.3322, allocations: 0 / 0.5834 GB, free: 1.824 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.523e-05/0.3322, allocations: 0.6094 kB / 0.5834 GB, free: 1.824 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.464e-05/0.3323, allocations: 6.406 kB / 0.5834 GB, free: 1.82 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004955/0.3328, allocations: 115.9 kB / 0.5835 GB, free: 1.762 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.145e-05/0.3329, allocations: 39.11 kB / 0.5836 GB, free: 1.746 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.618e-05/0.3329, allocations: 6.172 kB / 0.5836 GB, free: 1.742 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.725e-05/0.333, allocations: 16.48 kB / 0.5836 GB, free: 1.738 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.183e-05/0.333, allocations: 22.75 kB / 0.5836 GB, free: 1.727 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.146e-05/0.333, allocations: 1.531 kB / 0.5836 GB, free: 1.727 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000284/0.3333, allocations: 112.8 kB / 0.5837 GB, free: 1.688 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.877e-05/0.3334, allocations: 15.95 kB / 0.5837 GB, free: 1.676 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.844e-05/0.3334, allocations: 8.703 kB / 0.5837 GB, free: 1.676 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002132/0.3336, allocations: 85.02 kB / 0.5838 GB, free: 1.648 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.3336, allocations: 0 / 0.5838 GB, free: 1.648 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.3336, allocations: 5.156 kB / 0.5838 GB, free: 1.645 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.3337, allocations: 0 / 0.5838 GB, free: 1.645 MB / 430.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.0003655/0.334, allocations: 351.9 kB / 0.5842 GB, free: 1.277 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.3341, allocations: 9.688 kB / 0.5842 GB, free: 1.277 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.861e-05/0.3341, allocations: 40.67 kB / 0.5842 GB, free: 1.23 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001979/0.3343, allocations: 12.34 kB / 0.5842 GB, free: 1.23 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.332e-05/0.3344, allocations: 163.2 kB / 0.5844 GB, free: 1.035 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.387e-06/0.3344, allocations: 5.75 kB / 0.5844 GB, free: 1.031 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.295e-05/0.3344, allocations: 9.297 kB / 0.5844 GB, free: 1.027 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001192/0.3345, allocations: 75 kB / 0.5845 GB, free: 0.957 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.3346, allocations: 5.094 kB / 0.5845 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.3346, allocations: 0.8438 kB / 0.5845 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.9e-06/0.3346, allocations: 0.9688 kB / 0.5845 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.913e-05/0.3346, allocations: 12.62 kB / 0.5845 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004264/0.3351, allocations: 478.5 kB / 0.5849 GB, free: 472 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001255/0.3352, allocations: 73.69 kB / 0.585 GB, free: 388 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.361e-05/0.3352, allocations: 23.69 kB / 0.585 GB, free: 360 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.055e-06/0.3352, allocations: 5.578 kB / 0.585 GB, free: 356 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.69e-05/0.3353, allocations: 37.88 kB / 0.5851 GB, free: 312 kB / 430.1 MB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.3353, allocations: 0 / 0.5851 GB, free: 312 kB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005145/0.3358, allocations: 298 kB / 0.5853 GB, free: 28 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.453e-05/0.3359, allocations: 112.7 kB / 0.5855 GB, free: 15.89 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.086e-05/0.3359, allocations: 101.2 kB / 0.5856 GB, free: 15.79 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/0.336, allocations: 26.48 kB / 0.5856 GB, free: 15.76 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.912e-05/0.336, allocations: 89.69 kB / 0.5857 GB, free: 15.67 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.107e-05/0.336, allocations: 25.53 kB / 0.5857 GB, free: 15.65 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.71e-05/0.3361, allocations: 23.58 kB / 0.5857 GB, free: 15.63 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001004/0.3362, allocations: 321.2 kB / 0.586 GB, free: 15.31 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.886e-05/0.3362, allocations: 17.73 kB / 0.586 GB, free: 15.3 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.154e-05/0.3363, allocations: 56.95 kB / 0.5861 GB, free: 15.25 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.843e-05/0.3364, allocations: 78.44 kB / 0.5862 GB, free: 15.18 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.3364, allocations: 0 / 0.5862 GB, free: 15.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001434/0.3365, allocations: 97.3 kB / 0.5863 GB, free: 15.12 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.3366, allocations: 5.5 kB / 0.5863 GB, free: 15.12 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.3366, allocations: 2.938 kB / 0.5863 GB, free: 15.12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.3366, allocations: 5.75 kB / 0.5863 GB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.894e-05/0.3367, allocations: 23.11 kB / 0.5863 GB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.3367, allocations: 2.812 kB / 0.5863 GB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.682e-05/0.3367, allocations: 5.688 kB / 0.5863 GB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.3367, allocations: 12 kB / 0.5863 GB, free: 15.1 MB / 446.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 7.009e-05/0.3368, allocations: 120.2 kB / 0.5864 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.678e-05/0.3369, allocations: 3.375 kB / 0.5864 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3e-05/0.3369, allocations: 9.406 kB / 0.5864 GB, free: 14.97 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.3369, allocations: 1.812 kB / 0.5864 GB, free: 14.97 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.3369, allocations: 0.9688 kB / 0.5864 GB, free: 14.97 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.3369, allocations: 2.688 kB / 0.5864 GB, free: 14.97 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003242/0.3373, allocations: 180.5 kB / 0.5866 GB, free: 14.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.3373, allocations: 5.812 kB / 0.5866 GB, free: 14.76 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.404e-05/0.3374, allocations: 15.41 kB / 0.5866 GB, free: 14.76 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.3374, allocations: 1.125 kB / 0.5866 GB, free: 14.76 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.3374, allocations: 6.578 kB / 0.5866 GB, free: 14.76 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.3374, allocations: 1.281 kB / 0.5866 GB, free: 14.76 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.3374, allocations: 1.422 kB / 0.5866 GB, free: 14.76 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002218/0.3376, allocations: 331.2 kB / 0.587 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.527e-05/0.3377, allocations: 83.16 kB / 0.587 GB, free: 14.36 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.646e-05/0.3377, allocations: 5.312 kB / 0.587 GB, free: 14.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001769/0.3379, allocations: 4.688 kB / 0.587 GB, free: 14.36 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.02e-05/0.3379, allocations: 11.88 kB / 0.5871 GB, free: 14.35 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.754e-06/0.3379, allocations: 3.547 kB / 0.5871 GB, free: 14.35 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.394e-05/0.338, allocations: 82.7 kB / 0.5871 GB, free: 14.27 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.338, allocations: 1.375 kB / 0.5871 GB, free: 14.27 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003008/0.3383, allocations: 13.56 kB / 0.5872 GB, free: 14.27 MB / 446.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.0004422/0.3387, allocations: 0.8622 MB / 0.588 GB, free: 13.44 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001213/0.3389, allocations: 56.98 kB / 0.5881 GB, free: 13.41 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.3389, allocations: 4 kB / 0.5881 GB, free: 13.41 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.56e-05/0.3389, allocations: 16.95 kB / 0.5881 GB, free: 13.41 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004392/0.3394, allocations: 14.17 kB / 0.5881 GB, free: 13.4 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00149/0.3409, allocations: 1.702 MB / 0.5897 GB, free: 11.77 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002417/0.3411, allocations: 0.6833 MB / 0.5904 GB, free: 11.07 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.744e-05/0.3412, allocations: 8.719 kB / 0.5904 GB, free: 11.07 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.514e-05/0.3412, allocations: 15.73 kB / 0.5904 GB, free: 11.06 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3412, allocations: 0.6875 kB / 0.5904 GB, free: 11.06 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1842/0.5254, allocations: 1.578 MB / 0.592 GB, free: 10.84 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002426/0.5257, allocations: 235.6 kB / 0.5922 GB, free: 10.59 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.112/2.638, allocations: 1.719 kB / 0.5922 GB, free: 10.59 MB / 446.1 MB (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)