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.00152/0.00152, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00173/0.00173, allocations: 196.6 kB / 16.25 MB, free: 6.625 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.177/1.177, allocations: 222.9 MB / 239.9 MB, free: 4.492 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001875/0.001876, allocations: 286.9 kB / 290.3 MB, free: 2.113 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8592/0.8592, allocations: 169.2 MB / 0.4978 GB, free: 14.06 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001929/0.001929, allocations: 93.52 kB / 0.5948 GB, free: 28.33 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1371, allocations: 86.98 MB / 0.6797 GB, free: 0.9414 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.4317/0.5688, allocations: 177 MB / 0.8526 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008482/0.5773, allocations: 7.778 MB / 0.8602 GB, free: 4.938 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000614/0.5779, allocations: 18.25 kB / 0.8602 GB, free: 4.93 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006556/0.5786, allocations: 206.1 kB / 0.8604 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002886/0.5815, allocations: 1.14 MB / 0.8615 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001541/0.5831, allocations: 0.6797 MB / 0.8622 GB, free: 3.422 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0009922/0.5841, allocations: 1.081 MB / 0.8632 GB, free: 2.812 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000485/0.5846, allocations: 390.3 kB / 0.8636 GB, free: 2.574 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002205/0.5868, allocations: 0.8253 MB / 0.8644 GB, free: 2.102 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005091/0.5873, allocations: 460.8 kB / 0.8649 GB, free: 1.844 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.148e-05/0.5874, allocations: 41.88 kB / 0.8649 GB, free: 1.84 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001452/0.5888, allocations: 0.977 MB / 0.8658 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001446/0.589, allocations: 155.2 kB / 0.866 GB, free: 1.188 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002155/0.5892, allocations: 254.9 kB / 0.8662 GB, free: 1.023 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001175/0.5904, allocations: 0.9864 MB / 0.8672 GB, free: 432 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.5904, allocations: 3.938 kB / 0.8672 GB, free: 428 kB / 0.5762 GB Notification: Performance of FrontEnd: time 1.834e-06/0.5904, allocations: 0 / 0.8672 GB, free: 428 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.885e-06/0.5904, allocations: 0 / 0.8672 GB, free: 428 kB / 0.5762 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.001055/0.5915, allocations: 0.811 MB / 0.868 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.5915, allocations: 10.06 kB / 0.868 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.354e-05/0.5916, allocations: 75.22 kB / 0.8681 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009322/0.5926, allocations: 147.4 kB / 0.8682 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004655/0.593, allocations: 380.5 kB / 0.8686 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.539e-05/0.5931, allocations: 30.31 kB / 0.8686 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.45e-05/0.5931, allocations: 39.25 kB / 0.8686 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006685/0.5938, allocations: 448.2 kB / 0.8691 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.5938, allocations: 0 / 0.8691 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.529e-05/0.5939, allocations: 20.97 kB / 0.8691 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.134e-05/0.5939, allocations: 7.594 kB / 0.8691 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005596/0.5945, allocations: 322.7 kB / 0.8694 GB, free: 14.78 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.001952/0.5964, allocations: 2.018 MB / 0.8714 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003784/0.5968, allocations: 239.4 kB / 0.8716 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002383/0.5971, allocations: 152.8 kB / 0.8718 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000557/0.5976, allocations: 301 kB / 0.872 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.675e-05/0.5977, allocations: 46.48 kB / 0.8721 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=24): time 1.372e-06/0.5977, allocations: 0 / 0.8721 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24): time 0.000971/0.5986, allocations: 459.6 kB / 0.8725 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.583e-05/0.5987, allocations: 57.91 kB / 0.8726 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003652/0.5991, allocations: 399.4 kB / 0.873 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.721e-05/0.5991, allocations: 28.77 kB / 0.873 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001476/0.5993, allocations: 230.8 kB / 0.8732 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.755e-05/0.5993, allocations: 84.44 kB / 0.8733 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.156e-05/0.5994, allocations: 60.28 kB / 0.8733 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.5996, allocations: 357.5 kB / 0.8737 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000226/0.5998, allocations: 109.4 kB / 0.8738 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002657/0.6001, allocations: 190.2 kB / 0.874 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004669/0.6006, allocations: 296.7 kB / 0.8743 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.6006, allocations: 2.688 kB / 0.8743 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005922/0.6012, allocations: 368.6 kB / 0.8746 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.6012, allocations: 5.5 kB / 0.8746 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.6012, allocations: 6.719 kB / 0.8746 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.6012, allocations: 4.812 kB / 0.8746 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002729/0.6015, allocations: 54.53 kB / 0.8747 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.355e-06/0.6015, allocations: 4.75 kB / 0.8747 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002876/0.6018, allocations: 49.81 kB / 0.8747 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.201e-05/0.6019, allocations: 17.5 kB / 0.8747 GB, free: 10.49 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.0001633/0.602, allocations: 168.6 kB / 0.8749 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.769e-05/0.6021, allocations: 43.28 kB / 0.8749 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006745/0.6028, allocations: 363.5 kB / 0.8753 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.6028, allocations: 4.688 kB / 0.8753 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.6028, allocations: 0 / 0.8753 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.6028, allocations: 7.984 kB / 0.8753 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001343/0.6042, allocations: 0.9386 MB / 0.8762 GB, free: 9.383 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/0.6042, allocations: 2.938 kB / 0.8762 GB, free: 9.383 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002471/0.6044, allocations: 51.08 kB / 0.8763 GB, free: 9.371 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.155e-06/0.6044, allocations: 6.469 kB / 0.8763 GB, free: 9.367 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.338e-05/0.6045, allocations: 10.89 kB / 0.8763 GB, free: 9.359 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.6045, allocations: 4.906 kB / 0.8763 GB, free: 9.359 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/0.6045, allocations: 6.312 kB / 0.8763 GB, free: 9.355 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000848/0.6053, allocations: 0.6211 MB / 0.8769 GB, free: 8.93 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001374/0.6055, allocations: 155 kB / 0.8771 GB, free: 8.781 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.539e-05/0.6056, allocations: 12.66 kB / 0.8771 GB, free: 8.773 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002466/0.6058, allocations: 20.55 kB / 0.8771 GB, free: 8.766 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.413e-05/0.6059, allocations: 25.94 kB / 0.8771 GB, free: 8.75 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.658e-05/0.6059, allocations: 13.78 kB / 0.8771 GB, free: 8.742 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002394/0.6061, allocations: 278.2 kB / 0.8774 GB, free: 8.57 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6062, allocations: 0 / 0.8774 GB, free: 8.57 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004228/0.6066, allocations: 114.4 kB / 0.8775 GB, free: 8.547 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.001385/0.608, allocations: 1.243 MB / 0.8787 GB, free: 7.547 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005608/0.6085, allocations: 295.9 kB / 0.879 GB, free: 7.414 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.6086, allocations: 0 / 0.879 GB, free: 7.414 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002619/0.6088, allocations: 157.2 kB / 0.8791 GB, free: 7.34 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001014/0.6099, allocations: 228.9 kB / 0.8794 GB, free: 7.23 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004373/0.6142, allocations: 3.966 MB / 0.8832 GB, free: 4.375 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003492/0.6146, allocations: 0.828 MB / 0.884 GB, free: 3.609 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003173/0.6149, allocations: 90.7 kB / 0.8841 GB, free: 3.57 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001851/0.6151, allocations: 142.7 kB / 0.8843 GB, free: 3.457 MB / 0.5919 GB Notification: Performance of SimCode: time 2.31e-07/0.6151, allocations: 0 / 0.8843 GB, free: 3.457 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03469/0.6498, allocations: 11.43 MB / 0.8954 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002028/0.65, allocations: 267.8 kB / 0.8957 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.186/2.836, allocations: 0 / 0.8957 GB, free: 10.12 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)