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.001225/0.001226, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 195.1 kB / 16.53 MB, free: 6.391 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.226/1.226, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6842/0.6842, allocations: 132.2 MB / 422.6 MB, free: 1.781 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 59.81 kB / 0.5019 GB, free: 3.773 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3052/0.3064, allocations: 80.2 MB / 0.5802 GB, free: 4.566 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.00191/0.3084, allocations: 1.266 MB / 0.5814 GB, free: 3.672 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002145/0.3105, allocations: 2.488 MB / 0.5839 GB, free: 1.891 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.106e-05/0.3105, allocations: 1.281 kB / 0.5839 GB, free: 1.891 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.29e-05/0.3106, allocations: 5.531 kB / 0.5839 GB, free: 1.887 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.885e-05/0.3106, allocations: 8.672 kB / 0.5839 GB, free: 1.879 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004148/0.311, allocations: 137.2 kB / 0.584 GB, free: 1.805 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.203e-05/0.3111, allocations: 30.42 kB / 0.584 GB, free: 1.797 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.819e-05/0.3111, allocations: 7.719 kB / 0.584 GB, free: 1.793 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.545e-05/0.3112, allocations: 23.47 kB / 0.5841 GB, free: 1.781 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.527e-05/0.3112, allocations: 14.92 kB / 0.5841 GB, free: 1.777 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.033e-05/0.3112, allocations: 1.906 kB / 0.5841 GB, free: 1.777 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002586/0.3115, allocations: 119 kB / 0.5842 GB, free: 1.73 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.38e-05/0.3115, allocations: 7.938 kB / 0.5842 GB, free: 1.727 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.182e-05/0.3116, allocations: 12.81 kB / 0.5842 GB, free: 1.723 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001684/0.3117, allocations: 87.41 kB / 0.5843 GB, free: 1.691 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.3117, allocations: 0 / 0.5843 GB, free: 1.691 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.3117, allocations: 1.094 kB / 0.5843 GB, free: 1.691 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.795e-06/0.3118, allocations: 0.75 kB / 0.5843 GB, free: 1.691 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.0002693/0.312, allocations: 360.5 kB / 0.5846 GB, free: 1.316 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.068e-05/0.3121, allocations: 10.16 kB / 0.5847 GB, free: 1.316 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.254e-05/0.3121, allocations: 35.83 kB / 0.5847 GB, free: 1.273 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001776/0.3123, allocations: 12.66 kB / 0.5847 GB, free: 1.273 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.25e-05/0.3123, allocations: 169.9 kB / 0.5849 GB, free: 1.07 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.3124, allocations: 3.141 kB / 0.5849 GB, free: 1.07 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.074e-05/0.3124, allocations: 7.5 kB / 0.5849 GB, free: 1.066 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001008/0.3125, allocations: 72.16 kB / 0.5849 GB, free: 1 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/0.3125, allocations: 1.031 kB / 0.5849 GB, free: 1 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.3125, allocations: 1.922 kB / 0.5849 GB, free: 1 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.309e-06/0.3125, allocations: 0.9688 kB / 0.5849 GB, free: 1 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.53e-05/0.3126, allocations: 11.84 kB / 0.585 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003991/0.313, allocations: 473.6 kB / 0.5854 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001016/0.3131, allocations: 74.19 kB / 0.5855 GB, free: 440 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.371e-05/0.3131, allocations: 28.84 kB / 0.5855 GB, free: 408 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.264e-06/0.3131, allocations: 4.656 kB / 0.5855 GB, free: 404 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.294e-05/0.3131, allocations: 33.31 kB / 0.5855 GB, free: 364 kB / 430.1 MB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.3131, allocations: 0.8438 kB / 0.5855 GB, free: 364 kB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004674/0.3136, allocations: 308.9 kB / 0.5858 GB, free: 68 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.896e-05/0.3137, allocations: 105.5 kB / 0.5859 GB, free: 15.94 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.332e-05/0.3137, allocations: 100.6 kB / 0.586 GB, free: 15.84 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.253e-05/0.3138, allocations: 26.45 kB / 0.5861 GB, free: 15.81 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.417e-05/0.3138, allocations: 89.92 kB / 0.5861 GB, free: 15.72 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.004e-05/0.3138, allocations: 29.56 kB / 0.5862 GB, free: 15.7 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.522e-05/0.3139, allocations: 23.42 kB / 0.5862 GB, free: 15.68 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.43e-05/0.314, allocations: 326.5 kB / 0.5865 GB, free: 15.35 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.795e-05/0.314, allocations: 13.52 kB / 0.5865 GB, free: 15.35 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.915e-05/0.314, allocations: 55.66 kB / 0.5866 GB, free: 15.29 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.842e-05/0.3141, allocations: 73.31 kB / 0.5866 GB, free: 15.22 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3141, allocations: 1.656 kB / 0.5866 GB, free: 15.22 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001257/0.3143, allocations: 102.5 kB / 0.5867 GB, free: 15.16 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.3143, allocations: 5.984 kB / 0.5867 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.3143, allocations: 0.7188 kB / 0.5867 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.3143, allocations: 2.438 kB / 0.5868 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.627e-05/0.3144, allocations: 27.19 kB / 0.5868 GB, free: 15.15 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.3144, allocations: 2.938 kB / 0.5868 GB, free: 15.15 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.378e-05/0.3144, allocations: 2.25 kB / 0.5868 GB, free: 15.15 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.655e-06/0.3145, allocations: 7.219 kB / 0.5868 GB, free: 15.15 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 6.106e-05/0.3145, allocations: 115.4 kB / 0.5869 GB, free: 15.03 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.564e-05/0.3146, allocations: 4.75 kB / 0.5869 GB, free: 15.03 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.438e-05/0.3146, allocations: 9.188 kB / 0.5869 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.3146, allocations: 1.281 kB / 0.5869 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.3146, allocations: 5.609 kB / 0.5869 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.3146, allocations: 1.344 kB / 0.5869 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002975/0.3149, allocations: 182.5 kB / 0.5871 GB, free: 14.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.3149, allocations: 1.125 kB / 0.5871 GB, free: 14.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.215e-05/0.315, allocations: 19.02 kB / 0.5871 GB, free: 14.81 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.315, allocations: 1.734 kB / 0.5871 GB, free: 14.81 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-06/0.3151, allocations: 2.406 kB / 0.5871 GB, free: 14.81 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.3151, allocations: 1.531 kB / 0.5871 GB, free: 14.81 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.3151, allocations: 1 kB / 0.5871 GB, free: 14.81 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001883/0.3153, allocations: 331.5 kB / 0.5874 GB, free: 14.51 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.693e-05/0.3153, allocations: 82.06 kB / 0.5875 GB, free: 14.41 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.284e-05/0.3153, allocations: 6.641 kB / 0.5875 GB, free: 14.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001586/0.3155, allocations: 10.64 kB / 0.5875 GB, free: 14.4 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.898e-05/0.3155, allocations: 9.922 kB / 0.5875 GB, free: 14.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.686e-06/0.3155, allocations: 6.625 kB / 0.5875 GB, free: 14.39 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.875e-05/0.3156, allocations: 82.3 kB / 0.5876 GB, free: 14.32 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3156, allocations: 1.188 kB / 0.5876 GB, free: 14.32 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002918/0.3159, allocations: 13.78 kB / 0.5876 GB, free: 14.31 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.0003827/0.3163, allocations: 0.8639 MB / 0.5885 GB, free: 13.48 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001045/0.3164, allocations: 43.77 kB / 0.5885 GB, free: 13.47 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.3164, allocations: 4.938 kB / 0.5885 GB, free: 13.46 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.757e-05/0.3164, allocations: 22.12 kB / 0.5885 GB, free: 13.46 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003794/0.3168, allocations: 15.44 kB / 0.5886 GB, free: 13.45 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001317/0.3181, allocations: 1.689 MB / 0.5902 GB, free: 11.84 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001928/0.3183, allocations: 0.6837 MB / 0.5909 GB, free: 11.14 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.025e-05/0.3184, allocations: 9.391 kB / 0.5909 GB, free: 11.14 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.969e-05/0.3184, allocations: 11.78 kB / 0.5909 GB, free: 11.13 MB / 446.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3184, allocations: 0 / 0.5909 GB, free: 11.13 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4246/0.743, allocations: 1.665 MB / 0.5925 GB, free: 10.79 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.913/8.656, allocations: 6.297 kB / 0.5925 GB, free: 10.79 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)