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.001477/0.001477, 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.001274/0.001274, allocations: 193.7 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.255/1.255, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002004/0.002004, allocations: 283 kB / 290.7 MB, free: 1.996 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.886/0.886, allocations: 169.3 MB / 0.4982 GB, free: 13.88 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001721/0.001721, allocations: 93.62 kB / 0.5953 GB, free: 27.94 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1211, allocations: 86.98 MB / 0.6803 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002178/0.1234, allocations: 1.26 MB / 0.6815 GB, free: 15.33 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003116/0.1265, allocations: 2.922 MB / 0.6844 GB, free: 12.4 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.152e-05/0.1265, allocations: 0 / 0.6844 GB, free: 12.4 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.235e-05/0.1266, allocations: 8 kB / 0.6844 GB, free: 12.39 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.726e-05/0.1266, allocations: 7.922 kB / 0.6844 GB, free: 12.38 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000431/0.127, allocations: 95.55 kB / 0.6845 GB, free: 12.29 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.846e-05/0.1271, allocations: 35.91 kB / 0.6845 GB, free: 12.25 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.86e-05/0.1271, allocations: 4 kB / 0.6845 GB, free: 12.25 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004173/0.1276, allocations: 163.7 kB / 0.6847 GB, free: 12.09 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.795e-05/0.1276, allocations: 15.91 kB / 0.6847 GB, free: 12.07 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.16e-05/0.1276, allocations: 8 kB / 0.6847 GB, free: 12.07 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001528/0.1278, allocations: 67.81 kB / 0.6847 GB, free: 12 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.204e-05/0.1278, allocations: 0 / 0.6847 GB, free: 12 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.729e-05/0.1279, allocations: 23.91 kB / 0.6848 GB, free: 11.98 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001455/0.128, allocations: 63.86 kB / 0.6848 GB, free: 11.91 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.128, allocations: 0 / 0.6848 GB, free: 11.91 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.128, allocations: 0 / 0.6848 GB, free: 11.91 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.128, allocations: 0 / 0.6848 GB, free: 11.91 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.0003317/0.1284, allocations: 355.4 kB / 0.6852 GB, free: 11.52 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.285e-05/0.1284, allocations: 8.031 kB / 0.6852 GB, free: 11.51 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.812e-05/0.1284, allocations: 34.75 kB / 0.6852 GB, free: 11.47 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.991e-05/0.1285, allocations: 4.938 kB / 0.6852 GB, free: 11.46 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.946e-05/0.1286, allocations: 164.3 kB / 0.6854 GB, free: 11.27 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.1286, allocations: 8.375 kB / 0.6854 GB, free: 11.26 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.063e-05/0.1286, allocations: 4.375 kB / 0.6854 GB, free: 11.25 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001059/0.1287, allocations: 61.59 kB / 0.6854 GB, free: 11.19 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.021e-06/0.1287, allocations: 0 / 0.6854 GB, free: 11.19 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.227e-06/0.1287, allocations: 0 / 0.6854 GB, free: 11.19 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.1287, allocations: 4 kB / 0.6854 GB, free: 11.18 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.861e-05/0.1288, allocations: 23.97 kB / 0.6855 GB, free: 11.16 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001345/0.1289, allocations: 157.7 kB / 0.6856 GB, free: 10.96 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.152e-05/0.129, allocations: 50.5 kB / 0.6857 GB, free: 10.9 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.881e-05/0.1291, allocations: 20.84 kB / 0.6857 GB, free: 10.88 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005922/0.1297, allocations: 0.6064 MB / 0.6863 GB, free: 10.16 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.85e-05/0.1297, allocations: 30.56 kB / 0.6863 GB, free: 10.12 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.1297, allocations: 0 / 0.6863 GB, free: 10.12 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004921/0.1302, allocations: 290.3 kB / 0.6866 GB, free: 9.785 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.603e-05/0.1302, allocations: 59.39 kB / 0.6866 GB, free: 9.715 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.565e-05/0.1303, allocations: 105.7 kB / 0.6867 GB, free: 9.602 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.228e-05/0.1303, allocations: 29.7 kB / 0.6868 GB, free: 9.566 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.298e-05/0.1304, allocations: 84.05 kB / 0.6868 GB, free: 9.48 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.866e-05/0.1304, allocations: 35.48 kB / 0.6869 GB, free: 9.445 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.517e-05/0.1304, allocations: 25.72 kB / 0.6869 GB, free: 9.414 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.828e-05/0.1305, allocations: 318.8 kB / 0.6872 GB, free: 9.094 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.42e-05/0.1305, allocations: 8 kB / 0.6872 GB, free: 9.086 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.59e-05/0.1306, allocations: 57.14 kB / 0.6873 GB, free: 9.012 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.643e-05/0.1307, allocations: 73.08 kB / 0.6873 GB, free: 8.922 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1307, allocations: 0 / 0.6873 GB, free: 8.922 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001248/0.1308, allocations: 97.55 kB / 0.6874 GB, free: 8.82 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.1308, allocations: 9.875 kB / 0.6874 GB, free: 8.812 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.1308, allocations: 0 / 0.6874 GB, free: 8.812 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/0.1308, allocations: 0 / 0.6874 GB, free: 8.812 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.404e-05/0.1309, allocations: 27.92 kB / 0.6875 GB, free: 8.785 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.1309, allocations: 0 / 0.6875 GB, free: 8.785 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.743e-05/0.131, allocations: 8.375 kB / 0.6875 GB, free: 8.777 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.131, allocations: 4 kB / 0.6875 GB, free: 8.773 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.435e-05/0.1311, allocations: 115.3 kB / 0.6876 GB, free: 8.652 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.871e-05/0.1311, allocations: 12.12 kB / 0.6876 GB, free: 8.641 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.324e-05/0.1311, allocations: 7.969 kB / 0.6876 GB, free: 8.637 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.1311, allocations: 7.984 kB / 0.6876 GB, free: 8.629 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.1311, allocations: 4 kB / 0.6876 GB, free: 8.625 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.1311, allocations: 3.938 kB / 0.6876 GB, free: 8.621 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000209/0.1314, allocations: 177.7 kB / 0.6878 GB, free: 8.398 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.1314, allocations: 0 / 0.6878 GB, free: 8.398 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.102e-05/0.1314, allocations: 15.98 kB / 0.6878 GB, free: 8.383 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.1315, allocations: 0 / 0.6878 GB, free: 8.383 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-06/0.1315, allocations: 0 / 0.6878 GB, free: 8.383 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.1315, allocations: 8 kB / 0.6878 GB, free: 8.375 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1315, allocations: 0 / 0.6878 GB, free: 8.375 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001562/0.1316, allocations: 179.4 kB / 0.688 GB, free: 8.184 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.757e-05/0.1317, allocations: 85.05 kB / 0.6881 GB, free: 8.082 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.399e-05/0.1317, allocations: 4 kB / 0.6881 GB, free: 8.078 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.1318, allocations: 11.97 kB / 0.6881 GB, free: 8.066 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.29e-05/0.1318, allocations: 3.938 kB / 0.6881 GB, free: 8.062 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.623e-06/0.1318, allocations: 4 kB / 0.6881 GB, free: 8.059 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.082e-05/0.1319, allocations: 87.27 kB / 0.6882 GB, free: 7.973 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1319, allocations: 0 / 0.6882 GB, free: 7.973 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002269/0.1321, allocations: 12 kB / 0.6882 GB, free: 7.961 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.0003416/0.1325, allocations: 0.7046 MB / 0.6889 GB, free: 7.227 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 9.881e-05/0.1326, allocations: 55.86 kB / 0.6889 GB, free: 7.172 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1326, allocations: 0 / 0.6889 GB, free: 7.172 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.245e-05/0.1326, allocations: 12 kB / 0.6889 GB, free: 7.16 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002482/0.1329, allocations: 12.69 kB / 0.689 GB, free: 7.148 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001178/0.1341, allocations: 1.532 MB / 0.6904 GB, free: 5.508 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001756/0.1342, allocations: 0.6846 MB / 0.6911 GB, free: 4.797 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.061e-05/0.1343, allocations: 8 kB / 0.6911 GB, free: 4.789 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.263e-05/0.1343, allocations: 15.44 kB / 0.6911 GB, free: 4.773 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1343, allocations: 0 / 0.6911 GB, free: 4.773 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7216/0.8559, allocations: 1.654 MB / 0.6928 GB, free: 3.246 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.593/10.45, allocations: 8 kB / 0.6928 GB, free: 3.238 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)