Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.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.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterDerivativeCheck",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.001111/0.001111, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001105/0.001105, allocations: 189.6 kB / 16.25 MB, free: 6.633 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.164/1.164, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001873/0.001873, allocations: 286.8 kB / 290.3 MB, free: 2.133 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8343/0.8343, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001714/0.001714, allocations: 89.58 kB / 0.5948 GB, free: 28.25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1251, allocations: 86.97 MB / 0.6797 GB, free: 0.9961 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.00182/0.127, allocations: 1.326 MB / 0.681 GB, free: 15.67 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002668/0.1297, allocations: 2.896 MB / 0.6838 GB, free: 12.76 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.297e-05/0.1297, allocations: 0 / 0.6838 GB, free: 12.76 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.734e-05/0.1297, allocations: 7.922 kB / 0.6838 GB, free: 12.75 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.482e-05/0.1298, allocations: 0 / 0.6838 GB, free: 12.75 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003595/0.1301, allocations: 91.61 kB / 0.6839 GB, free: 12.66 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.46e-05/0.1302, allocations: 39.91 kB / 0.684 GB, free: 12.62 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.414e-05/0.1302, allocations: 0 / 0.684 GB, free: 12.62 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003387/0.1306, allocations: 163.8 kB / 0.6841 GB, free: 12.46 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.971e-05/0.1306, allocations: 15.92 kB / 0.6841 GB, free: 12.45 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.065e-06/0.1306, allocations: 0 / 0.6841 GB, free: 12.45 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001253/0.1307, allocations: 71.81 kB / 0.6842 GB, free: 12.38 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.244e-05/0.1308, allocations: 7.984 kB / 0.6842 GB, free: 12.37 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.272e-05/0.1308, allocations: 15.92 kB / 0.6842 GB, free: 12.35 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001212/0.1309, allocations: 63.86 kB / 0.6843 GB, free: 12.29 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.1309, allocations: 0 / 0.6843 GB, free: 12.29 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1309, allocations: 0 / 0.6843 GB, free: 12.29 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.366e-06/0.1309, allocations: 0 / 0.6843 GB, free: 12.29 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.0003159/0.1313, allocations: 355.4 kB / 0.6846 GB, free: 11.89 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.761e-05/0.1313, allocations: 8.031 kB / 0.6846 GB, free: 11.89 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.587e-05/0.1313, allocations: 30.75 kB / 0.6847 GB, free: 11.85 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.568e-05/0.1314, allocations: 4.938 kB / 0.6847 GB, free: 11.84 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.411e-05/0.1314, allocations: 164.4 kB / 0.6848 GB, free: 11.64 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.1315, allocations: 12.36 kB / 0.6848 GB, free: 11.63 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.907e-05/0.1315, allocations: 8.312 kB / 0.6849 GB, free: 11.62 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.797e-05/0.1316, allocations: 57.61 kB / 0.6849 GB, free: 11.56 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.6e-06/0.1316, allocations: 4 kB / 0.6849 GB, free: 11.56 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-06/0.1316, allocations: 0 / 0.6849 GB, free: 11.56 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.1316, allocations: 3.938 kB / 0.6849 GB, free: 11.55 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.178e-05/0.1317, allocations: 19.98 kB / 0.6849 GB, free: 11.54 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001285/0.1318, allocations: 161.6 kB / 0.6851 GB, free: 11.33 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.62e-05/0.1319, allocations: 54.48 kB / 0.6851 GB, free: 11.27 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.459e-05/0.1319, allocations: 17.09 kB / 0.6852 GB, free: 11.25 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005374/0.1325, allocations: 0.6063 MB / 0.6858 GB, free: 10.53 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.032e-05/0.1325, allocations: 30.56 kB / 0.6858 GB, free: 10.49 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 9.62e-07/0.1325, allocations: 0 / 0.6858 GB, free: 10.49 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004384/0.1329, allocations: 294.6 kB / 0.6861 GB, free: 10.15 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.507e-05/0.133, allocations: 59.41 kB / 0.6861 GB, free: 10.08 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.412e-05/0.133, allocations: 101.8 kB / 0.6862 GB, free: 9.973 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.314e-05/0.133, allocations: 25.7 kB / 0.6862 GB, free: 9.941 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.122e-05/0.1331, allocations: 92.14 kB / 0.6863 GB, free: 9.848 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.622e-05/0.1331, allocations: 27.55 kB / 0.6864 GB, free: 9.82 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.826e-05/0.1331, allocations: 29.7 kB / 0.6864 GB, free: 9.785 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.659e-05/0.1332, allocations: 318.8 kB / 0.6867 GB, free: 9.465 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.273e-05/0.1333, allocations: 12.05 kB / 0.6867 GB, free: 9.453 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.343e-05/0.1333, allocations: 61.14 kB / 0.6868 GB, free: 9.375 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.322e-05/0.1334, allocations: 69.09 kB / 0.6868 GB, free: 9.289 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1334, allocations: 4 kB / 0.6868 GB, free: 9.285 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001126/0.1335, allocations: 97.45 kB / 0.6869 GB, free: 9.184 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.258e-06/0.1335, allocations: 4 kB / 0.6869 GB, free: 9.18 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.346e-06/0.1335, allocations: 4 kB / 0.6869 GB, free: 9.176 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.187e-06/0.1335, allocations: 288 / 0.6869 GB, free: 9.176 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.805e-05/0.1336, allocations: 27.92 kB / 0.687 GB, free: 9.148 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.027e-06/0.1336, allocations: 0 / 0.687 GB, free: 9.148 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.531e-05/0.1337, allocations: 7.938 kB / 0.687 GB, free: 9.141 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.1337, allocations: 4.125 kB / 0.687 GB, free: 9.137 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 5.958e-05/0.1337, allocations: 115.2 kB / 0.6871 GB, free: 9.016 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.552e-05/0.1338, allocations: 7.984 kB / 0.6871 GB, free: 9.008 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.159e-05/0.1338, allocations: 7.969 kB / 0.6871 GB, free: 9.004 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.1338, allocations: 0 / 0.6871 GB, free: 9.004 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1338, allocations: 7.984 kB / 0.6871 GB, free: 8.996 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.1338, allocations: 3.938 kB / 0.6871 GB, free: 8.992 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001979/0.134, allocations: 177.6 kB / 0.6873 GB, free: 8.77 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.134, allocations: 0 / 0.6873 GB, free: 8.77 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.439e-05/0.1341, allocations: 12 kB / 0.6873 GB, free: 8.758 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.1341, allocations: 4 kB / 0.6873 GB, free: 8.754 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-06/0.1341, allocations: 0 / 0.6873 GB, free: 8.754 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.1341, allocations: 4 kB / 0.6873 GB, free: 8.75 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.1341, allocations: 0 / 0.6873 GB, free: 8.75 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001385/0.1343, allocations: 183.2 kB / 0.6875 GB, free: 8.555 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.899e-05/0.1343, allocations: 85.14 kB / 0.6875 GB, free: 8.453 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.198e-05/0.1343, allocations: 4 kB / 0.6875 GB, free: 8.449 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.625e-05/0.1344, allocations: 4 kB / 0.6876 GB, free: 8.445 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.532e-05/0.1345, allocations: 11.88 kB / 0.6876 GB, free: 8.434 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.604e-06/0.1345, allocations: 7.984 kB / 0.6876 GB, free: 8.426 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.953e-05/0.1345, allocations: 79.28 kB / 0.6876 GB, free: 8.348 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1345, allocations: 0 / 0.6876 GB, free: 8.348 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002141/0.1347, allocations: 12 kB / 0.6877 GB, free: 8.336 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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.0003299/0.1351, allocations: 0.7046 MB / 0.6883 GB, free: 7.602 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 9.383e-05/0.1352, allocations: 47.91 kB / 0.6884 GB, free: 7.555 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.1352, allocations: 0 / 0.6884 GB, free: 7.555 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.115e-05/0.1352, allocations: 15.98 kB / 0.6884 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.0002214/0.1354, allocations: 11.94 kB / 0.6884 GB, free: 7.527 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001105/0.1365, allocations: 1.552 MB / 0.6899 GB, free: 5.867 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001807/0.1367, allocations: 0.6885 MB / 0.6906 GB, free: 5.152 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.836e-05/0.1368, allocations: 0 / 0.6906 GB, free: 5.152 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.953e-05/0.1368, allocations: 15.44 kB / 0.6906 GB, free: 5.137 MB / 494.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1368, allocations: 0 / 0.6906 GB, free: 5.137 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.952/2.089, allocations: 1.588 MB / 0.6922 GB, free: 3.719 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002224/2.089, allocations: 230.5 kB / 0.6924 GB, free: 3.457 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.619/3.708, allocations: 2.5 kB / 0.6924 GB, free: 3.457 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1)