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.0007817/0.0007817, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.005277/0.005277, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.343/1.343, allocations: 223.2 MB / 240.3 MB, free: 5.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.001739/0.001739, allocations: 266.6 kB / 291.7 MB, free: 1.883 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.953/0.953, allocations: 169.5 MB / 0.5004 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004423/0.0004423, allocations: 18.41 kB / 0.5988 GB, free: 28.15 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1451, allocations: 88.54 MB / 0.6852 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate): time 0.4698/0.615, allocations: 165 MB / 0.8464 GB, free: 1.445 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007985/0.623, allocations: 7.11 MB / 0.8533 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004505/0.6235, allocations: 9.344 kB / 0.8533 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004797/0.624, allocations: 128.2 kB / 0.8534 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002828/0.6268, allocations: 1.191 MB / 0.8546 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001526/0.6283, allocations: 0.5766 MB / 0.8552 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001083/0.6294, allocations: 1.049 MB / 0.8562 GB, free: 9.758 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000421/0.6299, allocations: 244 kB / 0.8564 GB, free: 9.617 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001065/0.6309, allocations: 0.5147 MB / 0.8569 GB, free: 9.312 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008056/0.6318, allocations: 431.1 kB / 0.8573 GB, free: 9.078 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.807e-05/0.6318, allocations: 14.19 kB / 0.8574 GB, free: 9.078 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002171/0.634, allocations: 1.46 MB / 0.8588 GB, free: 8.234 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001421/0.6342, allocations: 103.4 kB / 0.8589 GB, free: 8.168 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002096/0.6344, allocations: 191.7 kB / 0.8591 GB, free: 8.035 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001529/0.6359, allocations: 0.9773 MB / 0.86 GB, free: 7.441 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.6359, allocations: 4 kB / 0.86 GB, free: 7.438 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.643e-06/0.6359, allocations: 0 / 0.86 GB, free: 7.438 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.157e-05/0.636, allocations: 2.844 kB / 0.86 GB, free: 7.438 MB / 0.5762 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.001048/0.637, allocations: 0.6266 MB / 0.8606 GB, free: 6.875 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.6371, allocations: 11.66 kB / 0.8606 GB, free: 6.875 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.059e-05/0.6371, allocations: 62.91 kB / 0.8607 GB, free: 6.812 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001022/0.6382, allocations: 133.7 kB / 0.8608 GB, free: 6.746 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004372/0.6386, allocations: 324.3 kB / 0.8611 GB, free: 6.441 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.801e-05/0.6387, allocations: 50.39 kB / 0.8612 GB, free: 6.402 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.984e-05/0.6388, allocations: 31.91 kB / 0.8612 GB, free: 6.391 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006574/0.6394, allocations: 374.5 kB / 0.8616 GB, free: 6.152 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.6395, allocations: 2.906 kB / 0.8616 GB, free: 6.152 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.163e-05/0.6395, allocations: 10.84 kB / 0.8616 GB, free: 6.145 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-06/0.6395, allocations: 9.141 kB / 0.8616 GB, free: 6.141 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005355/0.64, allocations: 285.3 kB / 0.8619 GB, free: 6.008 MB / 0.5762 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.001846/0.6419, allocations: 1.51 MB / 0.8633 GB, free: 4.637 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003769/0.6423, allocations: 200.5 kB / 0.8635 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002164/0.6425, allocations: 119.5 kB / 0.8637 GB, free: 4.473 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009964/0.6435, allocations: 0.5115 MB / 0.8642 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.047e-05/0.6436, allocations: 45.67 kB / 0.8642 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.603e-06/0.6436, allocations: 0 / 0.8642 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.000923/0.6445, allocations: 375.4 kB / 0.8646 GB, free: 3.723 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.413e-05/0.6445, allocations: 53.47 kB / 0.8646 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002952/0.6449, allocations: 312.2 kB / 0.8649 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.152e-05/0.6449, allocations: 29.7 kB / 0.8649 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001233/0.645, allocations: 187.6 kB / 0.8651 GB, free: 3.258 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.205e-05/0.6451, allocations: 52.45 kB / 0.8652 GB, free: 3.211 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.015e-05/0.6451, allocations: 23.47 kB / 0.8652 GB, free: 3.188 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.6453, allocations: 344.5 kB / 0.8655 GB, free: 2.848 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002017/0.6455, allocations: 91.34 kB / 0.8656 GB, free: 2.809 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002313/0.6457, allocations: 153 kB / 0.8657 GB, free: 2.699 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004225/0.6461, allocations: 251.6 kB / 0.866 GB, free: 2.543 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.6461, allocations: 0 / 0.866 GB, free: 2.543 MB / 0.5762 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005931/0.6467, allocations: 294.5 kB / 0.8663 GB, free: 2.391 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.6468, allocations: 5.312 kB / 0.8663 GB, free: 2.391 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.6468, allocations: 2.625 kB / 0.8663 GB, free: 2.391 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.6468, allocations: 3.25 kB / 0.8663 GB, free: 2.391 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002224/0.647, allocations: 44.09 kB / 0.8663 GB, free: 2.379 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.647, allocations: 5.281 kB / 0.8663 GB, free: 2.379 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002786/0.6473, allocations: 44.48 kB / 0.8664 GB, free: 2.352 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.867e-05/0.6474, allocations: 12.61 kB / 0.8664 GB, free: 2.348 MB / 0.5762 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.0001545/0.6475, allocations: 157.4 kB / 0.8665 GB, free: 2.203 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001079/0.6477, allocations: 28.88 kB / 0.8666 GB, free: 2.188 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007135/0.6484, allocations: 325.8 kB / 0.8669 GB, free: 2.004 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.327e-06/0.6484, allocations: 2.938 kB / 0.8669 GB, free: 2.004 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.6484, allocations: 0 / 0.8669 GB, free: 2.004 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.6484, allocations: 0 / 0.8669 GB, free: 2.004 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001375/0.6498, allocations: 0.8246 MB / 0.8677 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.6498, allocations: 0 / 0.8677 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001865/0.65, allocations: 43.81 kB / 0.8677 GB, free: 1.336 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.442e-06/0.65, allocations: 10.81 kB / 0.8677 GB, free: 1.328 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.765e-05/0.65, allocations: 3 kB / 0.8677 GB, free: 1.328 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.529e-06/0.65, allocations: 6.812 kB / 0.8677 GB, free: 1.324 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.736e-06/0.6501, allocations: 1.969 kB / 0.8677 GB, free: 1.324 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006226/0.6507, allocations: 408.4 kB / 0.8681 GB, free: 1.02 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001503/0.6508, allocations: 140.3 kB / 0.8683 GB, free: 0.8828 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.775e-05/0.6509, allocations: 6.406 kB / 0.8683 GB, free: 0.8789 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002859/0.6512, allocations: 31.23 kB / 0.8683 GB, free: 0.8672 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.448e-05/0.6513, allocations: 17.66 kB / 0.8683 GB, free: 0.8555 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.717e-05/0.6513, allocations: 12.03 kB / 0.8683 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002158/0.6515, allocations: 228 kB / 0.8685 GB, free: 0.707 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6515, allocations: 0 / 0.8685 GB, free: 0.707 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0005227/0.652, allocations: 120.8 kB / 0.8687 GB, free: 0.6797 MB / 0.5762 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.001434/0.6535, allocations: 1.075 MB / 0.8697 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004937/0.654, allocations: 225.4 kB / 0.8699 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.654, allocations: 0 / 0.8699 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002269/0.6542, allocations: 125.9 kB / 0.87 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009976/0.6552, allocations: 149.8 kB / 0.8702 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006229/0.6615, allocations: 3.198 MB / 0.8733 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004785/0.662, allocations: 0.7842 MB / 0.8741 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0005439/0.6626, allocations: 90.22 kB / 0.8742 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002542/0.6628, allocations: 100.1 kB / 0.8743 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of SimCode: time 7.42e-07/0.6629, allocations: 0 / 0.8743 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03305/0.6959, allocations: 9.91 MB / 0.8839 GB, free: 3.699 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002473/0.6962, allocations: 249.8 kB / 0.8842 GB, free: 3.441 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.91/2.606, allocations: 7.938 kB / 0.8842 GB, free: 3.434 MB / 0.5919 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)