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.887/1.887, allocations: 252 MB / 267.3 MB, free: 10.84 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.001426/0.001426, allocations: 178.6 kB / 327 MB, free: 2.102 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.114/2.114, allocations: 205.4 MB / 0.578 GB, free: 20.17 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.001088/0.001088, allocations: 92.92 kB / 0.6826 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000424/0.0004243, allocations: 8.531 kB / 0.797 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2472/0.2477, allocations: 106.3 MB / 0.9009 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.00151/0.2492, allocations: 0.989 MB / 0.9019 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003699/0.253, allocations: 2.897 MB / 0.9047 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.643e-05/0.253, allocations: 3.938 kB / 0.9047 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.234e-05/0.253, allocations: 0 / 0.9047 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.263e-05/0.2531, allocations: 0 / 0.9047 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000508/0.2536, allocations: 99.53 kB / 0.9048 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.862e-05/0.2537, allocations: 35.89 kB / 0.9048 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.007e-05/0.2538, allocations: 7.938 kB / 0.9048 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000546/0.2543, allocations: 147.6 kB / 0.905 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.297e-05/0.2544, allocations: 19.91 kB / 0.905 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.428e-05/0.2544, allocations: 4 kB / 0.905 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001755/0.2546, allocations: 59.83 kB / 0.9051 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.881e-05/0.2546, allocations: 11.97 kB / 0.9051 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.873e-05/0.2547, allocations: 41.64 kB / 0.9051 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001942/0.2549, allocations: 59.84 kB / 0.9052 GB, free: 59 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.2549, allocations: 0 / 0.9052 GB, free: 59 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.423e-06/0.2549, allocations: 0 / 0.9052 GB, free: 59 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.2549, allocations: 0 / 0.9052 GB, free: 59 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.0004012/0.2553, allocations: 340.5 kB / 0.9055 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/0.2554, allocations: 12.03 kB / 0.9055 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.032e-05/0.2554, allocations: 34.75 kB / 0.9055 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.418e-05/0.2555, allocations: 8.844 kB / 0.9055 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.92e-05/0.2556, allocations: 168.3 kB / 0.9057 GB, free: 58.35 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.019e-05/0.2556, allocations: 384 / 0.9057 GB, free: 58.35 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.85e-05/0.2556, allocations: 8.375 kB / 0.9057 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001506/0.2558, allocations: 53.61 kB / 0.9058 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.2558, allocations: 4 kB / 0.9058 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.617e-05/0.2558, allocations: 12 kB / 0.9058 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.2559, allocations: 0 / 0.9058 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.8e-05/0.2559, allocations: 11.98 kB / 0.9058 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001631/0.2561, allocations: 169.6 kB / 0.906 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001047/0.2562, allocations: 54.5 kB / 0.906 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.706e-05/0.2563, allocations: 16.86 kB / 0.906 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007585/0.257, allocations: 0.5987 MB / 0.9066 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.627e-05/0.2571, allocations: 34.56 kB / 0.9066 GB, free: 57.21 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=5): time 1.643e-06/0.2571, allocations: 0 / 0.9066 GB, free: 57.21 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0006656/0.2578, allocations: 290.3 kB / 0.9069 GB, free: 56.88 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.612e-05/0.2578, allocations: 63.34 kB / 0.907 GB, free: 56.8 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.823e-05/0.2579, allocations: 101.8 kB / 0.9071 GB, free: 56.69 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.608e-05/0.2579, allocations: 33.64 kB / 0.9071 GB, free: 56.65 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.195e-05/0.258, allocations: 87.98 kB / 0.9072 GB, free: 56.56 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.189e-05/0.258, allocations: 27.61 kB / 0.9072 GB, free: 56.54 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.039e-06/0.258, allocations: 0 / 0.9072 GB, free: 56.54 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.446e-05/0.2581, allocations: 322.8 kB / 0.9075 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.59e-05/0.2582, allocations: 12 kB / 0.9075 GB, free: 56.2 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.147e-05/0.2582, allocations: 53.14 kB / 0.9076 GB, free: 56.13 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001086/0.2583, allocations: 69.08 kB / 0.9076 GB, free: 56.04 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.2584, allocations: 4 kB / 0.9077 GB, free: 56.04 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001598/0.2585, allocations: 97.77 kB / 0.9077 GB, free: 55.94 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.2586, allocations: 8 kB / 0.9078 GB, free: 55.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.2586, allocations: 0 / 0.9078 GB, free: 55.93 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.134e-05/0.2586, allocations: 4 kB / 0.9078 GB, free: 55.93 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.722e-05/0.2587, allocations: 23.92 kB / 0.9078 GB, free: 55.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.2587, allocations: 0 / 0.9078 GB, free: 55.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.114e-05/0.2588, allocations: 7.938 kB / 0.9078 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.819e-06/0.2588, allocations: 12.2 kB / 0.9078 GB, free: 55.88 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 8.623e-05/0.2589, allocations: 121.7 kB / 0.9079 GB, free: 55.75 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.158e-05/0.2589, allocations: 3.906 kB / 0.9079 GB, free: 55.75 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.452e-05/0.259, allocations: 7.969 kB / 0.9079 GB, free: 55.74 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.259, allocations: 4 kB / 0.9079 GB, free: 55.73 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.259, allocations: 0 / 0.9079 GB, free: 55.73 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.259, allocations: 3.938 kB / 0.9079 GB, free: 55.73 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002698/0.2593, allocations: 173.7 kB / 0.9081 GB, free: 55.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.2593, allocations: 0 / 0.9081 GB, free: 55.51 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001212/0.2594, allocations: 19.98 kB / 0.9081 GB, free: 55.49 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.2594, allocations: 0 / 0.9081 GB, free: 55.49 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.2595, allocations: 4.438 kB / 0.9081 GB, free: 55.49 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.2595, allocations: 3.984 kB / 0.9081 GB, free: 55.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.117e-06/0.2595, allocations: 4 kB / 0.9081 GB, free: 55.48 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001897/0.2597, allocations: 179.3 kB / 0.9083 GB, free: 55.29 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.373e-05/0.2597, allocations: 85.02 kB / 0.9084 GB, free: 55.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.105e-05/0.2598, allocations: 4.031 kB / 0.9084 GB, free: 55.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001467/0.2599, allocations: 8 kB / 0.9084 GB, free: 55.18 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.507e-05/0.26, allocations: 3.938 kB / 0.9084 GB, free: 55.17 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.187e-05/0.26, allocations: 8 kB / 0.9084 GB, free: 55.16 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.037e-05/0.26, allocations: 79.27 kB / 0.9085 GB, free: 55.09 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2e-07/0.26, allocations: 4 kB / 0.9085 GB, free: 55.08 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003361/0.2604, allocations: 8 kB / 0.9085 GB, free: 55.07 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.0003506/0.2607, allocations: 0.7086 MB / 0.9092 GB, free: 54.34 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000113/0.2609, allocations: 47.86 kB / 0.9092 GB, free: 54.29 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.2609, allocations: 0 / 0.9092 GB, free: 54.29 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.426e-05/0.2609, allocations: 12 kB / 0.9092 GB, free: 54.28 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003644/0.2613, allocations: 15.73 kB / 0.9093 GB, free: 54.27 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001408/0.2627, allocations: 1.599 MB / 0.9108 GB, free: 52.56 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001239/0.2628, allocations: 0.6888 MB / 0.9115 GB, free: 51.84 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 7.536e-05/0.2629, allocations: 4 kB / 0.9115 GB, free: 51.84 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.074e-05/0.263, allocations: 15.44 kB / 0.9115 GB, free: 51.82 MB / 0.6042 GB Notification: Performance of SimCode: time 3.91e-07/0.263, allocations: 0 / 0.9115 GB, free: 51.82 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0431/0.3061, allocations: 1.457 MB / 0.9129 GB, free: 50.53 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002872/0.3064, allocations: 226 kB / 0.9131 GB, free: 50.27 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.561/2.867, allocations: 0 / 0.9131 GB, free: 50.27 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)