Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.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.EnthalpyFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_EnthalpyFlowRate",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.001225/0.001225, allocations: 108.6 kB / 15.73 MB, free: 72 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.00119/0.001191, allocations: 183.3 kB / 16.66 MB, free: 6.602 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.328/1.328, allocations: 222.9 MB / 240.4 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002533/0.002533, allocations: 283.1 kB / 290.8 MB, free: 1.977 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.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002584/0.002584, allocations: 88.28 kB / 0.681 GB, free: 15.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1604/0.163, allocations: 86.98 MB / 0.7659 GB, free: 8.918 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.5098/0.6728, allocations: 167.5 MB / 0.9295 GB, free: 11.6 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.008163/0.681, allocations: 6.534 MB / 0.9359 GB, free: 5.051 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004037/0.6815, allocations: 15.88 kB / 0.9359 GB, free: 5.035 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.000539/0.682, allocations: 174.7 kB / 0.9361 GB, free: 4.863 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.002014/0.6841, allocations: 0.844 MB / 0.9369 GB, free: 4.016 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009311/0.685, allocations: 324.6 kB / 0.9372 GB, free: 3.699 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0008262/0.6859, allocations: 0.7212 MB / 0.9379 GB, free: 2.977 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004388/0.6863, allocations: 273.1 kB / 0.9382 GB, free: 2.715 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001006/0.6873, allocations: 0.5486 MB / 0.9387 GB, free: 2.164 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004176/0.6878, allocations: 274.9 kB / 0.939 GB, free: 1.895 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 4.79e-05/0.6878, allocations: 24 kB / 0.939 GB, free: 1.871 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005925/0.6884, allocations: 335.2 kB / 0.9393 GB, free: 1.543 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0001266/0.6886, allocations: 111.6 kB / 0.9394 GB, free: 1.434 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0001714/0.6887, allocations: 163.2 kB / 0.9396 GB, free: 1.273 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0006507/0.6894, allocations: 481.5 kB / 0.94 GB, free: 0.8047 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.6894, allocations: 0 / 0.94 GB, free: 0.8047 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.112e-06/0.6894, allocations: 4 kB / 0.94 GB, free: 0.8008 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 6.663e-06/0.6894, allocations: 0 / 0.94 GB, free: 0.8008 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0008507/0.6903, allocations: 0.6229 MB / 0.9406 GB, free: 132 kB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.6903, allocations: 11.97 kB / 0.9407 GB, free: 120 kB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.729e-05/0.6904, allocations: 66.53 kB / 0.9407 GB, free: 44 kB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002983/0.6907, allocations: 59.78 kB / 0.9408 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005002/0.6912, allocations: 333.2 kB / 0.9411 GB, free: 15.62 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.636e-05/0.6912, allocations: 20.56 kB / 0.9411 GB, free: 15.59 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.288e-05/0.6913, allocations: 24 kB / 0.9411 GB, free: 15.57 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005267/0.6918, allocations: 323.7 kB / 0.9414 GB, free: 15.23 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.6918, allocations: 0 / 0.9414 GB, free: 15.23 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.347e-05/0.6919, allocations: 8 kB / 0.9415 GB, free: 15.22 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.221e-05/0.6919, allocations: 8 kB / 0.9415 GB, free: 15.21 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004046/0.6923, allocations: 201.5 kB / 0.9417 GB, free: 15.02 MB / 0.7012 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.001642/0.694, allocations: 1.539 MB / 0.9432 GB, free: 13.34 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000262/0.6942, allocations: 122.5 kB / 0.9433 GB, free: 13.21 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000174/0.6944, allocations: 88.8 kB / 0.9434 GB, free: 13.12 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000582/0.695, allocations: 303.2 kB / 0.9436 GB, free: 12.77 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.388e-05/0.695, allocations: 30.56 kB / 0.9437 GB, free: 12.73 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=13): time 1.283e-06/0.695, allocations: 0 / 0.9437 GB, free: 12.73 MB / 0.7012 GB Notification: Performance of matching and sorting (n=13): time 0.0007297/0.6958, allocations: 284.4 kB / 0.9439 GB, free: 12.45 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.973e-05/0.6958, allocations: 51.41 kB / 0.944 GB, free: 12.39 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003209/0.6962, allocations: 308.5 kB / 0.9443 GB, free: 12.08 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 3.13e-05/0.6962, allocations: 33.7 kB / 0.9443 GB, free: 12.04 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001386/0.6963, allocations: 180.3 kB / 0.9445 GB, free: 11.86 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 4.694e-05/0.6964, allocations: 47.58 kB / 0.9445 GB, free: 11.82 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.208e-05/0.6965, allocations: 45.66 kB / 0.9446 GB, free: 11.77 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.6966, allocations: 338.8 kB / 0.9449 GB, free: 11.43 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000151/0.6968, allocations: 62.2 kB / 0.945 GB, free: 11.37 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001926/0.697, allocations: 113 kB / 0.9451 GB, free: 11.24 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003267/0.6973, allocations: 181 kB / 0.9452 GB, free: 11.04 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.6973, allocations: 3.938 kB / 0.9453 GB, free: 11.04 MB / 0.7012 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004081/0.6978, allocations: 217.3 kB / 0.9455 GB, free: 10.82 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.6978, allocations: 8 kB / 0.9455 GB, free: 10.81 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.351e-06/0.6978, allocations: 0 / 0.9455 GB, free: 10.81 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.6978, allocations: 3.938 kB / 0.9455 GB, free: 10.81 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001722/0.698, allocations: 32.03 kB / 0.9455 GB, free: 10.78 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.698, allocations: 7.938 kB / 0.9455 GB, free: 10.77 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001566/0.6982, allocations: 35.97 kB / 0.9455 GB, free: 10.73 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.824e-05/0.6982, allocations: 8 kB / 0.9456 GB, free: 10.73 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (17): * Single equations (assignments): 17 * 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.0001496/0.6984, allocations: 154.3 kB / 0.9457 GB, free: 10.57 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.882e-05/0.6984, allocations: 27.81 kB / 0.9457 GB, free: 10.54 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004367/0.6989, allocations: 204.3 kB / 0.9459 GB, free: 10.33 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.6989, allocations: 4 kB / 0.9459 GB, free: 10.33 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.6989, allocations: 5.375 kB / 0.9459 GB, free: 10.32 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.6989, allocations: 3.984 kB / 0.9459 GB, free: 10.32 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001017/0.6999, allocations: 0.6758 MB / 0.9466 GB, free: 9.566 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.6999, allocations: 11.92 kB / 0.9466 GB, free: 9.555 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000121/0.7001, allocations: 27.92 kB / 0.9466 GB, free: 9.527 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.416e-06/0.7001, allocations: 4 kB / 0.9466 GB, free: 9.523 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.632e-05/0.7001, allocations: 6.625 kB / 0.9466 GB, free: 9.52 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.605e-06/0.7001, allocations: 7.938 kB / 0.9466 GB, free: 9.512 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.7001, allocations: 4 kB / 0.9467 GB, free: 9.508 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004268/0.7006, allocations: 337.4 kB / 0.947 GB, free: 9.141 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001146/0.7007, allocations: 124.8 kB / 0.9471 GB, free: 9 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.71e-05/0.7007, allocations: 8 kB / 0.9471 GB, free: 8.992 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001466/0.7009, allocations: 11.92 kB / 0.9471 GB, free: 8.98 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.893e-05/0.7009, allocations: 11.98 kB / 0.9471 GB, free: 8.969 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.101e-05/0.7009, allocations: 8 kB / 0.9471 GB, free: 8.961 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0002267/0.7012, allocations: 223 kB / 0.9473 GB, free: 8.746 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7012, allocations: 0 / 0.9473 GB, free: 8.746 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0003518/0.7015, allocations: 75.89 kB / 0.9474 GB, free: 8.672 MB / 0.7012 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 (13): * Single equations (assignments): 13 * 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.001051/0.7026, allocations: 0.9192 MB / 0.9483 GB, free: 7.715 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0003941/0.703, allocations: 163.7 kB / 0.9485 GB, free: 7.555 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.703, allocations: 0 / 0.9485 GB, free: 7.555 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0001762/0.7032, allocations: 88.5 kB / 0.9486 GB, free: 7.469 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007728/0.704, allocations: 152.5 kB / 0.9487 GB, free: 7.328 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003372/0.7074, allocations: 2.811 MB / 0.9514 GB, free: 4.367 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004008/0.7078, allocations: 0.7795 MB / 0.9522 GB, free: 3.562 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0001847/0.708, allocations: 60.86 kB / 0.9523 GB, free: 3.504 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001364/0.7081, allocations: 91.41 kB / 0.9524 GB, free: 3.414 MB / 0.7012 GB Notification: Performance of SimCode: time 4.01e-07/0.7081, allocations: 0 / 0.9524 GB, free: 3.414 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03158/0.7397, allocations: 8.149 MB / 0.9603 GB, free: 11.47 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.796/8.535, allocations: 25.48 kB / 0.9603 GB, free: 11.45 MB / 0.7169 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate_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_EnthalpyFlowRate.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)