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.007031/0.007031, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001683/0.001683, allocations: 190.1 kB / 16.67 MB, free: 5.953 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.295/1.295, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002357/0.002357, allocations: 298 kB / 290.8 MB, free: 14.42 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.949/0.949, allocations: 169.3 MB / 0.4983 GB, free: 4.402 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001767/0.001767, allocations: 95.83 kB / 0.6809 GB, free: 7.461 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4195/0.4213, allocations: 86.97 MB / 0.7659 GB, free: 3.836 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.00205/0.4233, allocations: 1.26 MB / 0.7671 GB, free: 2.566 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003409/0.4268, allocations: 2.924 MB / 0.77 GB, free: 15.63 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.342e-05/0.4268, allocations: 3.938 kB / 0.77 GB, free: 15.62 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.154e-05/0.4269, allocations: 3.984 kB / 0.77 GB, free: 15.62 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.327e-05/0.4269, allocations: 7.922 kB / 0.77 GB, free: 15.61 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005098/0.4274, allocations: 99.56 kB / 0.7701 GB, free: 15.52 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.69e-05/0.4275, allocations: 35.89 kB / 0.7701 GB, free: 15.48 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.934e-05/0.4276, allocations: 4 kB / 0.7701 GB, free: 15.48 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004847/0.4281, allocations: 158.3 kB / 0.7703 GB, free: 15.32 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.559e-05/0.4281, allocations: 19.92 kB / 0.7703 GB, free: 15.3 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.056e-05/0.4281, allocations: 0 / 0.7703 GB, free: 15.3 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001649/0.4283, allocations: 67.81 kB / 0.7703 GB, free: 15.24 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.48e-05/0.4283, allocations: 4 kB / 0.7703 GB, free: 15.23 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.926e-05/0.4284, allocations: 15.92 kB / 0.7704 GB, free: 15.22 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001645/0.4285, allocations: 67.86 kB / 0.7704 GB, free: 15.15 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.4286, allocations: 0 / 0.7704 GB, free: 15.15 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.633e-06/0.4286, allocations: 0 / 0.7704 GB, free: 15.15 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.039e-05/0.4286, allocations: 0 / 0.7704 GB, free: 15.15 MB / 0.545 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.0004032/0.429, allocations: 347.4 kB / 0.7708 GB, free: 14.77 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.429, allocations: 12.03 kB / 0.7708 GB, free: 14.75 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.468e-05/0.4291, allocations: 30.75 kB / 0.7708 GB, free: 14.71 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.581e-05/0.4291, allocations: 8.938 kB / 0.7708 GB, free: 14.71 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001087/0.4292, allocations: 168.4 kB / 0.771 GB, free: 14.5 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.4293, allocations: 4.312 kB / 0.771 GB, free: 14.5 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.413e-05/0.4293, allocations: 4.375 kB / 0.771 GB, free: 14.5 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001279/0.4294, allocations: 57.61 kB / 0.771 GB, free: 14.43 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.4294, allocations: 3.938 kB / 0.771 GB, free: 14.43 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.4294, allocations: 4 kB / 0.771 GB, free: 14.43 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.4295, allocations: 0 / 0.771 GB, free: 14.43 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.644e-05/0.4295, allocations: 23.97 kB / 0.7711 GB, free: 14.4 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001758/0.4297, allocations: 169.5 kB / 0.7712 GB, free: 14.19 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.365e-05/0.4298, allocations: 58.48 kB / 0.7713 GB, free: 14.12 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.261e-05/0.4298, allocations: 20.86 kB / 0.7713 GB, free: 14.1 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006975/0.4305, allocations: 0.5908 MB / 0.7719 GB, free: 13.4 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/0.4306, allocations: 34.56 kB / 0.7719 GB, free: 13.36 MB / 0.545 GB Notification: Performance of pre-optimization done (n=5): time 1.272e-06/0.4306, allocations: 3.938 kB / 0.7719 GB, free: 13.35 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0005552/0.4312, allocations: 318.8 kB / 0.7722 GB, free: 12.99 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.733e-05/0.4312, allocations: 51.41 kB / 0.7723 GB, free: 12.93 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.812e-05/0.4313, allocations: 101.8 kB / 0.7724 GB, free: 12.82 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.406e-05/0.4313, allocations: 33.69 kB / 0.7724 GB, free: 12.78 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.165e-05/0.4313, allocations: 88.05 kB / 0.7725 GB, free: 12.69 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.958e-05/0.4314, allocations: 23.66 kB / 0.7725 GB, free: 12.66 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.837e-05/0.4314, allocations: 33.64 kB / 0.7725 GB, free: 12.62 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.82e-05/0.4315, allocations: 314.8 kB / 0.7728 GB, free: 12.31 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.77e-05/0.4315, allocations: 15.98 kB / 0.7728 GB, free: 12.29 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.86e-05/0.4316, allocations: 49.14 kB / 0.7729 GB, free: 12.23 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.858e-05/0.4317, allocations: 69.09 kB / 0.773 GB, free: 12.14 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.4317, allocations: 4 kB / 0.773 GB, free: 12.14 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001306/0.4318, allocations: 97.45 kB / 0.7731 GB, free: 12.04 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.4318, allocations: 7.938 kB / 0.7731 GB, free: 12.03 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.4319, allocations: 4 kB / 0.7731 GB, free: 12.02 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.4319, allocations: 128 / 0.7731 GB, free: 12.02 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.26e-05/0.4319, allocations: 27.92 kB / 0.7731 GB, free: 12 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.432, allocations: 4 kB / 0.7731 GB, free: 11.99 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.726e-05/0.432, allocations: 3.938 kB / 0.7731 GB, free: 11.99 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.432, allocations: 8 kB / 0.7731 GB, free: 11.98 MB / 0.545 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 6.851e-05/0.4321, allocations: 116.2 kB / 0.7732 GB, free: 11.86 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.698e-05/0.4321, allocations: 4 kB / 0.7732 GB, free: 11.86 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.421e-05/0.4321, allocations: 7.969 kB / 0.7732 GB, free: 11.85 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.4322, allocations: 0 / 0.7732 GB, free: 11.85 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.4322, allocations: 7.984 kB / 0.7732 GB, free: 11.84 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.4322, allocations: 11.88 kB / 0.7732 GB, free: 11.83 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002101/0.4324, allocations: 165.7 kB / 0.7734 GB, free: 11.62 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.4324, allocations: 4 kB / 0.7734 GB, free: 11.61 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.085e-05/0.4325, allocations: 12.28 kB / 0.7734 GB, free: 11.6 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.4325, allocations: 0 / 0.7734 GB, free: 11.6 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.232e-06/0.4325, allocations: 0 / 0.7734 GB, free: 11.6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.4325, allocations: 0 / 0.7734 GB, free: 11.6 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.4325, allocations: 0 / 0.7734 GB, free: 11.6 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001591/0.4327, allocations: 191.3 kB / 0.7736 GB, free: 11.4 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.617e-05/0.4327, allocations: 85.14 kB / 0.7737 GB, free: 11.3 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.256e-05/0.4328, allocations: 0 / 0.7737 GB, free: 11.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.4329, allocations: 0 / 0.7737 GB, free: 11.3 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.706e-05/0.4329, allocations: 11.88 kB / 0.7737 GB, free: 11.29 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.338e-06/0.4329, allocations: 15.98 kB / 0.7737 GB, free: 11.27 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.758e-05/0.4329, allocations: 79.28 kB / 0.7738 GB, free: 11.19 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4329, allocations: 0 / 0.7738 GB, free: 11.19 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002296/0.4332, allocations: 12 kB / 0.7738 GB, free: 11.18 MB / 0.545 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.0004202/0.4336, allocations: 0.7046 MB / 0.7745 GB, free: 10.45 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001252/0.4337, allocations: 51.89 kB / 0.7745 GB, free: 10.39 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.4337, allocations: 0 / 0.7745 GB, free: 10.39 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.692e-05/0.4338, allocations: 20.23 kB / 0.7746 GB, free: 10.38 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002823/0.4341, allocations: 7.938 kB / 0.7746 GB, free: 10.37 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001288/0.4354, allocations: 1.526 MB / 0.7761 GB, free: 8.73 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002299/0.4356, allocations: 0.6845 MB / 0.7767 GB, free: 8.02 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.861e-05/0.4357, allocations: 15.97 kB / 0.7767 GB, free: 8.004 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.563e-05/0.4357, allocations: 15.44 kB / 0.7768 GB, free: 7.992 MB / 0.545 GB Notification: Performance of SimCode: time 4.51e-07/0.4357, allocations: 0 / 0.7768 GB, free: 7.992 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01945/0.4552, allocations: 1.676 MB / 0.7784 GB, free: 6.461 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.037/7.492, allocations: 6.266 kB / 0.7784 GB, free: 6.461 MB / 0.545 GB (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)