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.001104/0.001104, allocations: 110.4 kB / 16.42 MB, free: 6.508 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.001155/0.001155, allocations: 185.5 kB / 17.35 MB, free: 5.738 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.301/1.301, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002149/0.002149, allocations: 298 kB / 291.5 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.918/0.918, allocations: 169.3 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001805/0.001805, allocations: 95.86 kB / 0.6821 GB, free: 6.961 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4218/0.4236, allocations: 86.98 MB / 0.7671 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1658/0.5894, allocations: 169.4 MB / 0.9325 GB, free: 9.844 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.008166/0.5976, allocations: 7.128 MB / 0.9395 GB, free: 2.703 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005147/0.5982, allocations: 15.88 kB / 0.9395 GB, free: 2.688 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0005388/0.5987, allocations: 174.7 kB / 0.9397 GB, free: 2.516 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.003046/0.6018, allocations: 1.319 MB / 0.941 GB, free: 1.191 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001778/0.6036, allocations: 0.6279 MB / 0.9416 GB, free: 0.5664 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.001171/0.6048, allocations: 0.7563 MB / 0.9423 GB, free: 15.81 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000579/0.6054, allocations: 301.3 kB / 0.9426 GB, free: 15.52 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001194/0.6066, allocations: 0.5838 MB / 0.9432 GB, free: 14.93 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000781/0.6074, allocations: 426.5 kB / 0.9436 GB, free: 14.52 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.29e-05/0.6075, allocations: 28 kB / 0.9436 GB, free: 14.49 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001927/0.6094, allocations: 1.251 MB / 0.9448 GB, free: 13.23 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001302/0.6096, allocations: 111.7 kB / 0.9449 GB, free: 13.12 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002085/0.6098, allocations: 183.1 kB / 0.9451 GB, free: 12.95 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001397/0.6112, allocations: 0.9116 MB / 0.946 GB, free: 12.03 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.6112, allocations: 4 kB / 0.946 GB, free: 12.03 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.054e-06/0.6112, allocations: 0 / 0.946 GB, free: 12.03 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.995e-06/0.6112, allocations: 0 / 0.946 GB, free: 12.03 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.0009891/0.6122, allocations: 0.6934 MB / 0.9467 GB, free: 11.29 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.6123, allocations: 8.031 kB / 0.9467 GB, free: 11.28 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001043/0.6133, allocations: 135.4 kB / 0.9468 GB, free: 11.14 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005265/0.6138, allocations: 349.1 kB / 0.9471 GB, free: 10.77 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.443e-05/0.6139, allocations: 46.27 kB / 0.9472 GB, free: 10.71 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.438e-05/0.614, allocations: 31.94 kB / 0.9472 GB, free: 10.68 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006292/0.6146, allocations: 362.2 kB / 0.9476 GB, free: 10.31 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.6146, allocations: 0 / 0.9476 GB, free: 10.31 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.486e-05/0.6147, allocations: 16 kB / 0.9476 GB, free: 10.29 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.6147, allocations: 4 kB / 0.9476 GB, free: 10.29 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005238/0.6152, allocations: 278 kB / 0.9478 GB, free: 10.02 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.00179/0.617, allocations: 1.488 MB / 0.9493 GB, free: 8.402 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003773/0.6174, allocations: 198.6 kB / 0.9495 GB, free: 8.199 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002131/0.6176, allocations: 120.7 kB / 0.9496 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000917/0.6186, allocations: 0.5014 MB / 0.9501 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.869e-05/0.6186, allocations: 38.56 kB / 0.9501 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=15): time 1.493e-06/0.6186, allocations: 0 / 0.9501 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15): time 0.0009082/0.6195, allocations: 349.1 kB / 0.9505 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.535e-05/0.6196, allocations: 55.41 kB / 0.9505 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002963/0.6199, allocations: 320.5 kB / 0.9508 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.701e-05/0.6199, allocations: 29.7 kB / 0.9509 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001121/0.62, allocations: 184.1 kB / 0.951 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.882e-05/0.6201, allocations: 47.27 kB / 0.9511 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.754e-05/0.6201, allocations: 45.7 kB / 0.9511 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.6203, allocations: 334.8 kB / 0.9514 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001912/0.6205, allocations: 95.86 kB / 0.9515 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000228/0.6207, allocations: 149.9 kB / 0.9517 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004006/0.6211, allocations: 235.2 kB / 0.9519 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.6211, allocations: 7.875 kB / 0.9519 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005622/0.6217, allocations: 285 kB / 0.9522 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.6217, allocations: 8.188 kB / 0.9522 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.6217, allocations: 4 kB / 0.9522 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.6217, allocations: 4 kB / 0.9522 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002246/0.622, allocations: 39.97 kB / 0.9522 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.207e-05/0.622, allocations: 7.938 kB / 0.9522 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002037/0.6222, allocations: 31.67 kB / 0.9523 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.056e-05/0.6222, allocations: 8 kB / 0.9523 GB, free: 5.145 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.0001464/0.6224, allocations: 156.2 kB / 0.9524 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001055/0.6225, allocations: 35.62 kB / 0.9525 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006706/0.6232, allocations: 312.1 kB / 0.9528 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.6232, allocations: 4 kB / 0.9528 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.6232, allocations: 0 / 0.9528 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00015/0.6234, allocations: 132.6 kB / 0.9529 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.644e-05/0.6234, allocations: 4 kB / 0.9529 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002289/0.6236, allocations: 11.98 kB / 0.9529 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.302e-05/0.6237, allocations: 19.92 kB / 0.9529 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005382/0.6243, allocations: 319.8 kB / 0.9532 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005604/0.6248, allocations: 426.3 kB / 0.9536 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001942/0.625, allocations: 103.9 kB / 0.9537 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.000192/0.6252, allocations: 227 kB / 0.9539 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of Backend: time 5.01e-07/0.6252, allocations: 0 / 0.9539 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00129/0.6265, allocations: 476.7 kB / 0.9544 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of SimCode: time 0.001295/0.6278, allocations: 1.063 MB / 0.9554 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of Templates: time 0.3244/0.9522, allocations: 9.684 MB / 0.9649 GB, free: 190.1 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)