Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.203/1.203, allocations: 251.5 MB / 266.7 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000804/0.000804, allocations: 186.2 kB / 325.9 MB, free: 2.664 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.289/1.289, allocations: 205 MB / 0.576 GB, free: 20.93 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006259/0.0006259, allocations: 98.17 kB / 0.6797 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003054/0.0003054, allocations: 17.45 kB / 0.7932 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1371, allocations: 105.4 MB / 0.8962 GB, free: 68.1 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.0009288/0.138, allocations: 0.9977 MB / 0.8972 GB, free: 67.09 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002229/0.1403, allocations: 2.933 MB / 0.9 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.271e-05/0.1403, allocations: 3.938 kB / 0.9 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.837e-05/0.1403, allocations: 3.984 kB / 0.9 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.439e-05/0.1404, allocations: 0 / 0.9 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.00032/0.1407, allocations: 95.61 kB / 0.9001 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.104e-05/0.1407, allocations: 31.92 kB / 0.9002 GB, free: 64.01 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 2.677e-05/0.1408, allocations: 4 kB / 0.9002 GB, free: 64.01 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003042/0.1411, allocations: 147.8 kB / 0.9003 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.762e-05/0.1411, allocations: 19.97 kB / 0.9003 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 9.548e-06/0.1411, allocations: 0 / 0.9003 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001072/0.1413, allocations: 71.81 kB / 0.9004 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.062e-05/0.1413, allocations: 7.938 kB / 0.9004 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.059e-05/0.1413, allocations: 19.91 kB / 0.9004 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001101/0.1414, allocations: 55.94 kB / 0.9005 GB, free: 63.69 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.1414, allocations: 0 / 0.9005 GB, free: 63.69 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.213e-06/0.1414, allocations: 3.938 kB / 0.9005 GB, free: 63.69 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.875e-06/0.1414, allocations: 0 / 0.9005 GB, free: 63.69 MB / 0.6042 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.0002338/0.1417, allocations: 348.7 kB / 0.9008 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 2.961e-05/0.1417, allocations: 8.031 kB / 0.9008 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.574e-05/0.1417, allocations: 38.75 kB / 0.9008 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.412e-05/0.1418, allocations: 4.844 kB / 0.9009 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.7e-05/0.1418, allocations: 168.4 kB / 0.901 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.684e-06/0.1418, allocations: 4.312 kB / 0.901 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.614e-05/0.1419, allocations: 4.375 kB / 0.901 GB, free: 63.03 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.007e-05/0.142, allocations: 57.61 kB / 0.9011 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-06/0.142, allocations: 0 / 0.9011 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.196e-06/0.142, allocations: 0 / 0.9011 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.142, allocations: 4 kB / 0.9011 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.845e-05/0.142, allocations: 23.97 kB / 0.9011 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.713e-05/0.1421, allocations: 157.7 kB / 0.9013 GB, free: 62.74 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 6.51e-05/0.1422, allocations: 58.5 kB / 0.9013 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.166e-05/0.1422, allocations: 16.84 kB / 0.9013 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004331/0.1427, allocations: 0.6026 MB / 0.9019 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.36e-05/0.1427, allocations: 34.56 kB / 0.9019 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.1427, allocations: 0 / 0.9019 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0003915/0.1431, allocations: 294.3 kB / 0.9022 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.568e-05/0.1431, allocations: 55.41 kB / 0.9023 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.63e-05/0.1432, allocations: 105.8 kB / 0.9024 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.494e-06/0.1432, allocations: 25.7 kB / 0.9024 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.921e-05/0.1432, allocations: 92.05 kB / 0.9025 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.222e-05/0.1432, allocations: 35.48 kB / 0.9025 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.986e-05/0.1433, allocations: 13.72 kB / 0.9025 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.115e-05/0.1433, allocations: 318.8 kB / 0.9028 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.045e-05/0.1433, allocations: 12 kB / 0.9029 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.176e-05/0.1434, allocations: 53.08 kB / 0.9029 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.571e-05/0.1434, allocations: 77.25 kB / 0.903 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.1434, allocations: 4 kB / 0.903 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 9.669e-05/0.1435, allocations: 93.64 kB / 0.9031 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.536e-06/0.1435, allocations: 8.031 kB / 0.9031 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.1435, allocations: 4 kB / 0.9031 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.137e-06/0.1436, allocations: 0 / 0.9031 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.161e-05/0.1436, allocations: 19.94 kB / 0.9031 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.381e-06/0.1436, allocations: 4 kB / 0.9031 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.228e-05/0.1437, allocations: 7.922 kB / 0.9031 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.601e-06/0.1437, allocations: 8 kB / 0.9031 GB, free: 60.55 MB / 0.6042 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 4.108e-05/0.1437, allocations: 113.8 kB / 0.9032 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.469e-05/0.1438, allocations: 15.84 kB / 0.9032 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.089e-05/0.1438, allocations: 7.969 kB / 0.9033 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.1438, allocations: 0 / 0.9033 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.1438, allocations: 3.938 kB / 0.9033 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.1438, allocations: 3.938 kB / 0.9033 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001563/0.144, allocations: 173.7 kB / 0.9034 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.144, allocations: 4 kB / 0.9034 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.078e-05/0.1441, allocations: 15.98 kB / 0.9034 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.1441, allocations: 0 / 0.9034 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.1441, allocations: 4 kB / 0.9034 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.1441, allocations: 0 / 0.9034 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1441, allocations: 4.438 kB / 0.9035 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001086/0.1442, allocations: 171.5 kB / 0.9036 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.453e-05/0.1442, allocations: 81.02 kB / 0.9037 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.138e-05/0.1442, allocations: 4 kB / 0.9037 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.084e-05/0.1443, allocations: 11.97 kB / 0.9037 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.234e-05/0.1444, allocations: 7.938 kB / 0.9037 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-06/0.1444, allocations: 4 kB / 0.9037 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.571e-05/0.1444, allocations: 83.28 kB / 0.9038 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of sort global known variables: time 8.42e-07/0.1444, allocations: 0 / 0.9038 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001979/0.1446, allocations: 19.94 kB / 0.9038 GB, free: 59.74 MB / 0.6042 GB 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.0002156/0.1448, allocations: 0.6969 MB / 0.9045 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 7.527e-05/0.1449, allocations: 51.89 kB / 0.9045 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1449, allocations: 4 kB / 0.9046 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.689e-05/0.1449, allocations: 12 kB / 0.9046 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002172/0.1452, allocations: 7.938 kB / 0.9046 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008511/0.146, allocations: 1.538 MB / 0.9061 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.073e-05/0.1461, allocations: 0.6848 MB / 0.9067 GB, free: 56.58 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 5.097e-05/0.1462, allocations: 11.98 kB / 0.9068 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.525e-05/0.1462, allocations: 15.44 kB / 0.9068 GB, free: 56.55 MB / 0.6042 GB Notification: Performance of SimCode: time 2.81e-07/0.1462, allocations: 0 / 0.9068 GB, free: 56.55 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2895/0.4357, allocations: 1.458 MB / 0.9082 GB, free: 55.26 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001473/0.4359, allocations: 221 kB / 0.9084 GB, free: 55.01 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.553/1.989, allocations: 0 / 0.9084 GB, free: 55.01 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_maint_7_0_x_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck.fmu > Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1)