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.0058/0.0058, allocations: 98.77 kB / 15.73 MB, free: 6.066 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.001328/0.001328, allocations: 195.9 kB / 16.68 MB, free: 5.973 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.447/1.447, 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.00239/0.00239, allocations: 286.9 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9701/0.9701, allocations: 169.2 MB / 0.4983 GB, free: 4.41 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002587/0.002587, allocations: 99.84 kB / 0.681 GB, free: 7.438 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4144/0.417, allocations: 86.98 MB / 0.7659 GB, free: 3.848 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1851/0.6021, allocations: 167.5 MB / 0.9295 GB, free: 11.66 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.007761/0.6099, allocations: 6.526 MB / 0.9359 GB, free: 5.113 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004254/0.6103, allocations: 15.88 kB / 0.9359 GB, free: 5.098 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0005185/0.6109, allocations: 166.8 kB / 0.9361 GB, free: 4.934 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.001998/0.6129, allocations: 0.844 MB / 0.9369 GB, free: 4.086 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009123/0.6138, allocations: 334.4 kB / 0.9372 GB, free: 3.762 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0008336/0.6147, allocations: 0.7173 MB / 0.9379 GB, free: 3.043 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004378/0.6151, allocations: 282.2 kB / 0.9382 GB, free: 2.773 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001119/0.6162, allocations: 0.5487 MB / 0.9387 GB, free: 2.223 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003917/0.6166, allocations: 274.9 kB / 0.939 GB, free: 1.953 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 3.818e-05/0.6167, allocations: 20 kB / 0.939 GB, free: 1.934 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006657/0.6174, allocations: 343.2 kB / 0.9393 GB, free: 1.598 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0001338/0.6175, allocations: 107.7 kB / 0.9394 GB, free: 1.492 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0001767/0.6177, allocations: 163.2 kB / 0.9396 GB, free: 1.332 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0006927/0.6184, allocations: 472.1 kB / 0.94 GB, free: 0.8711 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.6184, allocations: 3.938 kB / 0.94 GB, free: 0.8672 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.283e-06/0.6184, allocations: 0 / 0.94 GB, free: 0.8672 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.16e-05/0.6184, allocations: 0 / 0.94 GB, free: 0.8672 MB / 0.7012 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.0008911/0.6193, allocations: 0.6306 MB / 0.9407 GB, free: 192 kB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.6194, allocations: 8.031 kB / 0.9407 GB, free: 184 kB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.826e-05/0.6195, allocations: 66.55 kB / 0.9407 GB, free: 108 kB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002927/0.6198, allocations: 67.64 kB / 0.9408 GB, free: 40 kB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005074/0.6203, allocations: 325.4 kB / 0.9411 GB, free: 15.68 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.785e-05/0.6203, allocations: 28.56 kB / 0.9411 GB, free: 15.65 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.576e-05/0.6204, allocations: 27.98 kB / 0.9412 GB, free: 15.62 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005316/0.6209, allocations: 315.7 kB / 0.9415 GB, free: 15.29 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.6209, allocations: 0 / 0.9415 GB, free: 15.29 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.53e-05/0.6209, allocations: 12 kB / 0.9415 GB, free: 15.28 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.621, allocations: 8 kB / 0.9415 GB, free: 15.27 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004168/0.6214, allocations: 205.5 kB / 0.9417 GB, free: 15.07 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.001675/0.6231, allocations: 1.531 MB / 0.9432 GB, free: 13.41 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00025/0.6233, allocations: 118.5 kB / 0.9433 GB, free: 13.28 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001786/0.6235, allocations: 84.81 kB / 0.9434 GB, free: 13.2 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005941/0.6241, allocations: 303.2 kB / 0.9437 GB, free: 12.84 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.971e-05/0.6242, allocations: 38.5 kB / 0.9437 GB, free: 12.8 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 7.103e-06/0.6242, allocations: 4 kB / 0.9437 GB, free: 12.79 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0007267/0.6249, allocations: 277.5 kB / 0.944 GB, free: 12.52 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.831e-05/0.625, allocations: 51.41 kB / 0.944 GB, free: 12.45 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003184/0.6253, allocations: 312.5 kB / 0.9443 GB, free: 12.14 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.581e-05/0.6253, allocations: 29.7 kB / 0.9443 GB, free: 12.11 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001516/0.6255, allocations: 188.3 kB / 0.9445 GB, free: 11.92 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.196e-05/0.6255, allocations: 43.58 kB / 0.9446 GB, free: 11.88 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.139e-05/0.6256, allocations: 37.67 kB / 0.9446 GB, free: 11.83 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.6258, allocations: 342.8 kB / 0.9449 GB, free: 11.49 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001488/0.6259, allocations: 55.95 kB / 0.945 GB, free: 11.43 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002011/0.6261, allocations: 120.9 kB / 0.9451 GB, free: 11.3 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003264/0.6265, allocations: 177 kB / 0.9453 GB, free: 11.11 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.6265, allocations: 0 / 0.9453 GB, free: 11.11 MB / 0.7169 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004191/0.6269, allocations: 217.2 kB / 0.9455 GB, free: 10.89 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.6269, allocations: 8 kB / 0.9455 GB, free: 10.88 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.6269, allocations: 3.984 kB / 0.9455 GB, free: 10.88 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.627, allocations: 8.156 kB / 0.9455 GB, free: 10.87 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001684/0.6271, allocations: 31.92 kB / 0.9455 GB, free: 10.84 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.6271, allocations: 4 kB / 0.9455 GB, free: 10.83 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001706/0.6273, allocations: 31.77 kB / 0.9455 GB, free: 10.8 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.764e-05/0.6274, allocations: 8 kB / 0.9456 GB, free: 10.79 MB / 0.7169 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.0001583/0.6275, allocations: 149.8 kB / 0.9457 GB, free: 10.64 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.294e-05/0.6276, allocations: 31.81 kB / 0.9457 GB, free: 10.61 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004717/0.628, allocations: 210.2 kB / 0.9459 GB, free: 10.39 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.672e-06/0.6281, allocations: 7.984 kB / 0.9459 GB, free: 10.39 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.6281, allocations: 0 / 0.9459 GB, free: 10.39 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.6281, allocations: 0 / 0.9459 GB, free: 10.39 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001043/0.6291, allocations: 0.6835 MB / 0.9466 GB, free: 9.625 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.6291, allocations: 4 kB / 0.9466 GB, free: 9.621 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001306/0.6293, allocations: 27.92 kB / 0.9466 GB, free: 9.594 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.6293, allocations: 4 kB / 0.9466 GB, free: 9.59 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.611e-05/0.6293, allocations: 11.92 kB / 0.9467 GB, free: 9.578 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.6293, allocations: 4.219 kB / 0.9467 GB, free: 9.574 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.6293, allocations: 4 kB / 0.9467 GB, free: 9.57 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004526/0.6298, allocations: 337.2 kB / 0.947 GB, free: 9.203 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001218/0.6299, allocations: 128.8 kB / 0.9471 GB, free: 9.059 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.045e-05/0.63, allocations: 7.938 kB / 0.9471 GB, free: 9.051 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001781/0.6301, allocations: 7.984 kB / 0.9471 GB, free: 9.043 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.221e-05/0.6302, allocations: 15.94 kB / 0.9471 GB, free: 9.027 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.016e-05/0.6302, allocations: 8 kB / 0.9471 GB, free: 9.02 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002213/0.6305, allocations: 223 kB / 0.9474 GB, free: 8.801 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6305, allocations: 0 / 0.9474 GB, free: 8.801 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004694/0.6309, allocations: 75.83 kB / 0.9474 GB, free: 8.727 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 (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.001043/0.632, allocations: 0.9234 MB / 0.9483 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003966/0.6324, allocations: 164 kB / 0.9485 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.6324, allocations: 0 / 0.9485 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001734/0.6326, allocations: 79.83 kB / 0.9486 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008484/0.6334, allocations: 152 kB / 0.9487 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003494/0.637, allocations: 2.809 MB / 0.9514 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003951/0.6374, allocations: 0.7795 MB / 0.9522 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001836/0.6376, allocations: 62.94 kB / 0.9523 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001379/0.6377, allocations: 91.41 kB / 0.9524 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of SimCode: time 2.6e-07/0.6377, allocations: 0 / 0.9524 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3451/0.9828, allocations: 8.14 MB / 0.9603 GB, free: 190.3 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.83/8.813, allocations: 1.156 kB / 0.9603 GB, free: 190.3 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_EnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_EnthalpyFlowRate.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)