Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_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.001332/0.001332, allocations: 112.5 kB / 15.73 MB, free: 76 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.001291/0.001291, allocations: 191.5 kB / 16.67 MB, free: 6.582 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.431/1.431, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.004249/0.004249, allocations: 290.4 kB / 290.8 MB, free: 1.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.087/1.087, allocations: 178.6 MB / 0.5074 GB, free: 4.48 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002766/0.002766, allocations: 100.4 kB / 0.6943 GB, free: 3.617 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4217/0.4245, allocations: 89.14 MB / 0.7813 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002415/0.4269, allocations: 1.27 MB / 0.7825 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00355/0.4305, allocations: 2.488 MB / 0.785 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.734e-05/0.4305, allocations: 0 / 0.785 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.97e-05/0.4306, allocations: 0.7969 kB / 0.785 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.527e-05/0.4306, allocations: 5.641 kB / 0.785 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005447/0.4312, allocations: 139.4 kB / 0.7851 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.232e-05/0.4313, allocations: 38.34 kB / 0.7852 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.38e-05/0.4313, allocations: 3.156 kB / 0.7852 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.515e-05/0.4314, allocations: 19.92 kB / 0.7852 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.404e-05/0.4314, allocations: 18.08 kB / 0.7852 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.196e-05/0.4314, allocations: 2.188 kB / 0.7852 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003275/0.4318, allocations: 107.8 kB / 0.7853 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.097e-05/0.4318, allocations: 15.72 kB / 0.7853 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.393e-05/0.4318, allocations: 18.19 kB / 0.7853 GB, free: 11 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002108/0.4321, allocations: 81.84 kB / 0.7854 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.4321, allocations: 4 kB / 0.7854 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.094e-06/0.4321, allocations: 1.031 kB / 0.7854 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.4321, allocations: 0 / 0.7854 GB, free: 10.97 MB / 0.5606 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.0004525/0.4326, allocations: 359.3 kB / 0.7858 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.4326, allocations: 10.95 kB / 0.7858 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.272e-05/0.4326, allocations: 32.42 kB / 0.7858 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001999/0.4329, allocations: 16.72 kB / 0.7858 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001302/0.433, allocations: 162.1 kB / 0.786 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.433, allocations: 7.859 kB / 0.786 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.297e-05/0.433, allocations: 6.844 kB / 0.786 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001586/0.4332, allocations: 80.75 kB / 0.7861 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.4332, allocations: 0 / 0.7861 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/0.4332, allocations: 4.938 kB / 0.7861 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.4333, allocations: 0.9062 kB / 0.7861 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.097e-05/0.4333, allocations: 8.734 kB / 0.7861 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006347/0.4339, allocations: 473.7 kB / 0.7865 GB, free: 9.789 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000146/0.4341, allocations: 73.86 kB / 0.7866 GB, free: 9.707 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.617e-05/0.4341, allocations: 29.12 kB / 0.7866 GB, free: 9.676 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.23e-05/0.4342, allocations: 1.375 kB / 0.7866 GB, free: 9.676 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.976e-05/0.4342, allocations: 34.03 kB / 0.7867 GB, free: 9.637 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=5): time 3.486e-06/0.4342, allocations: 0 / 0.7867 GB, free: 9.637 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0006508/0.4349, allocations: 310.2 kB / 0.787 GB, free: 9.348 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.338e-05/0.4349, allocations: 108.1 kB / 0.7871 GB, free: 9.219 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.204e-05/0.435, allocations: 100.2 kB / 0.7871 GB, free: 9.117 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.037e-05/0.4351, allocations: 27.14 kB / 0.7872 GB, free: 9.086 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.841e-05/0.4351, allocations: 86 kB / 0.7873 GB, free: 9 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.763e-05/0.4351, allocations: 29.92 kB / 0.7873 GB, free: 8.977 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.533e-05/0.4352, allocations: 27.39 kB / 0.7873 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.4353, allocations: 317.4 kB / 0.7876 GB, free: 8.637 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.495e-05/0.4354, allocations: 17.83 kB / 0.7876 GB, free: 8.629 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.517e-05/0.4355, allocations: 57.39 kB / 0.7877 GB, free: 8.57 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001019/0.4356, allocations: 76.38 kB / 0.7878 GB, free: 8.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.4356, allocations: 5.844 kB / 0.7878 GB, free: 8.496 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001454/0.4357, allocations: 88.59 kB / 0.7878 GB, free: 8.445 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.4358, allocations: 6.062 kB / 0.7879 GB, free: 8.445 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.4358, allocations: 1.938 kB / 0.7879 GB, free: 8.445 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.4358, allocations: 2.406 kB / 0.7879 GB, free: 8.445 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.148e-05/0.4359, allocations: 22.17 kB / 0.7879 GB, free: 8.441 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.4359, allocations: 7.703 kB / 0.7879 GB, free: 8.438 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.93e-05/0.4359, allocations: 5.391 kB / 0.7879 GB, free: 8.434 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/0.4359, allocations: 7.719 kB / 0.7879 GB, free: 8.43 MB / 0.5606 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 9.43e-05/0.436, allocations: 118.7 kB / 0.788 GB, free: 8.309 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.911e-05/0.4361, allocations: 4.25 kB / 0.788 GB, free: 8.309 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.743e-05/0.4361, allocations: 9.594 kB / 0.788 GB, free: 8.305 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.4362, allocations: 2.469 kB / 0.788 GB, free: 8.305 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.4362, allocations: 0 / 0.788 GB, free: 8.305 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.716e-06/0.4362, allocations: 2.078 kB / 0.788 GB, free: 8.305 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003715/0.4365, allocations: 186.1 kB / 0.7882 GB, free: 8.098 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.808e-06/0.4366, allocations: 5.359 kB / 0.7882 GB, free: 8.094 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.798e-05/0.4367, allocations: 15.06 kB / 0.7882 GB, free: 8.094 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.4367, allocations: 1.562 kB / 0.7882 GB, free: 8.094 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.4367, allocations: 1.953 kB / 0.7882 GB, free: 8.094 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.822e-06/0.4367, allocations: 5.594 kB / 0.7882 GB, free: 8.09 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.4367, allocations: 2.047 kB / 0.7882 GB, free: 8.09 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002775/0.437, allocations: 335 kB / 0.7886 GB, free: 7.781 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.602e-05/0.4371, allocations: 86.52 kB / 0.7886 GB, free: 7.684 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.43e-05/0.4371, allocations: 1.672 kB / 0.7886 GB, free: 7.684 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001793/0.4373, allocations: 3.891 kB / 0.7886 GB, free: 7.684 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.123e-05/0.4373, allocations: 13.05 kB / 0.7887 GB, free: 7.676 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.246e-06/0.4373, allocations: 3.25 kB / 0.7887 GB, free: 7.676 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.326e-05/0.4374, allocations: 79.12 kB / 0.7887 GB, free: 7.602 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.415e-06/0.4374, allocations: 0 / 0.7887 GB, free: 7.602 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003243/0.4377, allocations: 21.72 kB / 0.7888 GB, free: 7.59 MB / 0.5606 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.0005791/0.4383, allocations: 0.8661 MB / 0.7896 GB, free: 6.754 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001206/0.4384, allocations: 47.27 kB / 0.7896 GB, free: 6.738 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.4384, allocations: 0 / 0.7896 GB, free: 6.738 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.996e-05/0.4385, allocations: 17.88 kB / 0.7897 GB, free: 6.734 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000448/0.4389, allocations: 13.27 kB / 0.7897 GB, free: 6.727 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001754/0.4407, allocations: 1.704 MB / 0.7913 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003372/0.441, allocations: 0.6824 MB / 0.792 GB, free: 4.406 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.938e-05/0.4411, allocations: 12.62 kB / 0.792 GB, free: 4.398 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.718e-05/0.4411, allocations: 17.22 kB / 0.792 GB, free: 4.387 MB / 0.5606 GB Notification: Performance of SimCode: time 2.61e-07/0.4411, allocations: 0 / 0.792 GB, free: 4.387 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02892/0.47, allocations: 1.73 MB / 0.7937 GB, free: 4.023 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.765/8.235, allocations: 10.81 kB / 0.7937 GB, free: 4.016 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1)