Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.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.MoistAirEnthalpyFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",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.001018/0.001018, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001141/0.001141, allocations: 196.3 kB / 16.14 MB, free: 6.715 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.252/1.252, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001985/0.001985, allocations: 285.7 kB / 290.2 MB, free: 2.227 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8812/0.8812, allocations: 169.2 MB / 0.4977 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001546/0.001546, allocations: 99.14 kB / 0.5946 GB, free: 28.23 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.1435, allocations: 86.98 MB / 0.6796 GB, free: 1.066 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.4482/0.5918, allocations: 177.1 MB / 0.8525 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008407/0.6003, allocations: 7.863 MB / 0.8602 GB, free: 4.695 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006114/0.6009, allocations: 21.44 kB / 0.8602 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006251/0.6015, allocations: 184.9 kB / 0.8604 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002548/0.6041, allocations: 1.148 MB / 0.8615 GB, free: 3.664 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001454/0.6056, allocations: 0.6596 MB / 0.8622 GB, free: 3.188 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001168/0.6068, allocations: 1.532 MB / 0.8637 GB, free: 2.359 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004454/0.6072, allocations: 352.5 kB / 0.864 GB, free: 2.145 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002176/0.6094, allocations: 0.7639 MB / 0.8648 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005426/0.61, allocations: 459.8 kB / 0.8652 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.982e-05/0.61, allocations: 29.06 kB / 0.8652 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00158/0.6116, allocations: 1.086 MB / 0.8663 GB, free: 0.8359 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001356/0.6118, allocations: 143.7 kB / 0.8664 GB, free: 0.7422 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002091/0.612, allocations: 244.8 kB / 0.8667 GB, free: 0.5898 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001095/0.6131, allocations: 0.9725 MB / 0.8676 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.6131, allocations: 0 / 0.8676 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of FrontEnd: time 7.41e-07/0.6131, allocations: 0 / 0.8676 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.6131, allocations: 0 / 0.8676 GB, free: 15.99 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001067/0.6142, allocations: 0.8033 MB / 0.8684 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/0.6142, allocations: 9.906 kB / 0.8684 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.329e-05/0.6143, allocations: 79.17 kB / 0.8685 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008898/0.6152, allocations: 152.3 kB / 0.8686 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004506/0.6157, allocations: 380.8 kB / 0.869 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.626e-05/0.6157, allocations: 27.94 kB / 0.869 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.156e-05/0.6158, allocations: 37.19 kB / 0.8691 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006482/0.6164, allocations: 450.2 kB / 0.8695 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.6165, allocations: 0 / 0.8695 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.829e-05/0.6165, allocations: 18.53 kB / 0.8695 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.637e-06/0.6165, allocations: 14.19 kB / 0.8695 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005542/0.6171, allocations: 320.1 kB / 0.8698 GB, free: 14.35 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.001933/0.619, allocations: 2.013 MB / 0.8718 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003639/0.6194, allocations: 232.8 kB / 0.872 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002244/0.6196, allocations: 152.4 kB / 0.8722 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005523/0.6202, allocations: 311.4 kB / 0.8725 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.382e-05/0.6202, allocations: 42.5 kB / 0.8725 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=24): time 1.353e-06/0.6202, allocations: 0 / 0.8725 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24): time 0.0009185/0.6211, allocations: 459 kB / 0.8729 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.796e-05/0.6212, allocations: 53.94 kB / 0.873 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003467/0.6215, allocations: 397 kB / 0.8734 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.74e-05/0.6216, allocations: 33.69 kB / 0.8734 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001469/0.6217, allocations: 232.7 kB / 0.8736 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.887e-05/0.6218, allocations: 77.56 kB / 0.8737 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.83e-05/0.6219, allocations: 63.94 kB / 0.8737 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.622, allocations: 353.3 kB / 0.8741 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002101/0.6222, allocations: 107.2 kB / 0.8742 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002624/0.6225, allocations: 190.3 kB / 0.8744 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004545/0.623, allocations: 300.2 kB / 0.8747 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.748e-06/0.623, allocations: 0 / 0.8747 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005682/0.6236, allocations: 370.2 kB / 0.875 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.6236, allocations: 7.438 kB / 0.875 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.6236, allocations: 2.875 kB / 0.875 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.6236, allocations: 2.406 kB / 0.875 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002635/0.6239, allocations: 57.28 kB / 0.8751 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.6239, allocations: 6.078 kB / 0.8751 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002573/0.6242, allocations: 52.05 kB / 0.8751 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.318e-05/0.6242, allocations: 14.09 kB / 0.8751 GB, free: 10.07 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (31): * Single equations (assignments): 31 * 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.0001514/0.6244, allocations: 169.8 kB / 0.8753 GB, free: 9.922 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.364e-05/0.6244, allocations: 43.22 kB / 0.8753 GB, free: 9.898 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006278/0.6251, allocations: 371.8 kB / 0.8757 GB, free: 9.684 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.6251, allocations: 2 kB / 0.8757 GB, free: 9.684 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.6251, allocations: 4 kB / 0.8757 GB, free: 9.68 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.6251, allocations: 0 / 0.8757 GB, free: 9.68 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001223/0.6263, allocations: 0.9392 MB / 0.8766 GB, free: 8.957 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.6263, allocations: 0 / 0.8766 GB, free: 8.957 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002338/0.6266, allocations: 49.94 kB / 0.8767 GB, free: 8.945 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.6266, allocations: 6.094 kB / 0.8767 GB, free: 8.941 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.138e-05/0.6266, allocations: 8.688 kB / 0.8767 GB, free: 8.938 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.6266, allocations: 4.938 kB / 0.8767 GB, free: 8.938 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.6266, allocations: 6.938 kB / 0.8767 GB, free: 8.934 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008174/0.6274, allocations: 0.6299 MB / 0.8773 GB, free: 8.504 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001366/0.6276, allocations: 153.3 kB / 0.8775 GB, free: 8.359 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.277e-05/0.6277, allocations: 6.531 kB / 0.8775 GB, free: 8.355 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002444/0.6279, allocations: 21.05 kB / 0.8775 GB, free: 8.348 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.382e-05/0.628, allocations: 26.06 kB / 0.8775 GB, free: 8.332 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.761e-05/0.628, allocations: 15.47 kB / 0.8775 GB, free: 8.324 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000233/0.6282, allocations: 282.2 kB / 0.8778 GB, free: 8.148 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6282, allocations: 0 / 0.8778 GB, free: 8.148 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003943/0.6286, allocations: 118.1 kB / 0.8779 GB, free: 8.121 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senH.h_out) * 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 (24): * Single equations (assignments): 24 * 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.001254/0.6299, allocations: 1.236 MB / 0.8791 GB, free: 7.125 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005061/0.6304, allocations: 287.5 kB / 0.8794 GB, free: 6.996 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.6304, allocations: 6.969 kB / 0.8794 GB, free: 6.992 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002381/0.6307, allocations: 146.2 kB / 0.8795 GB, free: 6.93 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009656/0.6316, allocations: 215.4 kB / 0.8797 GB, free: 6.828 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004147/0.6358, allocations: 3.959 MB / 0.8836 GB, free: 3.977 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003199/0.6361, allocations: 0.8387 MB / 0.8844 GB, free: 3.203 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002932/0.6364, allocations: 98.19 kB / 0.8845 GB, free: 3.16 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001773/0.6366, allocations: 136.2 kB / 0.8846 GB, free: 3.051 MB / 0.5919 GB Notification: Performance of SimCode: time 2.2e-07/0.6366, allocations: 0 / 0.8846 GB, free: 3.051 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02076/0.6574, allocations: 11.11 MB / 0.8955 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000203/0.6576, allocations: 272.7 kB / 0.8958 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.825/2.483, allocations: 0 / 0.8958 GB, free: 9.965 MB / 0.6075 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1)