Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.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: translateModel(Buildings.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy") translateModel(Buildings.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.48/1.48, allocations: 252 MB / 268 MB, free: 10.85 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.001132/0.001133, allocations: 175.1 kB / 327.6 MB, free: 2.078 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.81/1.81, allocations: 205.4 MB / 0.5786 GB, free: 20.11 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.0008714/0.0008715, allocations: 94.88 kB / 0.6832 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003238/0.0003239, allocations: 8.438 kB / 0.7976 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1913/0.1916, allocations: 106.3 MB / 0.9015 GB, free: 63.33 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.6125/0.8042, allocations: 159 MB / 1.057 GB, free: 2.043 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.005478/0.8097, allocations: 4.616 MB / 1.061 GB, free: 2.004 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002955/0.8101, allocations: 10.91 kB / 1.061 GB, free: 2.004 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0004151/0.8105, allocations: 95.62 kB / 1.061 GB, free: 2.004 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001454/0.812, allocations: 0.5121 MB / 1.062 GB, free: 1.973 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001961/0.8139, allocations: 0.7035 MB / 1.063 GB, free: 1.941 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001034/0.815, allocations: 0.8027 MB / 1.063 GB, free: 1.938 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003327/0.8153, allocations: 170 kB / 1.063 GB, free: 1.926 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001055/0.8164, allocations: 432.8 kB / 1.064 GB, free: 1.914 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006438/0.817, allocations: 286 kB / 1.064 GB, free: 1.914 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.426e-05/0.8171, allocations: 11.16 kB / 1.064 GB, free: 1.914 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002354/0.8195, allocations: 1.163 MB / 1.065 GB, free: 1.902 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001532/0.8196, allocations: 79.91 kB / 1.065 GB, free: 1.902 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001797/0.8198, allocations: 142.2 kB / 1.066 GB, free: 1.871 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001086/0.8209, allocations: 0.4943 MB / 1.066 GB, free: 1.836 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.8209, allocations: 0.5625 kB / 1.066 GB, free: 1.836 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.973e-06/0.8209, allocations: 0 / 1.066 GB, free: 1.836 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.8209, allocations: 0 / 1.066 GB, free: 1.836 MB / 0.698 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.001063/0.822, allocations: 0.5472 MB / 1.067 GB, free: 17.38 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.8221, allocations: 10.33 kB / 1.067 GB, free: 17.38 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006922/0.8228, allocations: 77.2 kB / 1.067 GB, free: 17.36 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004062/0.8232, allocations: 289.8 kB / 1.067 GB, free: 17.14 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.996e-05/0.8232, allocations: 13.59 kB / 1.067 GB, free: 17.14 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.456e-05/0.8233, allocations: 18.42 kB / 1.067 GB, free: 17.14 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004994/0.8238, allocations: 290.2 kB / 1.067 GB, free: 17.05 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.8238, allocations: 3.766 kB / 1.067 GB, free: 17.05 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.28e-05/0.8238, allocations: 3.312 kB / 1.067 GB, free: 17.05 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.768e-06/0.8238, allocations: 6.656 kB / 1.067 GB, free: 17.05 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000433/0.8243, allocations: 220.9 kB / 1.067 GB, free: 17.04 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00164/0.8259, allocations: 1.251 MB / 1.069 GB, free: 16.2 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002672/0.8262, allocations: 174.2 kB / 1.069 GB, free: 16.08 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002209/0.8264, allocations: 117.6 kB / 1.069 GB, free: 16.04 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008742/0.8273, allocations: 349.8 kB / 1.069 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.851e-05/0.8274, allocations: 40.81 kB / 1.069 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=13): time 2.134e-06/0.8274, allocations: 0 / 1.069 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13): time 0.0008989/0.8283, allocations: 291.8 kB / 1.07 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.337e-05/0.8284, allocations: 169.4 kB / 1.07 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00036/0.8288, allocations: 282.8 kB / 1.07 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.193e-05/0.8288, allocations: 27.14 kB / 1.07 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001168/0.8289, allocations: 154.5 kB / 1.07 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.854e-05/0.829, allocations: 44.8 kB / 1.07 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.182e-05/0.829, allocations: 2.688 kB / 1.07 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001616/0.8292, allocations: 335.3 kB / 1.071 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001907/0.8294, allocations: 74.91 kB / 1.071 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002451/0.8296, allocations: 146.1 kB / 1.071 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004185/0.83, allocations: 217.6 kB / 1.071 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.8301, allocations: 0.7188 kB / 1.071 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006067/0.8307, allocations: 261.9 kB / 1.071 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/0.8307, allocations: 9.125 kB / 1.071 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.8307, allocations: 2.188 kB / 1.071 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.8307, allocations: 4.031 kB / 1.071 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002113/0.831, allocations: 40.88 kB / 1.071 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094e-05/0.831, allocations: 14.36 kB / 1.071 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000217/0.8312, allocations: 35.16 kB / 1.071 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.031e-05/0.8313, allocations: 12.78 kB / 1.071 GB, free: 14.66 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (18): * Single equations (assignments): 18 * 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 0.0001648/0.8314, allocations: 146.8 kB / 1.071 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001464/0.8316, allocations: 29.38 kB / 1.071 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005399/0.8321, allocations: 199.5 kB / 1.072 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/0.8321, allocations: 2.125 kB / 1.072 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-06/0.8322, allocations: 8.562 kB / 1.072 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.636e-06/0.8322, allocations: 2.078 kB / 1.072 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001113/0.8333, allocations: 0.8549 MB / 1.073 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.591e-06/0.8333, allocations: 1.969 kB / 1.073 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001353/0.8334, allocations: 28.41 kB / 1.073 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/0.8335, allocations: 1.625 kB / 1.073 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.631e-05/0.8335, allocations: 6.625 kB / 1.073 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.143e-06/0.8335, allocations: 14.16 kB / 1.073 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.111e-06/0.8335, allocations: 4.281 kB / 1.073 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006381/0.8342, allocations: 352.6 kB / 1.073 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001336/0.8343, allocations: 121.8 kB / 1.073 GB, free: 13.51 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.855e-05/0.8343, allocations: 2.797 kB / 1.073 GB, free: 13.51 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001771/0.8345, allocations: 17.94 kB / 1.073 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.843e-05/0.8346, allocations: 10.92 kB / 1.073 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.299e-05/0.8346, allocations: 8.344 kB / 1.073 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.000309/0.8349, allocations: 231.6 kB / 1.073 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.823e-06/0.8349, allocations: 0.6562 kB / 1.073 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0006013/0.8356, allocations: 95.69 kB / 1.073 GB, free: 13.42 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.s) * 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 (10): * Single equations (assignments): 10 * 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.0006411/0.8362, allocations: 221.2 kB / 1.074 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0005176/0.8367, allocations: 158.8 kB / 1.074 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.8367, allocations: 0 / 1.074 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001776/0.8369, allocations: 68.42 kB / 1.074 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008801/0.8378, allocations: 136.9 kB / 1.074 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009285/0.8388, allocations: 0.6182 MB / 1.075 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003734/0.8391, allocations: 0.7535 MB / 1.075 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.233e-05/0.8392, allocations: 24.28 kB / 1.075 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of SimCode: time 2.3e-07/0.8392, allocations: 4 kB / 1.075 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of Templates: time 0.00959/0.8488, allocations: 5.1 MB / 1.08 GB, free: 11.76 MB / 0.7136 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)