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.001789/0.001789, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002048/0.002048, allocations: 192.5 kB / 16.14 MB, free: 6.715 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.432/1.432, allocations: 222.9 MB / 239.8 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002567/0.002567, allocations: 286.9 kB / 290.2 MB, free: 2.141 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.071/1.071, allocations: 178.6 MB / 0.5068 GB, free: 4.781 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002752/0.002752, allocations: 99.52 kB / 0.6057 GB, free: 25.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1613/0.1641, allocations: 89.15 MB / 0.6928 GB, free: 4.852 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate): time 0.4858/0.65, allocations: 167.2 MB / 0.8561 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008678/0.6587, allocations: 7.214 MB / 0.8631 GB, free: 8.602 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003731/0.6591, allocations: 10.81 kB / 0.8631 GB, free: 8.598 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005546/0.6596, allocations: 131.9 kB / 0.8632 GB, free: 8.488 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00279/0.6625, allocations: 1.192 MB / 0.8644 GB, free: 7.605 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001443/0.664, allocations: 0.574 MB / 0.865 GB, free: 7.199 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001002/0.665, allocations: 1.051 MB / 0.866 GB, free: 6.625 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003782/0.6654, allocations: 251.9 kB / 0.8662 GB, free: 6.477 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001019/0.6664, allocations: 0.5321 MB / 0.8667 GB, free: 6.156 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007717/0.6672, allocations: 424.1 kB / 0.8671 GB, free: 5.93 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 4.123e-05/0.6672, allocations: 17.59 kB / 0.8672 GB, free: 5.93 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002193/0.6694, allocations: 1.466 MB / 0.8686 GB, free: 5.082 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001317/0.6696, allocations: 113 kB / 0.8687 GB, free: 5.008 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001971/0.6698, allocations: 176.6 kB / 0.8689 GB, free: 4.898 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001372/0.6711, allocations: 0.9737 MB / 0.8698 GB, free: 4.305 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.6712, allocations: 2.812 kB / 0.8698 GB, free: 4.305 MB / 0.5919 GB Notification: Performance of FrontEnd: time 8.22e-07/0.6712, allocations: 0 / 0.8698 GB, free: 4.305 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.613e-06/0.6712, allocations: 4 kB / 0.8698 GB, free: 4.301 MB / 0.5919 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.001075/0.6723, allocations: 0.6857 MB / 0.8705 GB, free: 3.699 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.6723, allocations: 9.938 kB / 0.8705 GB, free: 3.699 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001064/0.6734, allocations: 129.3 kB / 0.8706 GB, free: 3.637 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004601/0.6738, allocations: 325.3 kB / 0.8709 GB, free: 3.332 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.306e-05/0.6739, allocations: 55.28 kB / 0.871 GB, free: 3.281 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.373e-05/0.674, allocations: 25.75 kB / 0.871 GB, free: 3.273 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006601/0.6747, allocations: 369.3 kB / 0.8714 GB, free: 3.039 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.6747, allocations: 0 / 0.8714 GB, free: 3.039 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.698e-05/0.6747, allocations: 11 kB / 0.8714 GB, free: 3.031 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.6747, allocations: 7.031 kB / 0.8714 GB, free: 3.031 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005351/0.6753, allocations: 275.1 kB / 0.8717 GB, free: 2.902 MB / 0.5919 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.001984/0.6773, allocations: 1.503 MB / 0.8731 GB, free: 1.531 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004067/0.6777, allocations: 191.8 kB / 0.8733 GB, free: 1.426 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002305/0.6779, allocations: 117 kB / 0.8734 GB, free: 1.367 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001116/0.6791, allocations: 0.5054 MB / 0.8739 GB, free: 0.8477 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.123e-05/0.6791, allocations: 34.5 kB / 0.8739 GB, free: 0.8047 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 3.236e-06/0.6791, allocations: 7.938 kB / 0.8739 GB, free: 0.7969 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.0009576/0.6801, allocations: 356.8 kB / 0.8743 GB, free: 0.6172 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.838e-05/0.6801, allocations: 53.5 kB / 0.8743 GB, free: 0.5547 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003283/0.6805, allocations: 319.5 kB / 0.8746 GB, free: 356 kB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.494e-05/0.6805, allocations: 28.3 kB / 0.8747 GB, free: 324 kB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001486/0.6807, allocations: 183.8 kB / 0.8748 GB, free: 152 kB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.209e-05/0.6807, allocations: 49.89 kB / 0.8749 GB, free: 108 kB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.541e-05/0.6808, allocations: 43.89 kB / 0.8749 GB, free: 76 kB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001859/0.681, allocations: 342.2 kB / 0.8753 GB, free: 15.74 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002028/0.6812, allocations: 84.75 kB / 0.8753 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00025/0.6815, allocations: 151.7 kB / 0.8755 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004352/0.6819, allocations: 233.5 kB / 0.8757 GB, free: 15.44 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.6819, allocations: 3.938 kB / 0.8757 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006/0.6825, allocations: 277.8 kB / 0.876 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.6826, allocations: 9.969 kB / 0.876 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/0.6826, allocations: 2.125 kB / 0.876 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.6826, allocations: 14.33 kB / 0.876 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002317/0.6828, allocations: 36.64 kB / 0.876 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.6829, allocations: 2.625 kB / 0.876 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002559/0.6831, allocations: 42.44 kB / 0.8761 GB, free: 15.24 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.399e-05/0.6832, allocations: 7.844 kB / 0.8761 GB, free: 15.24 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001701/0.6833, allocations: 161.6 kB / 0.8762 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001054/0.6834, allocations: 24.59 kB / 0.8763 GB, free: 15.08 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007428/0.6842, allocations: 319.1 kB / 0.8766 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.6842, allocations: 2.469 kB / 0.8766 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.6842, allocations: 0 / 0.8766 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.6842, allocations: 3.984 kB / 0.8766 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001355/0.6856, allocations: 0.8003 MB / 0.8774 GB, free: 14.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.6856, allocations: 2.281 kB / 0.8774 GB, free: 14.25 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001965/0.6858, allocations: 42.91 kB / 0.8774 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.6858, allocations: 3.031 kB / 0.8774 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.962e-05/0.6858, allocations: 6.719 kB / 0.8774 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.6858, allocations: 3.922 kB / 0.8774 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/0.6859, allocations: 6.406 kB / 0.8774 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00061/0.6865, allocations: 403.1 kB / 0.8778 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000158/0.6866, allocations: 140.3 kB / 0.8779 GB, free: 13.78 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.888e-05/0.6867, allocations: 15.12 kB / 0.878 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002695/0.687, allocations: 24.34 kB / 0.878 GB, free: 13.76 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.328e-05/0.6871, allocations: 19.39 kB / 0.878 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.98e-05/0.6871, allocations: 11.81 kB / 0.878 GB, free: 13.74 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002199/0.6873, allocations: 226 kB / 0.8782 GB, free: 13.6 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6873, allocations: 6.562 kB / 0.8782 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005035/0.6878, allocations: 121.3 kB / 0.8783 GB, free: 13.57 MB / 0.6075 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 (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.0005726/0.6884, allocations: 231.4 kB / 0.8786 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005389/0.689, allocations: 219.9 kB / 0.8788 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.689, allocations: 0 / 0.8788 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002538/0.6892, allocations: 119.8 kB / 0.8789 GB, free: 13.01 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009171/0.6902, allocations: 165.1 kB / 0.879 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001187/0.6914, allocations: 0.6891 MB / 0.8797 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004427/0.6918, allocations: 0.7952 MB / 0.8805 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0003251/0.6922, allocations: 79.5 kB / 0.8806 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.745e-05/0.6923, allocations: 27.44 kB / 0.8806 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.6923, allocations: 0 / 0.8806 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of Templates: time 0.01399/0.7063, allocations: 7.004 MB / 0.8874 GB, free: 4.293 MB / 0.6075 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.makefile (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)