Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEntropy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7008/0.7008, allocations: 127.3 MB / 139.8 MB, free: 15.46 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001056/0.001056, allocations: 192.8 kB / 169.7 MB, free: 1.73 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.446/1.446, allocations: 205.1 MB / 404.5 MB, free: 1.59 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009299/0.0009298, allocations: 83.75 kB / 481.8 MB, free: 4.246 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.183e-05/3.192e-05, allocations: 4 kB / 0.5533 GB, free: 54.74 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1327, allocations: 76.76 MB / 0.6283 GB, free: 9.918 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.27/5.403, allocations: 2.137 GB / 2.765 GB, free: 192.2 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002275/5.403, allocations: 87.95 kB / 2.765 GB, free: 192.1 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.789/6.192, allocations: 222.6 MB / 2.983 GB, free: 171.1 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.924e-06/6.192, allocations: 0 / 2.983 GB, free: 171.1 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.39e-05/6.192, allocations: 10.02 kB / 2.983 GB, free: 171.1 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.001042/6.193, allocations: 0.609 MB / 2.983 GB, free: 170.7 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/6.193, allocations: 10.25 kB / 2.983 GB, free: 170.7 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.677e-05/6.193, allocations: 51.84 kB / 2.983 GB, free: 170.7 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006582/6.194, allocations: 75.59 kB / 2.983 GB, free: 170.7 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000426/6.194, allocations: 295.8 kB / 2.984 GB, free: 170.5 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.285e-05/6.194, allocations: 15.53 kB / 2.984 GB, free: 170.5 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.958e-05/6.194, allocations: 16.81 kB / 2.984 GB, free: 170.5 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003952/6.195, allocations: 241.8 kB / 2.984 GB, free: 170.4 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/6.195, allocations: 0 / 2.984 GB, free: 170.4 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.322e-05/6.195, allocations: 7.828 kB / 2.984 GB, free: 170.4 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/6.195, allocations: 7.438 kB / 2.984 GB, free: 170.4 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002518/6.195, allocations: 161 kB / 2.984 GB, free: 170.4 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001218/6.196, allocations: 0.9192 MB / 2.985 GB, free: 169.9 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001813/6.197, allocations: 94.03 kB / 2.985 GB, free: 169.9 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001116/6.197, allocations: 72.67 kB / 2.985 GB, free: 169.9 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006265/6.197, allocations: 330.7 kB / 2.985 GB, free: 169.6 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.867e-05/6.197, allocations: 31.69 kB / 2.985 GB, free: 169.6 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=12): time 1.332e-06/6.197, allocations: 0 / 2.985 GB, free: 169.6 MB / 0.6511 GB Notification: Performance of matching and sorting (n=12): time 0.0004118/6.198, allocations: 165.2 kB / 2.986 GB, free: 169.5 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.815e-05/6.198, allocations: 55.56 kB / 2.986 GB, free: 169.5 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002648/6.198, allocations: 244.9 kB / 2.986 GB, free: 169.4 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.991e-05/6.198, allocations: 25.7 kB / 2.986 GB, free: 169.3 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/6.198, allocations: 156.9 kB / 2.986 GB, free: 169.2 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.379e-05/6.198, allocations: 41.44 kB / 2.986 GB, free: 169.2 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.446e-06/6.198, allocations: 0 / 2.986 GB, free: 169.2 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 8.08e-05/6.198, allocations: 342.8 kB / 2.986 GB, free: 168.9 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.93e-05/6.199, allocations: 47.39 kB / 2.986 GB, free: 168.9 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001566/6.199, allocations: 125.2 kB / 2.987 GB, free: 168.8 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001187/6.199, allocations: 62.3 kB / 2.987 GB, free: 168.8 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/6.199, allocations: 3.375 kB / 2.987 GB, free: 168.8 MB / 0.6511 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003788/6.199, allocations: 204.5 kB / 2.987 GB, free: 168.8 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.842e-05/6.199, allocations: 8.281 kB / 2.987 GB, free: 168.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.637e-06/6.199, allocations: 6.844 kB / 2.987 GB, free: 168.8 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.331e-05/6.199, allocations: 7 kB / 2.987 GB, free: 168.8 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001982/6.199, allocations: 37.62 kB / 2.987 GB, free: 168.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.166e-05/6.2, allocations: 6.859 kB / 2.987 GB, free: 168.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001824/6.2, allocations: 35.25 kB / 2.987 GB, free: 168.8 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.596e-05/6.2, allocations: 13.25 kB / 2.987 GB, free: 168.8 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.198e-05/6.2, allocations: 120.3 kB / 2.987 GB, free: 168.6 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.465e-05/6.2, allocations: 21 kB / 2.987 GB, free: 168.6 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003558/6.2, allocations: 191.9 kB / 2.987 GB, free: 168.6 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/6.2, allocations: 0 / 2.987 GB, free: 168.6 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/6.2, allocations: 0 / 2.987 GB, free: 168.6 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/6.2, allocations: 0 / 2.987 GB, free: 168.6 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005233/6.201, allocations: 0.5008 MB / 2.988 GB, free: 168.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/6.201, allocations: 0 / 2.988 GB, free: 168.2 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001189/6.201, allocations: 25.5 kB / 2.988 GB, free: 168.2 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/6.201, allocations: 6.125 kB / 2.988 GB, free: 168.2 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/6.201, allocations: 3.469 kB / 2.988 GB, free: 168.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/6.201, allocations: 3.844 kB / 2.988 GB, free: 168.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/6.201, allocations: 3.25 kB / 2.988 GB, free: 168.2 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003296/6.201, allocations: 325.1 kB / 2.988 GB, free: 168 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.345e-05/6.201, allocations: 106.3 kB / 2.988 GB, free: 167.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.819e-05/6.202, allocations: 7.781 kB / 2.988 GB, free: 167.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001772/6.202, allocations: 18 kB / 2.988 GB, free: 167.9 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.701e-05/6.202, allocations: 3.406 kB / 2.988 GB, free: 167.9 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.1e-05/6.202, allocations: 13.25 kB / 2.988 GB, free: 167.9 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001914/6.202, allocations: 222.8 kB / 2.988 GB, free: 167.8 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.41e-07/6.202, allocations: 0 / 2.988 GB, free: 167.8 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008332/6.203, allocations: 190.6 kB / 2.989 GB, free: 167.8 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (senStr.s) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001858/6.205, allocations: 2.088 MB / 2.991 GB, free: 166.6 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002304/6.205, allocations: 112.4 kB / 2.991 GB, free: 166.6 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/6.205, allocations: 3.562 kB / 2.991 GB, free: 166.6 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 6.374e-05/6.205, allocations: 41.88 kB / 2.991 GB, free: 166.6 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006676/6.206, allocations: 120.5 kB / 2.991 GB, free: 166.6 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000856/6.207, allocations: 441.7 kB / 2.991 GB, free: 166.4 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001879/6.207, allocations: 0.7611 MB / 2.992 GB, free: 165.7 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.000181/6.207, allocations: 56.28 kB / 2.992 GB, free: 165.7 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.615e-05/6.207, allocations: 79.69 kB / 2.992 GB, free: 165.7 MB / 0.6511 GB Notification: Performance of SimCode: time 2.7e-07/6.207, allocations: 0 / 2.992 GB, free: 165.7 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04493/6.252, allocations: 25.94 MB / 3.018 GB, free: 164.5 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001579/6.252, allocations: 202.7 kB / 3.018 GB, free: 164.3 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.744/8.996, allocations: 0 / 3.018 GB, free: 164.3 MB / 0.6511 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEntropy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_SpecificEntropy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_SpecificEntropy.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)