Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.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: translateModel(BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate") translateModel(BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008334/0.0008334, allocations: 102.8 kB / 15.06 MB, free: 1.098 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.0008544/0.0008544, allocations: 173.3 kB / 15.95 MB, free: 212 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.156/1.156, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001597/0.001597, allocations: 274.8 kB / 291.3 MB, free: 1.992 MB / 238.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:5:3-5:34:writable] Warning: Got element f_alp that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_lay but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Got element f_lay that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_loss but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Got element f_loss that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_pv but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Got element f_pv that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:2:1-34:14:writable] Warning: f_pv was referenced in the package.order file, but was not found in package.mo, f_pv/package.mo or f_pv.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7333/0.7333, allocations: 144.6 MB / 487 MB, free: 7.168 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004044/0.0004044, allocations: 16.16 kB / 0.5683 GB, free: 38.79 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1237, allocations: 83.07 MB / 0.6494 GB, free: 3.688 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate): time 0.4114/0.5351, allocations: 141.8 MB / 0.7879 GB, free: 2.184 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005117/0.5403, allocations: 5.272 MB / 0.793 GB, free: 2.109 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002571/0.5406, allocations: 9.156 kB / 0.7931 GB, free: 2.109 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005788/0.5412, allocations: 191.7 kB / 0.7932 GB, free: 2.105 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001588/0.5428, allocations: 0.7087 MB / 0.7939 GB, free: 2.094 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001254/0.544, allocations: 0.5067 MB / 0.7944 GB, free: 2.086 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0005572/0.5446, allocations: 452.6 kB / 0.7949 GB, free: 2.086 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003938/0.545, allocations: 235.1 kB / 0.7951 GB, free: 2.062 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001002/0.546, allocations: 0.4919 MB / 0.7956 GB, free: 2.059 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005944/0.5466, allocations: 333.5 kB / 0.7959 GB, free: 2.059 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.667e-05/0.5466, allocations: 15.38 kB / 0.7959 GB, free: 2.059 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001104/0.5478, allocations: 0.556 MB / 0.7964 GB, free: 2.055 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.984e-05/0.5479, allocations: 96.06 kB / 0.7965 GB, free: 2.055 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.206e-05/0.5479, allocations: 88.77 kB / 0.7966 GB, free: 2.023 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005565/0.5485, allocations: 458.1 kB / 0.797 GB, free: 1.996 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.5485, allocations: 0 / 0.797 GB, free: 1.996 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.453e-06/0.5485, allocations: 1.188 kB / 0.7971 GB, free: 1.996 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.037e-06/0.5485, allocations: 0 / 0.7971 GB, free: 1.996 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.0009256/0.5495, allocations: 0.6243 MB / 0.7977 GB, free: 17.51 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.304e-05/0.5495, allocations: 8.938 kB / 0.7977 GB, free: 17.51 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009765/0.5505, allocations: 135.3 kB / 0.7978 GB, free: 17.49 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003833/0.5509, allocations: 307.7 kB / 0.7981 GB, free: 17.26 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.266e-05/0.551, allocations: 50.39 kB / 0.7981 GB, free: 17.23 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.38e-05/0.551, allocations: 27.59 kB / 0.7982 GB, free: 17.23 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005711/0.5516, allocations: 372.3 kB / 0.7985 GB, free: 17.15 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.5516, allocations: 1.438 kB / 0.7985 GB, free: 17.15 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.151e-05/0.5516, allocations: 14.34 kB / 0.7985 GB, free: 17.15 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/0.5517, allocations: 6.938 kB / 0.7985 GB, free: 17.15 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004974/0.5522, allocations: 281.9 kB / 0.7988 GB, free: 17.14 MB / 0.5762 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001639/0.5538, allocations: 1.484 MB / 0.8003 GB, free: 16.17 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004774/0.5543, allocations: 167.8 kB / 0.8004 GB, free: 16.14 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004099/0.5547, allocations: 143.1 kB / 0.8006 GB, free: 16.05 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.487e-05/0.5548, allocations: 41.44 kB / 0.8006 GB, free: 16 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.753e-06/0.5548, allocations: 0.75 kB / 0.8006 GB, free: 16 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.0008922/0.5557, allocations: 376.7 kB / 0.801 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.242e-05/0.5557, allocations: 54.03 kB / 0.801 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002934/0.556, allocations: 324 kB / 0.8013 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.012e-05/0.5561, allocations: 30.14 kB / 0.8013 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.5562, allocations: 180.4 kB / 0.8015 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.813e-05/0.5562, allocations: 50.28 kB / 0.8016 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.157e-05/0.5562, allocations: 6.703 kB / 0.8016 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.5563, allocations: 345.5 kB / 0.8019 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001942/0.5565, allocations: 93.64 kB / 0.802 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002267/0.5568, allocations: 163 kB / 0.8021 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001975/0.557, allocations: 109.8 kB / 0.8023 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.557, allocations: 0.9062 kB / 0.8023 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005811/0.5576, allocations: 312.4 kB / 0.8026 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.5576, allocations: 10.09 kB / 0.8026 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.5576, allocations: 2.219 kB / 0.8026 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/0.5577, allocations: 3.344 kB / 0.8026 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002197/0.5579, allocations: 45.09 kB / 0.8026 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.5579, allocations: 3.125 kB / 0.8026 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002273/0.5581, allocations: 35.45 kB / 0.8026 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.873e-05/0.5582, allocations: 13.78 kB / 0.8027 GB, free: 15.14 MB / 0.5762 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 (20): * Single equations (assignments): 20 * 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 0.0001561/0.5583, allocations: 155.8 kB / 0.8028 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.702e-05/0.5584, allocations: 33.05 kB / 0.8028 GB, free: 15 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006502/0.5591, allocations: 332.7 kB / 0.8032 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.5591, allocations: 3.391 kB / 0.8032 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.5591, allocations: 0.8281 kB / 0.8032 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.5591, allocations: 8.328 kB / 0.8032 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001106/0.5602, allocations: 0.8074 MB / 0.804 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.5603, allocations: 1.312 kB / 0.804 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001825/0.5604, allocations: 44.16 kB / 0.804 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.5605, allocations: 5.078 kB / 0.804 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.864e-05/0.5605, allocations: 8.25 kB / 0.804 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.037e-06/0.5605, allocations: 5.938 kB / 0.804 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.5605, allocations: 2.625 kB / 0.804 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005587/0.5611, allocations: 0.4931 MB / 0.8045 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001198/0.5612, allocations: 132.2 kB / 0.8046 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.559e-05/0.5612, allocations: 3.219 kB / 0.8046 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000261/0.5615, allocations: 31.38 kB / 0.8047 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.168e-05/0.5616, allocations: 20.69 kB / 0.8047 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.874e-05/0.5616, allocations: 14.28 kB / 0.8047 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002175/0.5618, allocations: 226.7 kB / 0.8049 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5618, allocations: 96 / 0.8049 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004949/0.5623, allocations: 123.8 kB / 0.805 GB, free: 14.02 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 simulation (16): * Single equations (assignments): 16 * 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.0004185/0.5628, allocations: 213.7 kB / 0.8052 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000492/0.5633, allocations: 229.9 kB / 0.8055 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.5633, allocations: 0.5312 kB / 0.8055 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002539/0.5635, allocations: 123.2 kB / 0.8056 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007562/0.5643, allocations: 154.7 kB / 0.8057 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009697/0.5653, allocations: 0.7055 MB / 0.8064 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002992/0.5656, allocations: 0.7919 MB / 0.8072 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002621/0.5659, allocations: 92.03 kB / 0.8073 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.057e-05/0.5659, allocations: 34.22 kB / 0.8073 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of SimCode: time 3.11e-07/0.566, allocations: 1.859 kB / 0.8073 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of Templates: time 0.009496/0.5755, allocations: 6.834 MB / 0.814 GB, free: 12.28 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.makefile Environment - environmentSimulation: (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) Environment - environmentSimulation: