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.001597/0.001598, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001621/0.001621, allocations: 189.3 kB / 16.25 MB, free: 6.625 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.436/1.436, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002507/0.002508, allocations: 298.6 kB / 290.4 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.064/1.064, allocations: 178.6 MB / 0.507 GB, free: 4.754 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00278/0.00278, allocations: 108.4 kB / 0.6059 GB, free: 25.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1634/0.1662, allocations: 89.15 MB / 0.693 GB, free: 4.75 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate): time 0.534/0.7002, allocations: 167.2 MB / 0.8562 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.009615/0.7099, allocations: 7.093 MB / 0.8631 GB, free: 8.875 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005487/0.7105, allocations: 11.78 kB / 0.8632 GB, free: 8.871 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006198/0.7111, allocations: 136.1 kB / 0.8633 GB, free: 8.754 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003598/0.7147, allocations: 1.194 MB / 0.8645 GB, free: 7.883 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001648/0.7164, allocations: 0.5855 MB / 0.865 GB, free: 7.473 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0008496/0.7173, allocations: 0.756 MB / 0.8658 GB, free: 7.043 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004228/0.7177, allocations: 278.7 kB / 0.866 GB, free: 6.879 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001047/0.7188, allocations: 0.5675 MB / 0.8666 GB, free: 6.535 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007379/0.7195, allocations: 446.2 kB / 0.867 GB, free: 6.285 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 4.15e-05/0.7196, allocations: 25.19 kB / 0.867 GB, free: 6.285 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00196/0.7215, allocations: 1.31 MB / 0.8683 GB, free: 5.547 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001247/0.7217, allocations: 111 kB / 0.8684 GB, free: 5.473 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001819/0.7219, allocations: 179.5 kB / 0.8686 GB, free: 5.359 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001269/0.7231, allocations: 0.9788 MB / 0.8695 GB, free: 4.762 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.7231, allocations: 0 / 0.8695 GB, free: 4.762 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.282e-06/0.7232, allocations: 1.844 kB / 0.8695 GB, free: 4.762 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.239e-05/0.7232, allocations: 0 / 0.8695 GB, free: 4.762 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.001046/0.7242, allocations: 0.6981 MB / 0.8702 GB, free: 4.148 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.7243, allocations: 10.22 kB / 0.8702 GB, free: 4.148 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009846/0.7253, allocations: 124.7 kB / 0.8704 GB, free: 4.09 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004383/0.7257, allocations: 330.9 kB / 0.8707 GB, free: 3.781 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.284e-05/0.7258, allocations: 46.64 kB / 0.8707 GB, free: 3.738 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.04e-05/0.7258, allocations: 28.41 kB / 0.8707 GB, free: 3.73 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006512/0.7265, allocations: 368.7 kB / 0.8711 GB, free: 3.492 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.7265, allocations: 0 / 0.8711 GB, free: 3.492 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.391e-05/0.7266, allocations: 14.62 kB / 0.8711 GB, free: 3.48 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.7266, allocations: 7.406 kB / 0.8711 GB, free: 3.48 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004983/0.7271, allocations: 272.3 kB / 0.8714 GB, free: 3.355 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.002058/0.7291, allocations: 1.486 MB / 0.8728 GB, free: 2 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004239/0.7296, allocations: 207.5 kB / 0.873 GB, free: 1.883 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002113/0.7298, allocations: 110.4 kB / 0.8731 GB, free: 1.828 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00113/0.7309, allocations: 0.5035 MB / 0.8736 GB, free: 1.309 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.024e-05/0.731, allocations: 36.5 kB / 0.8737 GB, free: 1.266 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 3.477e-06/0.731, allocations: 0 / 0.8737 GB, free: 1.266 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.001076/0.7321, allocations: 360.7 kB / 0.874 GB, free: 1.082 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.885e-05/0.7321, allocations: 54.28 kB / 0.8741 GB, free: 1.02 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003679/0.7325, allocations: 319.5 kB / 0.8744 GB, free: 0.8086 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.741e-05/0.7326, allocations: 29.7 kB / 0.8744 GB, free: 0.7734 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002126/0.7328, allocations: 181.9 kB / 0.8746 GB, free: 0.6094 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.105e-05/0.7329, allocations: 58.88 kB / 0.8746 GB, free: 0.5586 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.984e-05/0.733, allocations: 47.39 kB / 0.8747 GB, free: 0.5234 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001894/0.7332, allocations: 337.7 kB / 0.875 GB, free: 196 kB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001883/0.7334, allocations: 85.61 kB / 0.8751 GB, free: 156 kB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002461/0.7336, allocations: 143.9 kB / 0.8752 GB, free: 48 kB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004503/0.7341, allocations: 238 kB / 0.8754 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.125e-06/0.7341, allocations: 16.34 kB / 0.8754 GB, free: 15.88 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005958/0.7347, allocations: 278.1 kB / 0.8757 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.7347, allocations: 9.188 kB / 0.8757 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.7347, allocations: 0 / 0.8757 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.7348, allocations: 2.75 kB / 0.8757 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002382/0.735, allocations: 48.41 kB / 0.8758 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.735, allocations: 6.844 kB / 0.8758 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002488/0.7353, allocations: 32.2 kB / 0.8758 GB, free: 15.69 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.035e-05/0.7353, allocations: 14.06 kB / 0.8758 GB, free: 15.69 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.0001906/0.7355, allocations: 157.2 kB / 0.876 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/0.7356, allocations: 24.75 kB / 0.876 GB, free: 15.53 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000747/0.7364, allocations: 318.1 kB / 0.8763 GB, free: 15.35 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.7364, allocations: 2.469 kB / 0.8763 GB, free: 15.35 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.7364, allocations: 2 kB / 0.8763 GB, free: 15.35 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.7364, allocations: 0 / 0.8763 GB, free: 15.35 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001479/0.7379, allocations: 0.8055 MB / 0.8771 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.7379, allocations: 2.875 kB / 0.8771 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001876/0.7381, allocations: 35.86 kB / 0.8771 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.087e-06/0.7381, allocations: 9.797 kB / 0.8771 GB, free: 14.69 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.303e-05/0.7382, allocations: 14.47 kB / 0.8771 GB, free: 14.68 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.7382, allocations: 3 kB / 0.8771 GB, free: 14.68 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.7382, allocations: 2.312 kB / 0.8772 GB, free: 14.68 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000642/0.7388, allocations: 396.7 kB / 0.8775 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001549/0.739, allocations: 144.4 kB / 0.8777 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.272e-05/0.739, allocations: 10.69 kB / 0.8777 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002661/0.7393, allocations: 20.61 kB / 0.8777 GB, free: 14.22 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.09e-05/0.7394, allocations: 14.86 kB / 0.8777 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.939e-05/0.7394, allocations: 11.86 kB / 0.8777 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002647/0.7397, allocations: 230.8 kB / 0.8779 GB, free: 14.06 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2e-07/0.7397, allocations: 0 / 0.8779 GB, free: 14.06 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0006239/0.7404, allocations: 120.2 kB / 0.8781 GB, free: 13.98 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.0006783/0.741, allocations: 235.2 kB / 0.8783 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0006512/0.7417, allocations: 223.6 kB / 0.8785 GB, free: 13.53 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.7417, allocations: 384 / 0.8785 GB, free: 13.53 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002388/0.742, allocations: 115.9 kB / 0.8786 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008756/0.7428, allocations: 173.3 kB / 0.8788 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001179/0.744, allocations: 0.703 MB / 0.8795 GB, free: 12.51 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005824/0.7446, allocations: 0.791 MB / 0.8802 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0003097/0.7449, allocations: 84.38 kB / 0.8803 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.995e-05/0.7451, allocations: 27.44 kB / 0.8803 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of SimCode: time 2.51e-07/0.7451, allocations: 0 / 0.8803 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of Templates: time 0.01464/0.7597, allocations: 7.211 MB / 0.8874 GB, free: 4.477 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)