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.001765/0.001765, allocations: 108 kB / 15.61 MB, free: 152 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.002083/0.002083, allocations: 197 kB / 16.53 MB, free: 6.664 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.942/1.942, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002265/0.002265, allocations: 279 kB / 290.7 MB, free: 2.004 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.537/1.537, allocations: 169.3 MB / 0.4982 GB, free: 13.96 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003115/0.003116, allocations: 92.17 kB / 0.5953 GB, free: 27.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2517/0.2548, allocations: 86.98 MB / 0.6803 GB, free: 0.6289 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.003638/0.2585, allocations: 1.267 MB / 0.6815 GB, free: 15.36 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005272/0.2638, allocations: 2.484 MB / 0.684 GB, free: 12.86 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.643e-05/0.2639, allocations: 0 / 0.684 GB, free: 12.86 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.702e-05/0.264, allocations: 0 / 0.684 GB, free: 12.86 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.672e-05/0.264, allocations: 11.91 kB / 0.684 GB, free: 12.85 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001005/0.2651, allocations: 127.4 kB / 0.6841 GB, free: 12.73 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001192/0.2652, allocations: 47.78 kB / 0.6841 GB, free: 12.68 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.231e-05/0.2653, allocations: 0 / 0.6841 GB, free: 12.68 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.536e-05/0.2654, allocations: 12 kB / 0.6841 GB, free: 12.67 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001014/0.2655, allocations: 19.91 kB / 0.6842 GB, free: 12.65 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.107e-05/0.2655, allocations: 4 kB / 0.6842 GB, free: 12.64 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005676/0.2661, allocations: 115.8 kB / 0.6843 GB, free: 12.53 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.8e-05/0.2661, allocations: 8 kB / 0.6843 GB, free: 12.52 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.256e-05/0.2662, allocations: 19.92 kB / 0.6843 GB, free: 12.5 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003616/0.2666, allocations: 91.98 kB / 0.6844 GB, free: 12.41 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.2666, allocations: 0 / 0.6844 GB, free: 12.41 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.2666, allocations: 0 / 0.6844 GB, free: 12.41 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.977e-06/0.2667, allocations: 0 / 0.6844 GB, free: 12.41 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.0006762/0.2674, allocations: 355.5 kB / 0.6847 GB, free: 12.02 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.353e-05/0.2674, allocations: 8.031 kB / 0.6847 GB, free: 12.01 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.529e-05/0.2675, allocations: 34.75 kB / 0.6848 GB, free: 11.97 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003528/0.2679, allocations: 16.83 kB / 0.6848 GB, free: 11.95 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000157/0.268, allocations: 164.4 kB / 0.6849 GB, free: 11.75 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.108e-05/0.2681, allocations: 4.375 kB / 0.6849 GB, free: 11.75 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.718e-05/0.2681, allocations: 4.375 kB / 0.6849 GB, free: 11.75 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002147/0.2683, allocations: 80.12 kB / 0.685 GB, free: 11.65 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.2684, allocations: 0 / 0.685 GB, free: 11.65 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.531e-05/0.2684, allocations: 0 / 0.685 GB, free: 11.65 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.2684, allocations: 0 / 0.685 GB, free: 11.65 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.234e-05/0.2685, allocations: 12 kB / 0.685 GB, free: 11.64 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009337/0.2694, allocations: 474.8 kB / 0.6855 GB, free: 11.11 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002226/0.2697, allocations: 75.59 kB / 0.6856 GB, free: 11.01 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.143e-05/0.2697, allocations: 18.7 kB / 0.6856 GB, free: 10.98 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.89e-05/0.2698, allocations: 8.078 kB / 0.6856 GB, free: 10.98 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.05e-05/0.2698, allocations: 34.56 kB / 0.6856 GB, free: 10.93 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 2.044e-06/0.2698, allocations: 0 / 0.6856 GB, free: 10.93 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009968/0.2708, allocations: 302.1 kB / 0.6859 GB, free: 10.59 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001006/0.271, allocations: 118.7 kB / 0.686 GB, free: 10.45 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001096/0.2711, allocations: 93.86 kB / 0.6861 GB, free: 10.34 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.94e-05/0.2711, allocations: 29.7 kB / 0.6861 GB, free: 10.31 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.69e-05/0.2712, allocations: 84.05 kB / 0.6862 GB, free: 10.22 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.246e-05/0.2713, allocations: 31.55 kB / 0.6862 GB, free: 10.19 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.183e-05/0.2714, allocations: 25.97 kB / 0.6863 GB, free: 10.16 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001792/0.2716, allocations: 326.8 kB / 0.6866 GB, free: 9.832 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.586e-05/0.2716, allocations: 12 kB / 0.6866 GB, free: 9.82 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.639e-05/0.2717, allocations: 49.14 kB / 0.6866 GB, free: 9.754 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001382/0.2719, allocations: 81.58 kB / 0.6867 GB, free: 9.656 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.2719, allocations: 3.938 kB / 0.6867 GB, free: 9.652 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002173/0.2721, allocations: 89.55 kB / 0.6868 GB, free: 9.559 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.793e-05/0.2721, allocations: 8 kB / 0.6868 GB, free: 9.551 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.2721, allocations: 0 / 0.6868 GB, free: 9.551 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.595e-05/0.2722, allocations: 4.125 kB / 0.6868 GB, free: 9.547 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001143/0.2723, allocations: 20 kB / 0.6868 GB, free: 9.527 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.247e-05/0.2723, allocations: 3.984 kB / 0.6868 GB, free: 9.523 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.815e-05/0.2724, allocations: 8 kB / 0.6869 GB, free: 9.516 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.482e-05/0.2724, allocations: 7.938 kB / 0.6869 GB, free: 9.508 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 0.0001457/0.2726, allocations: 119.1 kB / 0.687 GB, free: 9.383 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.445e-05/0.2727, allocations: 3.906 kB / 0.687 GB, free: 9.379 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.401e-05/0.2728, allocations: 11.56 kB / 0.687 GB, free: 9.367 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.2728, allocations: 0 / 0.687 GB, free: 9.367 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.2728, allocations: 7.938 kB / 0.687 GB, free: 9.359 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.934e-06/0.2728, allocations: 4.062 kB / 0.687 GB, free: 9.355 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005641/0.2734, allocations: 181.6 kB / 0.6872 GB, free: 9.129 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.2734, allocations: 0 / 0.6872 GB, free: 9.129 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001495/0.2736, allocations: 19.98 kB / 0.6872 GB, free: 9.109 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.001e-06/0.2736, allocations: 4 kB / 0.6872 GB, free: 9.105 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.2736, allocations: 0 / 0.6872 GB, free: 9.105 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.2736, allocations: 0 / 0.6872 GB, free: 9.105 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/0.2736, allocations: 4 kB / 0.6872 GB, free: 9.102 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003841/0.274, allocations: 329.9 kB / 0.6875 GB, free: 8.762 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.731e-05/0.2741, allocations: 89.08 kB / 0.6876 GB, free: 8.656 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.9e-05/0.2742, allocations: 8 kB / 0.6876 GB, free: 8.648 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003103/0.2745, allocations: 0 / 0.6876 GB, free: 8.648 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.991e-05/0.2745, allocations: 7.938 kB / 0.6876 GB, free: 8.641 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.246e-05/0.2746, allocations: 4 kB / 0.6876 GB, free: 8.637 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.367e-05/0.2746, allocations: 87.27 kB / 0.6877 GB, free: 8.551 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.9e-07/0.2746, allocations: 0 / 0.6877 GB, free: 8.551 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0006364/0.2753, allocations: 12 kB / 0.6877 GB, free: 8.539 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.0007493/0.276, allocations: 0.8672 MB / 0.6886 GB, free: 7.641 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001755/0.2762, allocations: 47.91 kB / 0.6886 GB, free: 7.594 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.2763, allocations: 0 / 0.6886 GB, free: 7.594 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.178e-05/0.2763, allocations: 15.98 kB / 0.6886 GB, free: 7.578 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000826/0.2771, allocations: 11.94 kB / 0.6886 GB, free: 7.566 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002745/0.2799, allocations: 1.712 MB / 0.6903 GB, free: 5.738 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004355/0.2804, allocations: 0.6807 MB / 0.691 GB, free: 5.031 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 9.853e-05/0.2805, allocations: 8 kB / 0.691 GB, free: 5.023 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.511e-05/0.2805, allocations: 19.42 kB / 0.691 GB, free: 5.004 MB / 494.1 MB Notification: Performance of SimCode: time 4.51e-07/0.2806, allocations: 0 / 0.691 GB, free: 5.004 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02366/0.3042, allocations: 1.695 MB / 0.6927 GB, free: 3.477 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.8/11.11, allocations: 448 / 0.6927 GB, free: 3.477 MB / 494.1 MB (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)