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.001282/0.001282, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001278/0.001278, allocations: 195.6 kB / 16.53 MB, free: 6.664 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.352/1.352, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002412/0.002412, allocations: 286.6 kB / 290.7 MB, free: 2.004 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.044/1.044, allocations: 178.6 MB / 0.5073 GB, free: 4.578 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002673/0.002673, allocations: 98.05 kB / 0.6065 GB, free: 24.7 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1613/0.164, allocations: 89.15 MB / 0.6936 GB, free: 4.23 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate): time 0.4788/0.6428, allocations: 169.4 MB / 0.8591 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008265/0.6511, allocations: 7.137 MB / 0.866 GB, free: 6.379 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004239/0.6516, allocations: 14.03 kB / 0.866 GB, free: 6.375 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005574/0.6521, allocations: 172.4 kB / 0.8662 GB, free: 6.223 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003093/0.6553, allocations: 1.26 MB / 0.8674 GB, free: 5.281 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0016/0.6569, allocations: 0.6255 MB / 0.868 GB, free: 4.828 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0008506/0.6577, allocations: 0.7626 MB / 0.8688 GB, free: 4.395 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004306/0.6582, allocations: 292.6 kB / 0.8691 GB, free: 4.223 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001048/0.6592, allocations: 0.5704 MB / 0.8696 GB, free: 3.871 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007782/0.66, allocations: 425.2 kB / 0.87 GB, free: 3.629 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 5.208e-05/0.6601, allocations: 24.75 kB / 0.8701 GB, free: 3.629 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002203/0.6623, allocations: 1.245 MB / 0.8713 GB, free: 2.93 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001279/0.6624, allocations: 117 kB / 0.8714 GB, free: 2.852 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001903/0.6626, allocations: 177.9 kB / 0.8715 GB, free: 2.738 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001318/0.664, allocations: 0.894 MB / 0.8724 GB, free: 2.195 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.664, allocations: 0 / 0.8724 GB, free: 2.195 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.152e-06/0.664, allocations: 0 / 0.8724 GB, free: 2.195 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.483e-06/0.664, allocations: 2.906 kB / 0.8724 GB, free: 2.195 MB / 0.5919 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.0009979/0.665, allocations: 0.6855 MB / 0.8731 GB, free: 1.594 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.6651, allocations: 18.3 kB / 0.8731 GB, free: 1.586 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.549e-05/0.6651, allocations: 61.05 kB / 0.8732 GB, free: 1.527 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009792/0.6661, allocations: 124.8 kB / 0.8733 GB, free: 1.469 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004268/0.6666, allocations: 331.8 kB / 0.8736 GB, free: 1.156 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.602e-05/0.6666, allocations: 49.33 kB / 0.8737 GB, free: 1.113 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.05e-05/0.6667, allocations: 25.44 kB / 0.8737 GB, free: 1.105 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006131/0.6673, allocations: 373.6 kB / 0.874 GB, free: 0.8633 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.6673, allocations: 0 / 0.874 GB, free: 0.8633 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.425e-05/0.6674, allocations: 16.34 kB / 0.874 GB, free: 0.8516 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.353e-06/0.6674, allocations: 5.75 kB / 0.8741 GB, free: 0.8516 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005123/0.6679, allocations: 274.7 kB / 0.8743 GB, free: 0.7227 MB / 0.5919 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.001874/0.6698, allocations: 1.495 MB / 0.8758 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003809/0.6702, allocations: 194.6 kB / 0.876 GB, free: 15.26 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002102/0.6704, allocations: 127.8 kB / 0.8761 GB, free: 15.19 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001022/0.6714, allocations: 0.4991 MB / 0.8766 GB, free: 14.68 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.4e-05/0.6715, allocations: 30.56 kB / 0.8766 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=15): time 1.493e-06/0.6715, allocations: 0 / 0.8766 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15): time 0.0009314/0.6724, allocations: 360.3 kB / 0.8769 GB, free: 14.45 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.38e-05/0.6725, allocations: 53.59 kB / 0.877 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002977/0.6728, allocations: 320.7 kB / 0.8773 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.213e-05/0.6728, allocations: 27.58 kB / 0.8773 GB, free: 14.15 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001307/0.673, allocations: 187.9 kB / 0.8775 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.931e-05/0.673, allocations: 50.05 kB / 0.8776 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.064e-05/0.6731, allocations: 47.08 kB / 0.8776 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.6733, allocations: 337.9 kB / 0.8779 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001881/0.6735, allocations: 89.64 kB / 0.878 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002335/0.6737, allocations: 143.1 kB / 0.8781 GB, free: 13.42 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004055/0.6741, allocations: 246.8 kB / 0.8784 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.6741, allocations: 3.938 kB / 0.8784 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000549/0.6747, allocations: 288.5 kB / 0.8787 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.6747, allocations: 5.219 kB / 0.8787 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.6747, allocations: 2.469 kB / 0.8787 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.6747, allocations: 1.938 kB / 0.8787 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002141/0.6749, allocations: 42.83 kB / 0.8787 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/0.675, allocations: 7.953 kB / 0.8787 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001942/0.6752, allocations: 29.62 kB / 0.8787 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.344e-05/0.6752, allocations: 14.08 kB / 0.8788 GB, free: 13.06 MB / 0.6075 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.0001618/0.6754, allocations: 158.7 kB / 0.8789 GB, free: 12.92 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/0.6755, allocations: 28.59 kB / 0.8789 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007009/0.6762, allocations: 316.6 kB / 0.8792 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/0.6762, allocations: 4.281 kB / 0.8792 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.6762, allocations: 3.938 kB / 0.8792 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.6762, allocations: 0 / 0.8792 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001249/0.6775, allocations: 0.7982 MB / 0.88 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.6775, allocations: 2.781 kB / 0.88 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000185/0.6777, allocations: 43.41 kB / 0.8801 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.6777, allocations: 2.719 kB / 0.8801 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.797e-05/0.6777, allocations: 10.28 kB / 0.8801 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.6777, allocations: 2.938 kB / 0.8801 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.6777, allocations: 4.406 kB / 0.8801 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006092/0.6784, allocations: 400.9 kB / 0.8805 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001494/0.6785, allocations: 140.6 kB / 0.8806 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.876e-05/0.6786, allocations: 7.938 kB / 0.8806 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000234/0.6788, allocations: 17.36 kB / 0.8806 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.911e-05/0.6789, allocations: 19.92 kB / 0.8806 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.771e-05/0.6789, allocations: 15.98 kB / 0.8807 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002208/0.6791, allocations: 223.1 kB / 0.8809 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6791, allocations: 0 / 0.8809 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005225/0.6797, allocations: 119.8 kB / 0.881 GB, free: 11.07 MB / 0.6075 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.001455/0.6811, allocations: 1.063 MB / 0.882 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005272/0.6817, allocations: 219.7 kB / 0.8822 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.6817, allocations: 4 kB / 0.8822 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002367/0.6819, allocations: 120.3 kB / 0.8824 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008504/0.6828, allocations: 163.2 kB / 0.8825 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004057/0.6869, allocations: 3.057 MB / 0.8855 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003987/0.6873, allocations: 0.791 MB / 0.8863 GB, free: 5.441 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0003058/0.6876, allocations: 83.94 kB / 0.8863 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001705/0.6878, allocations: 103.4 kB / 0.8864 GB, free: 5.266 MB / 0.6075 GB Notification: Performance of SimCode: time 3.31e-07/0.6878, allocations: 0 / 0.8864 GB, free: 5.266 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03746/0.7252, allocations: 10.46 MB / 0.8967 GB, free: 11.01 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.735/8.46, allocations: 10.52 kB / 0.8967 GB, free: 11 MB / 0.6231 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_EntropyFlowRate.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)