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.005281/0.005281, allocations: 103.4 kB / 15.73 MB, free: 6.047 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.001235/0.001235, allocations: 189.3 kB / 16.67 MB, free: 5.969 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.238/1.238, allocations: 222.9 MB / 240.4 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.002045/0.002045, allocations: 301.3 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8994/0.8994, allocations: 169.3 MB / 0.4983 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001621/0.001621, allocations: 99.84 kB / 0.681 GB, free: 7.453 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3998/0.4014, allocations: 86.98 MB / 0.7659 GB, free: 3.863 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1653/0.5667, allocations: 169.4 MB / 0.9314 GB, free: 9.773 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.00795/0.5747, allocations: 7.129 MB / 0.9383 GB, free: 2.629 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000427/0.5752, allocations: 15.88 kB / 0.9383 GB, free: 2.613 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0005377/0.5757, allocations: 174.7 kB / 0.9385 GB, free: 2.441 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.002752/0.5785, allocations: 1.264 MB / 0.9397 GB, free: 1.172 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001529/0.5801, allocations: 0.6316 MB / 0.9404 GB, free: 0.543 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0008681/0.5809, allocations: 0.7563 MB / 0.9411 GB, free: 15.79 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004428/0.5814, allocations: 294.7 kB / 0.9414 GB, free: 15.5 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001085/0.5825, allocations: 0.5721 MB / 0.9419 GB, free: 14.93 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007453/0.5832, allocations: 426.5 kB / 0.9424 GB, free: 14.51 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.228e-05/0.5833, allocations: 24 kB / 0.9424 GB, free: 14.48 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001893/0.5852, allocations: 1.243 MB / 0.9436 GB, free: 13.24 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001371/0.5854, allocations: 119.7 kB / 0.9437 GB, free: 13.12 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001996/0.5856, allocations: 183.1 kB / 0.9439 GB, free: 12.94 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001427/0.587, allocations: 0.9038 MB / 0.9448 GB, free: 12.04 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.587, allocations: 0 / 0.9448 GB, free: 12.04 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.352e-06/0.587, allocations: 0 / 0.9448 GB, free: 12.04 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.278e-06/0.587, allocations: 0 / 0.9448 GB, free: 12.04 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.001032/0.5881, allocations: 0.7012 MB / 0.9454 GB, free: 11.29 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.5881, allocations: 8.031 kB / 0.9455 GB, free: 11.28 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.481e-05/0.5882, allocations: 66.53 kB / 0.9455 GB, free: 11.2 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009844/0.5892, allocations: 135.3 kB / 0.9456 GB, free: 11.07 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005133/0.5897, allocations: 341.2 kB / 0.946 GB, free: 10.7 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.965e-05/0.5898, allocations: 58.19 kB / 0.946 GB, free: 10.63 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.095e-05/0.5898, allocations: 28 kB / 0.9461 GB, free: 10.61 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005925/0.5904, allocations: 362.2 kB / 0.9464 GB, free: 10.23 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.5905, allocations: 0 / 0.9464 GB, free: 10.23 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.088e-05/0.5905, allocations: 12 kB / 0.9464 GB, free: 10.22 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.5905, allocations: 4 kB / 0.9464 GB, free: 10.22 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004917/0.591, allocations: 281.9 kB / 0.9467 GB, free: 9.945 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.001762/0.5928, allocations: 1.48 MB / 0.9481 GB, free: 8.336 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000358/0.5931, allocations: 205.9 kB / 0.9483 GB, free: 8.129 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001914/0.5933, allocations: 112.8 kB / 0.9484 GB, free: 8.016 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009154/0.5943, allocations: 0.517 MB / 0.9489 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.345e-05/0.5943, allocations: 30.56 kB / 0.949 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=15): time 1.383e-06/0.5943, allocations: 4 kB / 0.949 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15): time 0.0008667/0.5952, allocations: 353 kB / 0.9493 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.933e-05/0.5952, allocations: 55.41 kB / 0.9494 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002835/0.5955, allocations: 316.5 kB / 0.9497 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.695e-05/0.5955, allocations: 25.7 kB / 0.9497 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001135/0.5957, allocations: 196 kB / 0.9499 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.033e-05/0.5957, allocations: 39.36 kB / 0.9499 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.682e-05/0.5958, allocations: 49.64 kB / 0.95 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.5959, allocations: 338.8 kB / 0.9503 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001763/0.5961, allocations: 95.86 kB / 0.9504 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000212/0.5963, allocations: 141.9 kB / 0.9505 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003807/0.5967, allocations: 240.5 kB / 0.9507 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.5967, allocations: 0 / 0.9507 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005361/0.5973, allocations: 289 kB / 0.951 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.5973, allocations: 4 kB / 0.951 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.5973, allocations: 0 / 0.951 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.5973, allocations: 8.188 kB / 0.951 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000222/0.5975, allocations: 43.91 kB / 0.9511 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.5976, allocations: 4 kB / 0.9511 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002028/0.5978, allocations: 31.67 kB / 0.9511 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.235e-05/0.5978, allocations: 8 kB / 0.9511 GB, free: 5.074 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.000141/0.5979, allocations: 153.8 kB / 0.9513 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001024/0.5981, allocations: 31.62 kB / 0.9513 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006354/0.5987, allocations: 320.1 kB / 0.9516 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.5987, allocations: 4 kB / 0.9516 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.5987, allocations: 0 / 0.9516 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.5987, allocations: 3.984 kB / 0.9516 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001204/0.5999, allocations: 0.8081 MB / 0.9524 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.6, allocations: 4 kB / 0.9524 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000177/0.6001, allocations: 35.98 kB / 0.9524 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.6002, allocations: 3.938 kB / 0.9524 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.67e-05/0.6002, allocations: 8.219 kB / 0.9524 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.6002, allocations: 7.938 kB / 0.9524 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.756e-06/0.6002, allocations: 3.984 kB / 0.9524 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005363/0.6007, allocations: 401 kB / 0.9528 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001277/0.6009, allocations: 128.7 kB / 0.953 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.587e-05/0.6009, allocations: 7.938 kB / 0.953 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002263/0.6011, allocations: 11.98 kB / 0.953 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.875e-05/0.6012, allocations: 19.98 kB / 0.953 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.598e-05/0.6012, allocations: 15.98 kB / 0.953 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001969/0.6014, allocations: 227 kB / 0.9532 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6015, allocations: 0 / 0.9532 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004742/0.6019, allocations: 119.8 kB / 0.9533 GB, free: 2.637 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.001315/0.6033, allocations: 1.064 MB / 0.9544 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004784/0.6037, allocations: 219.7 kB / 0.9546 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.6038, allocations: 0 / 0.9546 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002119/0.604, allocations: 124.3 kB / 0.9547 GB, free: 1.195 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007919/0.6048, allocations: 158.2 kB / 0.9549 GB, free: 1.043 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3246/0.9293, allocations: 3.034 MB / 0.9578 GB, free: 190 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002803/0.9297, allocations: 0.785 MB / 0.9586 GB, free: 189.3 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0003285/0.93, allocations: 84.27 kB / 0.9587 GB, free: 189.3 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001632/0.9302, allocations: 106.8 kB / 0.9588 GB, free: 189.3 MB / 0.7169 GB Notification: Performance of SimCode: time 8.92e-07/0.9302, allocations: 0 / 0.9588 GB, free: 189.3 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0304/0.9606, allocations: 10.67 MB / 0.9692 GB, free: 185.4 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.668/8.629, allocations: 7.875 kB / 0.9692 GB, free: 185.4 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)