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: "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006474/0.006474, allocations: 98.31 kB / 15.73 MB, free: 5.555 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.001483/0.001483, allocations: 196.5 kB / 16.68 MB, free: 5.484 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.471/1.471, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002494/0.002494, allocations: 284.6 kB / 290.8 MB, free: 1.953 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9847/0.9847, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002622/0.002622, allocations: 96.88 kB / 0.681 GB, free: 15.97 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1669/0.1695, allocations: 86.96 MB / 0.7659 GB, free: 8.934 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate): time 0.5145/0.6841, allocations: 169.4 MB / 0.9314 GB, free: 9.688 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.008822/0.6929, allocations: 7.123 MB / 0.9383 GB, free: 2.543 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004462/0.6934, allocations: 15.94 kB / 0.9384 GB, free: 2.527 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.000497/0.6939, allocations: 166.8 kB / 0.9385 GB, free: 2.363 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.00293/0.6969, allocations: 1.268 MB / 0.9398 GB, free: 1.09 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001574/0.6985, allocations: 0.63 MB / 0.9404 GB, free: 476 kB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0008777/0.6994, allocations: 0.7563 MB / 0.9411 GB, free: 15.71 MB / 0.7013 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000436/0.6998, allocations: 289 kB / 0.9414 GB, free: 15.43 MB / 0.7013 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00106/0.7009, allocations: 0.5798 MB / 0.9419 GB, free: 14.85 MB / 0.7013 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000747/0.7016, allocations: 422.5 kB / 0.9424 GB, free: 14.43 MB / 0.7013 GB Notification: Performance of NFPackage.collectConstants: time 4.508e-05/0.7017, allocations: 27.94 kB / 0.9424 GB, free: 14.41 MB / 0.7013 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001955/0.7037, allocations: 1.247 MB / 0.9436 GB, free: 13.16 MB / 0.7013 GB Notification: Performance of NFScalarize.scalarize: time 0.0001323/0.7038, allocations: 119.6 kB / 0.9437 GB, free: 13.04 MB / 0.7013 GB Notification: Performance of NFVerifyModel.verify: time 0.0001822/0.704, allocations: 175.1 kB / 0.9439 GB, free: 12.87 MB / 0.7013 GB Notification: Performance of NFConvertDAE.convert: time 0.001318/0.7053, allocations: 0.9144 MB / 0.9448 GB, free: 11.95 MB / 0.7013 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.7053, allocations: 0 / 0.9448 GB, free: 11.95 MB / 0.7013 GB Notification: Performance of FrontEnd: time 1.242e-06/0.7053, allocations: 0 / 0.9448 GB, free: 11.95 MB / 0.7013 GB Notification: Performance of Transformations before backend: time 7.254e-06/0.7054, allocations: 4 kB / 0.9448 GB, free: 11.95 MB / 0.7013 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.001025/0.7064, allocations: 0.7081 MB / 0.9455 GB, free: 11.19 MB / 0.7013 GB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.7064, allocations: 15.91 kB / 0.9455 GB, free: 11.18 MB / 0.7013 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.583e-05/0.7065, allocations: 62.53 kB / 0.9455 GB, free: 11.11 MB / 0.7013 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001015/0.7075, allocations: 127.6 kB / 0.9457 GB, free: 10.98 MB / 0.7013 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005449/0.7081, allocations: 345.3 kB / 0.946 GB, free: 10.6 MB / 0.7013 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.22e-05/0.7082, allocations: 46.27 kB / 0.946 GB, free: 10.55 MB / 0.7013 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.12e-05/0.7082, allocations: 32 kB / 0.9461 GB, free: 10.52 MB / 0.7013 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006285/0.7089, allocations: 366.2 kB / 0.9464 GB, free: 10.14 MB / 0.7013 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.7089, allocations: 3.938 kB / 0.9464 GB, free: 10.14 MB / 0.7013 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.495e-05/0.7089, allocations: 12 kB / 0.9464 GB, free: 10.12 MB / 0.7013 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.709, allocations: 4 kB / 0.9464 GB, free: 10.12 MB / 0.7013 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005283/0.7095, allocations: 278 kB / 0.9467 GB, free: 9.852 MB / 0.7013 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.001894/0.7114, allocations: 1.492 MB / 0.9482 GB, free: 8.23 MB / 0.7013 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003945/0.7118, allocations: 194.5 kB / 0.9483 GB, free: 8.031 MB / 0.7013 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002133/0.712, allocations: 116.7 kB / 0.9485 GB, free: 7.914 MB / 0.7013 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009611/0.713, allocations: 0.5014 MB / 0.9489 GB, free: 7.32 MB / 0.7013 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/0.713, allocations: 38.56 kB / 0.949 GB, free: 7.273 MB / 0.7013 GB Notification: Performance of pre-optimization done (n=15): time 1.372e-06/0.713, allocations: 4 kB / 0.949 GB, free: 7.27 MB / 0.7013 GB Notification: Performance of matching and sorting (n=15): time 0.0009019/0.7139, allocations: 350.1 kB / 0.9493 GB, free: 6.922 MB / 0.7013 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.515e-05/0.714, allocations: 59.34 kB / 0.9494 GB, free: 6.852 MB / 0.7013 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003267/0.7143, allocations: 316.5 kB / 0.9497 GB, free: 6.535 MB / 0.7013 GB Notification: Performance of collectPreVariables (initialization): time 3.284e-05/0.7144, allocations: 29.7 kB / 0.9497 GB, free: 6.5 MB / 0.7013 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001349/0.7145, allocations: 188.3 kB / 0.9499 GB, free: 6.312 MB / 0.7013 GB Notification: Performance of collectInitialBindings (initialization): time 5.2e-05/0.7146, allocations: 59.5 kB / 0.9499 GB, free: 6.254 MB / 0.7013 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.267e-05/0.7147, allocations: 49.66 kB / 0.95 GB, free: 6.199 MB / 0.7013 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.7148, allocations: 334.8 kB / 0.9503 GB, free: 5.863 MB / 0.7013 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000185/0.715, allocations: 87.94 kB / 0.9504 GB, free: 5.777 MB / 0.7013 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002299/0.7153, allocations: 144.7 kB / 0.9505 GB, free: 5.617 MB / 0.7013 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004102/0.7157, allocations: 253.7 kB / 0.9508 GB, free: 5.348 MB / 0.7013 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.7157, allocations: 0 / 0.9508 GB, free: 5.348 MB / 0.7013 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000558/0.7162, allocations: 273.2 kB / 0.951 GB, free: 5.074 MB / 0.7013 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.7163, allocations: 11.92 kB / 0.951 GB, free: 5.062 MB / 0.7013 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.7163, allocations: 0.8125 kB / 0.951 GB, free: 5.062 MB / 0.7013 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.7163, allocations: 8 kB / 0.9511 GB, free: 5.055 MB / 0.7013 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002295/0.7165, allocations: 43.92 kB / 0.9511 GB, free: 5.012 MB / 0.7013 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.774e-06/0.7166, allocations: 4 kB / 0.9511 GB, free: 5.008 MB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002032/0.7168, allocations: 27.83 kB / 0.9511 GB, free: 4.98 MB / 0.7013 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.29e-05/0.7168, allocations: 12.97 kB / 0.9511 GB, free: 4.969 MB / 0.7013 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.0001666/0.717, allocations: 162.3 kB / 0.9513 GB, free: 4.801 MB / 0.7013 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001128/0.7171, allocations: 35.8 kB / 0.9513 GB, free: 4.766 MB / 0.7013 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006763/0.7178, allocations: 311.6 kB / 0.9516 GB, free: 4.461 MB / 0.7013 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.7178, allocations: 4 kB / 0.9516 GB, free: 4.457 MB / 0.7013 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.7178, allocations: 0 / 0.9516 GB, free: 4.457 MB / 0.7013 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.7178, allocations: 3.938 kB / 0.9516 GB, free: 4.453 MB / 0.7013 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001284/0.7191, allocations: 0.8044 MB / 0.9524 GB, free: 3.57 MB / 0.7013 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/0.7191, allocations: 4 kB / 0.9524 GB, free: 3.566 MB / 0.7013 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001826/0.7193, allocations: 39.91 kB / 0.9525 GB, free: 3.527 MB / 0.7013 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.7193, allocations: 8.219 kB / 0.9525 GB, free: 3.52 MB / 0.7013 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.856e-05/0.7193, allocations: 7.938 kB / 0.9525 GB, free: 3.512 MB / 0.7013 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.99e-06/0.7193, allocations: 4 kB / 0.9525 GB, free: 3.508 MB / 0.7013 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.7194, allocations: 0 / 0.9525 GB, free: 3.508 MB / 0.7013 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005918/0.7199, allocations: 405.8 kB / 0.9529 GB, free: 3.074 MB / 0.7013 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001423/0.7201, allocations: 132.8 kB / 0.953 GB, free: 2.926 MB / 0.7013 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.233e-05/0.7202, allocations: 11.94 kB / 0.953 GB, free: 2.914 MB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002507/0.7204, allocations: 11.98 kB / 0.953 GB, free: 2.902 MB / 0.7013 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.148e-05/0.7205, allocations: 19.98 kB / 0.953 GB, free: 2.883 MB / 0.7013 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.476e-05/0.7205, allocations: 8 kB / 0.953 GB, free: 2.875 MB / 0.7013 GB Notification: Performance of sorting global known variables: time 0.0002286/0.7207, allocations: 227 kB / 0.9533 GB, free: 2.656 MB / 0.7013 GB Notification: Performance of sort global known variables: time 2.054e-06/0.7207, allocations: 0 / 0.9533 GB, free: 2.656 MB / 0.7013 GB Notification: Performance of remove unused functions: time 0.0005909/0.7213, allocations: 127.7 kB / 0.9534 GB, free: 2.531 MB / 0.7013 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.001312/0.7227, allocations: 1.065 MB / 0.9544 GB, free: 1.426 MB / 0.7013 GB Notification: Performance of simCode: created initialization part: time 0.000479/0.7231, allocations: 219.8 kB / 0.9546 GB, free: 1.211 MB / 0.7013 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.7232, allocations: 4.312 kB / 0.9546 GB, free: 1.207 MB / 0.7013 GB Notification: Performance of simCode: created simulation system equations: time 0.0002228/0.7234, allocations: 119.8 kB / 0.9547 GB, free: 1.09 MB / 0.7013 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008675/0.7243, allocations: 152.6 kB / 0.9549 GB, free: 0.9453 MB / 0.7013 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004026/0.7283, allocations: 3.059 MB / 0.9579 GB, free: 13.73 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003975/0.7287, allocations: 0.7911 MB / 0.9587 GB, free: 12.92 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0002674/0.729, allocations: 81.7 kB / 0.9587 GB, free: 12.84 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001622/0.7292, allocations: 99.41 kB / 0.9588 GB, free: 12.74 MB / 0.7169 GB Notification: Performance of SimCode: time 5.21e-07/0.7292, allocations: 0 / 0.9588 GB, free: 12.74 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03433/0.7635, allocations: 10.54 MB / 0.9691 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.944/8.708, allocations: 10.05 kB / 0.9691 GB, free: 2.414 MB / 0.7169 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_EntropyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_EntropyFlowRate.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)