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.001244/0.001244, 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.00126/0.00126, allocations: 196.2 kB / 16.53 MB, free: 6.699 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.253/1.253, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002073/0.002073, allocations: 282.8 kB / 290.7 MB, free: 2.02 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8982/0.8982, allocations: 169.3 MB / 0.4982 GB, free: 13.98 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001733/0.001733, allocations: 104.2 kB / 0.5954 GB, free: 28.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.1388, allocations: 86.98 MB / 0.6803 GB, free: 0.5898 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002458/0.1413, allocations: 1.26 MB / 0.6815 GB, free: 15.33 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002954/0.1443, allocations: 2.495 MB / 0.684 GB, free: 12.83 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.478e-05/0.1443, allocations: 0 / 0.684 GB, free: 12.83 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.806e-05/0.1444, allocations: 3.938 kB / 0.684 GB, free: 12.82 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.17e-05/0.1444, allocations: 3.938 kB / 0.684 GB, free: 12.82 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005278/0.1449, allocations: 127.4 kB / 0.6841 GB, free: 12.7 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.068e-05/0.145, allocations: 31.86 kB / 0.6841 GB, free: 12.66 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.164e-05/0.1451, allocations: 4 kB / 0.6841 GB, free: 12.66 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.938e-05/0.1451, allocations: 27.91 kB / 0.6841 GB, free: 12.63 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.639e-05/0.1452, allocations: 19.92 kB / 0.6842 GB, free: 12.61 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.758e-06/0.1452, allocations: 0 / 0.6842 GB, free: 12.61 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002938/0.1455, allocations: 119.8 kB / 0.6843 GB, free: 12.5 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.171e-05/0.1455, allocations: 0 / 0.6843 GB, free: 12.5 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.359e-05/0.1455, allocations: 19.92 kB / 0.6843 GB, free: 12.48 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000189/0.1457, allocations: 84.06 kB / 0.6844 GB, free: 12.39 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.1457, allocations: 0 / 0.6844 GB, free: 12.39 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1457, allocations: 0 / 0.6844 GB, free: 12.39 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.152e-06/0.1458, allocations: 3.984 kB / 0.6844 GB, free: 12.39 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.0003512/0.1461, allocations: 351.5 kB / 0.6847 GB, free: 12 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.1462, allocations: 12.03 kB / 0.6847 GB, free: 11.99 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.312e-05/0.1462, allocations: 34.75 kB / 0.6848 GB, free: 11.95 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002092/0.1464, allocations: 16.83 kB / 0.6848 GB, free: 11.93 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.22e-05/0.1465, allocations: 168.3 kB / 0.6849 GB, free: 11.73 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.1465, allocations: 384 / 0.6849 GB, free: 11.73 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.522e-05/0.1466, allocations: 12.38 kB / 0.685 GB, free: 11.71 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001217/0.1467, allocations: 76.19 kB / 0.685 GB, free: 11.62 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.1467, allocations: 0 / 0.685 GB, free: 11.62 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.1467, allocations: 0 / 0.685 GB, free: 11.62 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.1467, allocations: 4 kB / 0.685 GB, free: 11.62 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.888e-05/0.1468, allocations: 11.92 kB / 0.685 GB, free: 11.61 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005635/0.1473, allocations: 466.9 kB / 0.6855 GB, free: 11.09 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001224/0.1475, allocations: 75.66 kB / 0.6856 GB, free: 10.99 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.896e-05/0.1475, allocations: 26.58 kB / 0.6856 GB, free: 10.95 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.344e-06/0.1475, allocations: 0 / 0.6856 GB, free: 10.95 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.895e-05/0.1476, allocations: 38.56 kB / 0.6856 GB, free: 10.91 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 9.72e-07/0.1476, allocations: 0 / 0.6856 GB, free: 10.91 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005726/0.1481, allocations: 306.2 kB / 0.6859 GB, free: 10.55 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.498e-05/0.1482, allocations: 102.8 kB / 0.686 GB, free: 10.43 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.966e-05/0.1483, allocations: 106.1 kB / 0.6861 GB, free: 10.32 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.559e-05/0.1483, allocations: 33.64 kB / 0.6861 GB, free: 10.28 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.621e-05/0.1483, allocations: 92.03 kB / 0.6862 GB, free: 10.18 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.06e-05/0.1483, allocations: 31.55 kB / 0.6863 GB, free: 10.15 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.662e-05/0.1484, allocations: 21.72 kB / 0.6863 GB, free: 10.12 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.259e-05/0.1485, allocations: 318.8 kB / 0.6866 GB, free: 9.805 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.822e-05/0.1485, allocations: 19.92 kB / 0.6866 GB, free: 9.785 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.498e-05/0.1486, allocations: 53.14 kB / 0.6867 GB, free: 9.715 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.816e-05/0.1486, allocations: 69.59 kB / 0.6867 GB, free: 9.629 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1487, allocations: 4 kB / 0.6867 GB, free: 9.625 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000124/0.1488, allocations: 97.55 kB / 0.6868 GB, free: 9.523 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.1488, allocations: 4 kB / 0.6868 GB, free: 9.52 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.1488, allocations: 4 kB / 0.6868 GB, free: 9.516 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.1488, allocations: 0 / 0.6868 GB, free: 9.516 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.591e-05/0.1489, allocations: 23.92 kB / 0.6868 GB, free: 9.492 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.742e-06/0.1489, allocations: 4 kB / 0.6869 GB, free: 9.488 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.476e-05/0.149, allocations: 0 / 0.6869 GB, free: 9.488 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-06/0.149, allocations: 7.938 kB / 0.6869 GB, free: 9.48 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.847e-05/0.149, allocations: 119.3 kB / 0.687 GB, free: 9.355 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.181e-05/0.1491, allocations: 11.89 kB / 0.687 GB, free: 9.344 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.635e-05/0.1491, allocations: 7.562 kB / 0.687 GB, free: 9.336 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.1492, allocations: 4 kB / 0.687 GB, free: 9.332 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.1492, allocations: 3.938 kB / 0.687 GB, free: 9.328 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.1492, allocations: 0 / 0.687 GB, free: 9.328 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003052/0.1495, allocations: 177.6 kB / 0.6872 GB, free: 9.105 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.1495, allocations: 4 kB / 0.6872 GB, free: 9.102 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.211e-05/0.1496, allocations: 19.92 kB / 0.6872 GB, free: 9.082 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.1496, allocations: 0 / 0.6872 GB, free: 9.082 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.707e-06/0.1496, allocations: 8 kB / 0.6872 GB, free: 9.074 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.1496, allocations: 4.062 kB / 0.6872 GB, free: 9.07 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1496, allocations: 0 / 0.6872 GB, free: 9.07 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002014/0.1498, allocations: 337.9 kB / 0.6875 GB, free: 8.723 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.726e-05/0.1499, allocations: 81.11 kB / 0.6876 GB, free: 8.625 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.301e-05/0.1499, allocations: 0 / 0.6876 GB, free: 8.625 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001687/0.1501, allocations: 15.98 kB / 0.6876 GB, free: 8.609 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.534e-05/0.1501, allocations: 3.938 kB / 0.6876 GB, free: 8.605 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.204e-06/0.1501, allocations: 4 kB / 0.6876 GB, free: 8.602 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.991e-05/0.1501, allocations: 79.28 kB / 0.6877 GB, free: 8.523 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1501, allocations: 0 / 0.6877 GB, free: 8.523 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003213/0.1505, allocations: 12 kB / 0.6877 GB, free: 8.512 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.0004172/0.1509, allocations: 0.8769 MB / 0.6886 GB, free: 7.605 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001024/0.151, allocations: 44.44 kB / 0.6886 GB, free: 7.562 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.151, allocations: 256 / 0.6886 GB, free: 7.562 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.529e-05/0.1511, allocations: 23.94 kB / 0.6886 GB, free: 7.539 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004009/0.1515, allocations: 11.94 kB / 0.6886 GB, free: 7.527 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001353/0.1528, allocations: 1.696 MB / 0.6903 GB, free: 5.715 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002046/0.153, allocations: 0.6885 MB / 0.691 GB, free: 5 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.07e-05/0.1531, allocations: 8 kB / 0.691 GB, free: 4.992 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.06e-05/0.1531, allocations: 7.438 kB / 0.691 GB, free: 4.984 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1531, allocations: 4 kB / 0.691 GB, free: 4.98 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01811/0.1712, allocations: 1.698 MB / 0.6926 GB, free: 3.449 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.889/7.06, allocations: 6.125 kB / 0.6927 GB, free: 3.445 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1)