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.006576/0.006576, allocations: 105.8 kB / 15.74 MB, free: 5.996 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.001359/0.001359, allocations: 200 kB / 16.68 MB, free: 5.922 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.28/1.28, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002243/0.002243, allocations: 297.6 kB / 290.8 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9047/0.9047, allocations: 169.3 MB / 0.4983 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001774/0.001774, allocations: 95.8 kB / 0.6815 GB, free: 7.008 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4059/0.4077, allocations: 86.98 MB / 0.7664 GB, free: 4.109 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1622/0.5699, allocations: 169.4 MB / 0.9319 GB, free: 10.02 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.007942/0.5779, allocations: 7.138 MB / 0.9388 GB, free: 2.867 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000443/0.5784, allocations: 11.94 kB / 0.9388 GB, free: 2.855 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0005159/0.5789, allocations: 162.8 kB / 0.939 GB, free: 2.695 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.00291/0.5819, allocations: 1.272 MB / 0.9402 GB, free: 1.418 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001544/0.5835, allocations: 0.6244 MB / 0.9408 GB, free: 0.7969 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0008056/0.5843, allocations: 0.7525 MB / 0.9416 GB, free: 44 kB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004512/0.5847, allocations: 305.3 kB / 0.9419 GB, free: 15.75 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001011/0.5857, allocations: 0.5643 MB / 0.9424 GB, free: 15.18 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00071/0.5865, allocations: 422.5 kB / 0.9428 GB, free: 14.77 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.871e-05/0.5865, allocations: 28 kB / 0.9428 GB, free: 14.74 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001964/0.5885, allocations: 1.247 MB / 0.9441 GB, free: 13.49 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001253/0.5886, allocations: 119.7 kB / 0.9442 GB, free: 13.38 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001712/0.5888, allocations: 175.1 kB / 0.9443 GB, free: 13.2 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001254/0.5901, allocations: 0.9194 MB / 0.9452 GB, free: 12.28 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.095e-06/0.5901, allocations: 0 / 0.9452 GB, free: 12.28 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.122e-06/0.5901, allocations: 0 / 0.9452 GB, free: 12.28 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.194e-06/0.5901, allocations: 0 / 0.9452 GB, free: 12.28 MB / 0.7169 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.0009515/0.5911, allocations: 0.6934 MB / 0.9459 GB, free: 11.54 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.5911, allocations: 12.03 kB / 0.9459 GB, free: 11.53 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001023/0.5921, allocations: 127.4 kB / 0.9461 GB, free: 11.4 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004528/0.5926, allocations: 345.1 kB / 0.9464 GB, free: 11.03 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.348e-05/0.5927, allocations: 54.25 kB / 0.9464 GB, free: 10.96 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.948e-05/0.5928, allocations: 24 kB / 0.9465 GB, free: 10.94 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006032/0.5934, allocations: 366.2 kB / 0.9468 GB, free: 10.57 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.5934, allocations: 3.938 kB / 0.9468 GB, free: 10.56 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.184e-05/0.5934, allocations: 15.94 kB / 0.9468 GB, free: 10.55 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.5934, allocations: 8 kB / 0.9468 GB, free: 10.54 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005103/0.594, allocations: 278 kB / 0.9471 GB, free: 10.27 MB / 0.7169 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.001779/0.5957, allocations: 1.488 MB / 0.9486 GB, free: 8.652 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00039/0.5961, allocations: 198.5 kB / 0.9487 GB, free: 8.449 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002186/0.5964, allocations: 112.8 kB / 0.9488 GB, free: 8.336 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009557/0.5973, allocations: 0.5053 MB / 0.9493 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.303e-05/0.5974, allocations: 38.56 kB / 0.9494 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=15): time 1.373e-06/0.5974, allocations: 0 / 0.9494 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15): time 0.0008788/0.5983, allocations: 356.5 kB / 0.9497 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.22e-05/0.5983, allocations: 55.34 kB / 0.9498 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002779/0.5986, allocations: 320.5 kB / 0.9501 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.994e-05/0.5986, allocations: 33.7 kB / 0.9501 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001065/0.5987, allocations: 180.1 kB / 0.9503 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.107e-05/0.5988, allocations: 59.19 kB / 0.9503 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.267e-05/0.5989, allocations: 41.7 kB / 0.9504 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.785e-05/0.599, allocations: 338.8 kB / 0.9507 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001872/0.5992, allocations: 83.92 kB / 0.9508 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002231/0.5994, allocations: 149.9 kB / 0.9509 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003951/0.5998, allocations: 239.2 kB / 0.9512 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.5998, allocations: 0 / 0.9512 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005643/0.6004, allocations: 285.2 kB / 0.9514 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.6004, allocations: 8.031 kB / 0.9514 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.6004, allocations: 4 kB / 0.9514 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.6004, allocations: 0 / 0.9514 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002282/0.6007, allocations: 47.91 kB / 0.9515 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.6007, allocations: 4 kB / 0.9515 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000202/0.6009, allocations: 31.67 kB / 0.9515 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.163e-05/0.6009, allocations: 12 kB / 0.9515 GB, free: 5.395 MB / 0.7169 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.0001453/0.6011, allocations: 152.1 kB / 0.9517 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001054/0.6012, allocations: 35.62 kB / 0.9517 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006489/0.6018, allocations: 312.2 kB / 0.952 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/0.6019, allocations: 0 / 0.952 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.6019, allocations: 0 / 0.952 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.6019, allocations: 3.984 kB / 0.952 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001206/0.6031, allocations: 0.8083 MB / 0.9528 GB, free: 4 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.6031, allocations: 96 / 0.9528 GB, free: 4 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000185/0.6033, allocations: 44.08 kB / 0.9528 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.6033, allocations: 4 kB / 0.9528 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.6033, allocations: 11.94 kB / 0.9529 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.6033, allocations: 0 / 0.9529 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.6033, allocations: 4 kB / 0.9529 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005591/0.6039, allocations: 400.9 kB / 0.9532 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000122/0.604, allocations: 132.7 kB / 0.9534 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.933e-05/0.6041, allocations: 11.94 kB / 0.9534 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002645/0.6044, allocations: 15.98 kB / 0.9534 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.511e-05/0.6044, allocations: 15.98 kB / 0.9534 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.674e-05/0.6045, allocations: 11.98 kB / 0.9534 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001993/0.6047, allocations: 231 kB / 0.9536 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.583e-06/0.6047, allocations: 0 / 0.9536 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004818/0.6052, allocations: 119.7 kB / 0.9538 GB, free: 2.961 MB / 0.7169 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.0005574/0.6057, allocations: 238.8 kB / 0.954 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004875/0.6062, allocations: 211.7 kB / 0.9542 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.6063, allocations: 4 kB / 0.9542 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002171/0.6065, allocations: 116.4 kB / 0.9543 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008119/0.6073, allocations: 169.1 kB / 0.9545 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001054/0.6084, allocations: 0.6008 MB / 0.955 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003437/0.6087, allocations: 0.7912 MB / 0.9558 GB, free: 0.7734 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0002383/0.609, allocations: 94.8 kB / 0.9559 GB, free: 0.6797 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.97e-05/0.609, allocations: 27.44 kB / 0.9559 GB, free: 0.6562 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.6091, allocations: 0 / 0.9559 GB, free: 0.6562 MB / 0.7169 GB Notification: Performance of Templates: time 0.3683/0.9774, allocations: 7.399 MB / 0.9632 GB, free: 189.9 MB / 0.7169 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)