Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.EntropyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.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.0008114/0.0008114, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.005471/0.005471, allocations: 173.7 kB / 16.27 MB, free: 6.648 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.405/1.405, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.04/3.04, allocations: 473.4 MB / 0.7469 GB, free: 6.113 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004781/0.0004781, allocations: 10.53 kB / 0.9158 GB, free: 33.13 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3636/0.3641, allocations: 162.2 MB / 1.074 GB, free: 7.574 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1949/0.5591, allocations: 165 MB / 1.235 GB, free: 1.914 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.008866/0.568, allocations: 7.098 MB / 1.242 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004872/0.5685, allocations: 11.88 kB / 1.242 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005252/0.569, allocations: 131.1 kB / 1.242 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003016/0.5721, allocations: 1.191 MB / 1.244 GB, free: 9.465 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001643/0.5737, allocations: 0.5724 MB / 1.244 GB, free: 8.895 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001201/0.5749, allocations: 1.06 MB / 1.245 GB, free: 7.832 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000412/0.5754, allocations: 238.1 kB / 1.245 GB, free: 7.594 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001121/0.5765, allocations: 0.5214 MB / 1.246 GB, free: 7.07 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007691/0.5773, allocations: 422.5 kB / 1.246 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.911e-05/0.5773, allocations: 16 kB / 1.246 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002318/0.5796, allocations: 1.469 MB / 1.248 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001201/0.5798, allocations: 107.6 kB / 1.248 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001821/0.58, allocations: 192.8 kB / 1.248 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001363/0.5813, allocations: 0.9621 MB / 1.249 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.5814, allocations: 0 / 1.249 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.643e-06/0.5814, allocations: 0 / 1.249 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.962e-06/0.5814, allocations: 7.938 kB / 1.249 GB, free: 3.895 MB / 0.9981 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.0009362/0.5823, allocations: 0.6389 MB / 1.25 GB, free: 3.207 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.5824, allocations: 8.031 kB / 1.25 GB, free: 3.199 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001027/0.5834, allocations: 135.3 kB / 1.25 GB, free: 3.066 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004551/0.5839, allocations: 317.3 kB / 1.25 GB, free: 2.711 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.462e-05/0.584, allocations: 54.2 kB / 1.25 GB, free: 2.652 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.939e-05/0.584, allocations: 28 kB / 1.25 GB, free: 2.625 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006896/0.5847, allocations: 370.2 kB / 1.25 GB, free: 2.242 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.5847, allocations: 7.938 kB / 1.25 GB, free: 2.234 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.43e-05/0.5848, allocations: 11.98 kB / 1.25 GB, free: 2.223 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.808e-06/0.5848, allocations: 8 kB / 1.25 GB, free: 2.215 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005487/0.5854, allocations: 285.9 kB / 1.251 GB, free: 1.938 MB / 0.9981 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.001953/0.5873, allocations: 1.5 MB / 1.252 GB, free: 316 kB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003983/0.5877, allocations: 206.5 kB / 1.252 GB, free: 100 kB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.7239/1.312, allocations: 121.2 kB / 1.253 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001155/1.313, allocations: 0.5148 MB / 1.253 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.314e-05/1.313, allocations: 34.89 kB / 1.253 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=15): time 2.926e-06/1.313, allocations: 0 / 1.253 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15): time 0.001265/1.314, allocations: 371 kB / 1.253 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.184e-05/1.314, allocations: 56.83 kB / 1.253 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004845/1.315, allocations: 313.5 kB / 1.254 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.3e-05/1.315, allocations: 30.55 kB / 1.254 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001482/1.315, allocations: 184.6 kB / 1.254 GB, free: 184 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.394e-05/1.315, allocations: 50.81 kB / 1.254 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.375e-05/1.315, allocations: 24.38 kB / 1.254 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.667e-05/1.315, allocations: 340.5 kB / 1.254 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002537/1.315, allocations: 95.34 kB / 1.254 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002938/1.316, allocations: 151.8 kB / 1.255 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005258/1.316, allocations: 248.5 kB / 1.255 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/1.316, allocations: 0.75 kB / 1.255 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007977/1.317, allocations: 292.7 kB / 1.255 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.788e-05/1.317, allocations: 5.844 kB / 1.255 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/1.317, allocations: 1.75 kB / 1.255 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.203e-05/1.317, allocations: 2.75 kB / 1.255 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002663/1.317, allocations: 49.25 kB / 1.255 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.29e-05/1.317, allocations: 3.641 kB / 1.255 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002839/1.318, allocations: 40.86 kB / 1.255 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.058e-05/1.318, allocations: 12.28 kB / 1.255 GB, free: 183.4 MB / 0.9981 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.000197/1.318, allocations: 158.9 kB / 1.255 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001156/1.318, allocations: 29.73 kB / 1.255 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008992/1.319, allocations: 322.8 kB / 1.256 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/1.319, allocations: 1.812 kB / 1.256 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/1.319, allocations: 8.109 kB / 1.256 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.85e-06/1.319, allocations: 1.625 kB / 1.256 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001539/1.321, allocations: 0.8159 MB / 1.257 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/1.321, allocations: 5.734 kB / 1.257 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002025/1.321, allocations: 46.8 kB / 1.257 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.131e-06/1.321, allocations: 2.844 kB / 1.257 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.1e-05/1.321, allocations: 7.75 kB / 1.257 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.883e-06/1.321, allocations: 4.047 kB / 1.257 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/1.321, allocations: 2.594 kB / 1.257 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006698/1.322, allocations: 415 kB / 1.257 GB, free: 182.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001403/1.322, allocations: 132.4 kB / 1.257 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.713e-05/1.322, allocations: 8.625 kB / 1.257 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002732/1.322, allocations: 30.56 kB / 1.257 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.872e-05/1.322, allocations: 19.05 kB / 1.257 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.455e-05/1.322, allocations: 15.98 kB / 1.257 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002731/1.322, allocations: 227.3 kB / 1.257 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/1.322, allocations: 0 / 1.257 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006779/1.323, allocations: 118.1 kB / 1.258 GB, free: 182.5 MB / 0.9981 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.0006642/1.324, allocations: 232.7 kB / 1.258 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0006197/1.324, allocations: 233.4 kB / 1.258 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/1.324, allocations: 0.625 kB / 1.258 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002768/1.325, allocations: 120.1 kB / 1.258 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00102/1.326, allocations: 162.7 kB / 1.258 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001175/1.327, allocations: 0.7162 MB / 1.259 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002818/1.327, allocations: 0.7903 MB / 1.26 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003495/1.328, allocations: 91.5 kB / 1.26 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001097/1.328, allocations: 30.91 kB / 1.26 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of SimCode: time 1.613e-06/1.328, allocations: 0 / 1.26 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of Templates: time 0.01559/1.343, allocations: 6.97 MB / 1.267 GB, free: 180.7 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)