Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_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.001338/0.001338, allocations: 109.4 kB / 15.69 MB, free: 128 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.001561/0.00156, allocations: 187.9 kB / 16.62 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.475/1.475, allocations: 205.1 MB / 222.5 MB, free: 4.543 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.735/1.735, allocations: 292.3 MB / 0.549 GB, free: 12.75 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001443/0.001444, allocations: 66.59 kB / 0.6717 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2847/0.2861, allocations: 114.6 MB / 0.7836 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.003046/0.2892, allocations: 1.256 MB / 0.7848 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004486/0.2937, allocations: 2.928 MB / 0.7877 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.783e-05/0.2938, allocations: 0 / 0.7877 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.821e-05/0.2939, allocations: 3.984 kB / 0.7877 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.329e-05/0.294, allocations: 7.922 kB / 0.7877 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006762/0.2947, allocations: 95.55 kB / 0.7878 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.93e-05/0.2948, allocations: 43.78 kB / 0.7878 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.683e-05/0.2948, allocations: 12 kB / 0.7879 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006107/0.2954, allocations: 151.5 kB / 0.788 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.086e-05/0.2955, allocations: 19.92 kB / 0.788 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.281e-05/0.2955, allocations: 0 / 0.788 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002068/0.2958, allocations: 63.88 kB / 0.7881 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.969e-05/0.2958, allocations: 7.984 kB / 0.7881 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.72e-05/0.2958, allocations: 19.92 kB / 0.7881 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001983/0.296, allocations: 64.09 kB / 0.7882 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.296, allocations: 3.938 kB / 0.7882 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.974e-06/0.2961, allocations: 4 kB / 0.7882 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.294e-06/0.2961, allocations: 3.938 kB / 0.7882 GB, free: 8.582 MB / 0.6075 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.0005453/0.2966, allocations: 347.4 kB / 0.7885 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.011e-05/0.2967, allocations: 12.03 kB / 0.7885 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.312e-05/0.2967, allocations: 34.75 kB / 0.7886 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.206e-05/0.2968, allocations: 4.938 kB / 0.7886 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001196/0.2969, allocations: 164.4 kB / 0.7887 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.766e-05/0.2969, allocations: 384 / 0.7887 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.706e-05/0.297, allocations: 12.38 kB / 0.7887 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001562/0.2971, allocations: 57.59 kB / 0.7888 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.2971, allocations: 0 / 0.7888 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.584e-05/0.2972, allocations: 8 kB / 0.7888 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.2972, allocations: 0 / 0.7888 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.384e-05/0.2972, allocations: 19.91 kB / 0.7888 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001967/0.2974, allocations: 169.6 kB / 0.789 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001141/0.2976, allocations: 54.55 kB / 0.789 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.211e-05/0.2976, allocations: 24.8 kB / 0.789 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007715/0.2984, allocations: 0.5829 MB / 0.7896 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.22e-05/0.2984, allocations: 46.5 kB / 0.7897 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.283e-06/0.2984, allocations: 0 / 0.7897 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0006484/0.2991, allocations: 306.4 kB / 0.79 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.089e-05/0.2992, allocations: 51.41 kB / 0.79 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.957e-05/0.2992, allocations: 101.8 kB / 0.7901 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/0.2993, allocations: 33.7 kB / 0.7901 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.029e-05/0.2993, allocations: 84.05 kB / 0.7902 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.038e-05/0.2993, allocations: 23.66 kB / 0.7902 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.746e-05/0.2994, allocations: 29.7 kB / 0.7903 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.2995, allocations: 310.8 kB / 0.7906 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.031e-05/0.2995, allocations: 19.98 kB / 0.7906 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.781e-05/0.2996, allocations: 53.14 kB / 0.7906 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.491e-05/0.2997, allocations: 73.03 kB / 0.7907 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.2997, allocations: 0 / 0.7907 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001365/0.2998, allocations: 97.45 kB / 0.7908 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.2999, allocations: 4 kB / 0.7908 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.034e-06/0.2999, allocations: 4 kB / 0.7908 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.2999, allocations: 0 / 0.7908 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.294e-05/0.3, allocations: 19.98 kB / 0.7908 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.3, allocations: 4 kB / 0.7908 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.09e-05/0.3001, allocations: 12.06 kB / 0.7908 GB, free: 5.441 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.378e-06/0.3001, allocations: 7.938 kB / 0.7908 GB, free: 5.434 MB / 0.6075 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 7.684e-05/0.3001, allocations: 117.8 kB / 0.791 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.03e-05/0.3002, allocations: 4 kB / 0.791 GB, free: 5.305 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.722e-05/0.3002, allocations: 15.89 kB / 0.791 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.3002, allocations: 0 / 0.791 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.3002, allocations: 0 / 0.791 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.187e-06/0.3003, allocations: 3.938 kB / 0.791 GB, free: 5.281 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002488/0.3005, allocations: 173.6 kB / 0.7911 GB, free: 5.062 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.3005, allocations: 4 kB / 0.7911 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.527e-05/0.3006, allocations: 20 kB / 0.7912 GB, free: 5.039 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.3006, allocations: 0 / 0.7912 GB, free: 5.039 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.3006, allocations: 0.7188 kB / 0.7912 GB, free: 5.039 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3007, allocations: 0 / 0.7912 GB, free: 5.039 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.3007, allocations: 0 / 0.7912 GB, free: 5.039 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002031/0.3009, allocations: 183.3 kB / 0.7913 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.111e-05/0.3009, allocations: 85.14 kB / 0.7914 GB, free: 4.742 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.737e-05/0.301, allocations: 8 kB / 0.7914 GB, free: 4.734 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.3011, allocations: 4 kB / 0.7914 GB, free: 4.73 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.179e-05/0.3011, allocations: 11.92 kB / 0.7914 GB, free: 4.719 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.002e-06/0.3011, allocations: 0 / 0.7914 GB, free: 4.719 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.653e-05/0.3012, allocations: 79.28 kB / 0.7915 GB, free: 4.641 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3012, allocations: 0 / 0.7915 GB, free: 4.641 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002432/0.3014, allocations: 16 kB / 0.7915 GB, free: 4.625 MB / 0.6075 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.0004672/0.3019, allocations: 0.7126 MB / 0.7922 GB, free: 3.883 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001231/0.302, allocations: 35.97 kB / 0.7923 GB, free: 3.848 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/0.302, allocations: 4 kB / 0.7923 GB, free: 3.844 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.026e-05/0.3021, allocations: 19.92 kB / 0.7923 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003307/0.3024, allocations: 15.88 kB / 0.7923 GB, free: 3.809 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001505/0.3039, allocations: 1.524 MB / 0.7938 GB, free: 2.172 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002478/0.3042, allocations: 0.6807 MB / 0.7945 GB, free: 1.465 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.304e-05/0.3042, allocations: 15.75 kB / 0.7945 GB, free: 1.449 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.785e-05/0.3043, allocations: 15.44 kB / 0.7945 GB, free: 1.434 MB / 0.6075 GB Notification: Performance of SimCode: time 4.11e-07/0.3043, allocations: 4 kB / 0.7945 GB, free: 1.43 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02089/0.3252, allocations: 1.649 MB / 0.7961 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.539/7.864, allocations: 10.28 kB / 0.7961 GB, free: 15.87 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_8_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck.fmu > Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1)