Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate") translateModel(BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7283/0.7283, allocations: 128.7 MB / 144.5 MB, free: 1.391 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001298/0.001298, allocations: 186.5 kB / 174.2 MB, free: 5.934 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.408/1.408, allocations: 205 MB / 408.9 MB, free: 9.695 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009195/0.0009195, allocations: 106 kB / 485.1 MB, free: 13.58 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001466/0.001466, allocations: 59.92 kB / 0.558 GB, free: 97.52 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.124, allocations: 75.46 MB / 0.6317 GB, free: 33.05 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate): time 0.4479/0.5719, allocations: 176.7 MB / 0.8042 GB, free: 12.02 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.006958/0.5789, allocations: 7.278 MB / 0.8113 GB, free: 10.86 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004064/0.5794, allocations: 11.41 kB / 0.8113 GB, free: 10.86 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0004554/0.5798, allocations: 131.6 kB / 0.8114 GB, free: 10.78 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.002813/0.5827, allocations: 1.191 MB / 0.8126 GB, free: 10.26 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001464/0.5842, allocations: 0.5463 MB / 0.8131 GB, free: 10.09 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0009979/0.5852, allocations: 1.164 MB / 0.8143 GB, free: 9.738 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003391/0.5855, allocations: 265.2 kB / 0.8145 GB, free: 9.648 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001038/0.5866, allocations: 0.5389 MB / 0.8151 GB, free: 9.453 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000693/0.5873, allocations: 457.5 kB / 0.8155 GB, free: 9.289 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 4.324e-05/0.5873, allocations: 19.53 kB / 0.8155 GB, free: 9.289 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00206/0.5894, allocations: 1.474 MB / 0.817 GB, free: 8.852 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001238/0.5896, allocations: 104.5 kB / 0.8171 GB, free: 8.812 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001605/0.5897, allocations: 173.2 kB / 0.8172 GB, free: 8.75 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001225/0.591, allocations: 1.006 MB / 0.8182 GB, free: 8.336 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.591, allocations: 3.938 kB / 0.8182 GB, free: 8.332 MB / 0.5261 GB Notification: Performance of FrontEnd: time 9.02e-07/0.591, allocations: 0 / 0.8182 GB, free: 8.332 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.192e-06/0.591, allocations: 4 kB / 0.8182 GB, free: 8.328 MB / 0.5261 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.001052/0.592, allocations: 0.6953 MB / 0.8189 GB, free: 7.777 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.5921, allocations: 10.38 kB / 0.8189 GB, free: 7.777 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008901/0.593, allocations: 130.2 kB / 0.819 GB, free: 7.727 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004595/0.5935, allocations: 329.7 kB / 0.8193 GB, free: 7.449 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.417e-05/0.5935, allocations: 62 kB / 0.8194 GB, free: 7.406 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.429e-05/0.5936, allocations: 30.16 kB / 0.8194 GB, free: 7.406 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005277/0.5941, allocations: 317.6 kB / 0.8197 GB, free: 7.309 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.5941, allocations: 0 / 0.8197 GB, free: 7.309 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.869e-05/0.5942, allocations: 9.281 kB / 0.8197 GB, free: 7.309 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.247e-05/0.5942, allocations: 7.875 kB / 0.8197 GB, free: 7.309 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005447/0.5947, allocations: 298.7 kB / 0.82 GB, free: 7.254 MB / 0.5261 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.001631/0.5964, allocations: 1.1 MB / 0.8211 GB, free: 6.535 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005217/0.5969, allocations: 291.2 kB / 0.8214 GB, free: 6.461 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002229/0.5971, allocations: 140 kB / 0.8215 GB, free: 6.43 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009156/0.5981, allocations: 0.5059 MB / 0.822 GB, free: 5.914 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.107e-05/0.5981, allocations: 36.75 kB / 0.822 GB, free: 5.875 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=20): time 1.453e-06/0.5981, allocations: 0 / 0.822 GB, free: 5.875 MB / 0.5261 GB Notification: Performance of matching and sorting (n=20): time 0.0009491/0.5991, allocations: 420.9 kB / 0.8224 GB, free: 5.754 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.605e-05/0.5991, allocations: 57.91 kB / 0.8225 GB, free: 5.688 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002532/0.5994, allocations: 303.4 kB / 0.8228 GB, free: 5.539 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.553e-05/0.5994, allocations: 31.42 kB / 0.8228 GB, free: 5.508 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 9.788e-05/0.5995, allocations: 173.1 kB / 0.823 GB, free: 5.398 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.541e-05/0.5996, allocations: 68.23 kB / 0.823 GB, free: 5.348 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.64e-05/0.5997, allocations: 44.73 kB / 0.8231 GB, free: 5.328 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.5998, allocations: 351.9 kB / 0.8234 GB, free: 4.996 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001957/0.6, allocations: 100.5 kB / 0.8235 GB, free: 4.977 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002176/0.6002, allocations: 133.7 kB / 0.8236 GB, free: 4.938 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003913/0.6006, allocations: 238.7 kB / 0.8239 GB, free: 4.887 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.6006, allocations: 4.031 kB / 0.8239 GB, free: 4.883 MB / 0.5261 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005319/0.6012, allocations: 302.1 kB / 0.8242 GB, free: 4.793 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.6012, allocations: 8.625 kB / 0.8242 GB, free: 4.789 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.6012, allocations: 2.5 kB / 0.8242 GB, free: 4.789 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.6012, allocations: 2.812 kB / 0.8242 GB, free: 4.789 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002178/0.6014, allocations: 48.06 kB / 0.8242 GB, free: 4.777 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.6015, allocations: 2.719 kB / 0.8242 GB, free: 4.777 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001874/0.6016, allocations: 47.17 kB / 0.8243 GB, free: 4.746 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.818e-05/0.6017, allocations: 7.312 kB / 0.8243 GB, free: 4.746 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (23): * Single equations (assignments): 23 * 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.000133/0.6018, allocations: 152.2 kB / 0.8244 GB, free: 4.625 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.987e-05/0.6019, allocations: 38.39 kB / 0.8245 GB, free: 4.602 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007245/0.6027, allocations: 362 kB / 0.8248 GB, free: 4.488 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.6027, allocations: 6.906 kB / 0.8248 GB, free: 4.484 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.6027, allocations: 0 / 0.8248 GB, free: 4.484 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.6027, allocations: 3.312 kB / 0.8248 GB, free: 4.484 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001264/0.604, allocations: 0.8719 MB / 0.8257 GB, free: 3.965 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.604, allocations: 2.25 kB / 0.8257 GB, free: 3.965 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002223/0.6042, allocations: 44.02 kB / 0.8257 GB, free: 3.957 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.6042, allocations: 5.25 kB / 0.8257 GB, free: 3.957 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.371e-05/0.6042, allocations: 10.11 kB / 0.8257 GB, free: 3.953 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.6043, allocations: 2.312 kB / 0.8257 GB, free: 3.953 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.6043, allocations: 6.188 kB / 0.8257 GB, free: 3.949 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01382/0.6181, allocations: 5.009 MB / 0.8306 GB, free: 372 kB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 8.837e-05/0.6182, allocations: 110.8 kB / 0.8307 GB, free: 252 kB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.041e-05/0.6182, allocations: 6.547 kB / 0.8307 GB, free: 248 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002764/0.6185, allocations: 24.45 kB / 0.8308 GB, free: 236 kB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.451e-05/0.6186, allocations: 18.08 kB / 0.8308 GB, free: 228 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.195e-05/0.6186, allocations: 14.05 kB / 0.8308 GB, free: 224 kB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00018/0.6188, allocations: 221 kB / 0.831 GB, free: 76 kB / 0.5261 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6188, allocations: 2.781 kB / 0.831 GB, free: 76 kB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0007462/0.6196, allocations: 231.4 kB / 0.8312 GB, free: 28 kB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (senS_flow.s_out,senS.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 (21): * Single equations (assignments): 21 * 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.0007196/0.6203, allocations: 324.3 kB / 0.8315 GB, free: 15.85 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0005261/0.6208, allocations: 260.4 kB / 0.8318 GB, free: 15.73 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.6209, allocations: 0 / 0.8318 GB, free: 15.73 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0002424/0.6211, allocations: 139.3 kB / 0.8319 GB, free: 15.67 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008455/0.622, allocations: 162.2 kB / 0.8321 GB, free: 15.58 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001394/0.6234, allocations: 1.013 MB / 0.8331 GB, free: 14.78 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003742/0.6238, allocations: 0.792 MB / 0.8338 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0003763/0.6241, allocations: 96.89 kB / 0.8339 GB, free: 14 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000136/0.6243, allocations: 44.17 kB / 0.834 GB, free: 13.98 MB / 0.5417 GB Notification: Performance of SimCode: time 2.31e-07/0.6243, allocations: 0 / 0.834 GB, free: 13.98 MB / 0.5417 GB Notification: Performance of Templates: time 0.01539/0.6397, allocations: 9.93 MB / 0.8437 GB, free: 7.035 MB / 0.5417 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)