Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="Buildings_8_Buildings_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.001502/0.001502, allocations: 108 kB / 15.6 MB, free: 132 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.001943/0.001944, allocations: 192.9 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.398/1.398, allocations: 205.1 MB / 222.4 MB, free: 4.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.692/1.692, allocations: 292.3 MB / 0.5489 GB, free: 12.79 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002017/0.002017, allocations: 68.33 kB / 0.6716 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2731/0.2751, allocations: 114.6 MB / 0.7835 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.6053/0.8804, allocations: 179.4 MB / 0.9587 GB, free: 0.7383 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.008054/0.8885, allocations: 7.839 MB / 0.9663 GB, free: 80 kB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006938/0.8892, allocations: 20.12 kB / 0.9663 GB, free: 72 kB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0007003/0.89, allocations: 239.8 kB / 0.9666 GB, free: 0 / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003252/0.8933, allocations: 1.228 MB / 0.9678 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001916/0.8952, allocations: 0.7289 MB / 0.9685 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001219/0.8964, allocations: 1.077 MB / 0.9695 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005609/0.897, allocations: 410.7 kB / 0.9699 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002232/0.8992, allocations: 0.8245 MB / 0.9707 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006077/0.8999, allocations: 438 kB / 0.9711 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 6.753e-05/0.8999, allocations: 36.47 kB / 0.9712 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001638/0.9016, allocations: 0.9483 MB / 0.9721 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001524/0.9017, allocations: 158.9 kB / 0.9722 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002424/0.902, allocations: 248.8 kB / 0.9725 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001194/0.9032, allocations: 0.9285 MB / 0.9734 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.9032, allocations: 0 / 0.9734 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.443e-06/0.9032, allocations: 1.312 kB / 0.9734 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.448e-06/0.9032, allocations: 0 / 0.9734 GB, free: 14.97 MB / 0.7325 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.001113/0.9043, allocations: 0.8129 MB / 0.9742 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.9044, allocations: 8.844 kB / 0.9742 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.857e-05/0.9045, allocations: 76.28 kB / 0.9743 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009613/0.9054, allocations: 157.9 kB / 0.9744 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004874/0.9059, allocations: 372.8 kB / 0.9748 GB, free: 14.08 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.131e-05/0.906, allocations: 29.69 kB / 0.9748 GB, free: 14.08 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.533e-05/0.906, allocations: 36.38 kB / 0.9748 GB, free: 14.08 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006606/0.9067, allocations: 452.6 kB / 0.9753 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.9067, allocations: 3.984 kB / 0.9753 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.408e-05/0.9068, allocations: 21.69 kB / 0.9753 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.24e-05/0.9068, allocations: 9.625 kB / 0.9753 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005695/0.9074, allocations: 320.7 kB / 0.9756 GB, free: 13.95 MB / 0.7325 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.002014/0.9094, allocations: 2.024 MB / 0.9776 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003885/0.9098, allocations: 241.6 kB / 0.9778 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002398/0.91, allocations: 146.6 kB / 0.978 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005725/0.9106, allocations: 306 kB / 0.9782 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/0.9107, allocations: 43.95 kB / 0.9783 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=24): time 1.463e-06/0.9107, allocations: 0 / 0.9783 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of matching and sorting (n=24): time 0.0009864/0.9117, allocations: 452.1 kB / 0.9787 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.652e-05/0.9117, allocations: 53.84 kB / 0.9788 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003685/0.9121, allocations: 397.2 kB / 0.9792 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.095e-05/0.9121, allocations: 32.17 kB / 0.9792 GB, free: 11.76 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000164/0.9123, allocations: 236.8 kB / 0.9794 GB, free: 11.56 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.909e-05/0.9124, allocations: 82.7 kB / 0.9795 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.499e-05/0.9125, allocations: 56.09 kB / 0.9795 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.9126, allocations: 354.1 kB / 0.9799 GB, free: 11.13 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002266/0.9128, allocations: 109.9 kB / 0.98 GB, free: 11.1 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002676/0.9131, allocations: 186.2 kB / 0.9802 GB, free: 10.99 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005034/0.9137, allocations: 302.6 kB / 0.9804 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.9137, allocations: 0 / 0.9804 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006095/0.9143, allocations: 367.7 kB / 0.9808 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.9143, allocations: 5 kB / 0.9808 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.9143, allocations: 3.062 kB / 0.9808 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.9143, allocations: 6.406 kB / 0.9808 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002627/0.9146, allocations: 56.86 kB / 0.9809 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.9146, allocations: 3.125 kB / 0.9809 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002517/0.9149, allocations: 43.47 kB / 0.9809 GB, free: 10.65 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.316e-05/0.9149, allocations: 14.44 kB / 0.9809 GB, free: 10.65 MB / 0.7325 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.0001656/0.9151, allocations: 177 kB / 0.9811 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.821e-05/0.9152, allocations: 39.69 kB / 0.9811 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006844/0.9159, allocations: 374.2 kB / 0.9815 GB, free: 10.29 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/0.9159, allocations: 6.531 kB / 0.9815 GB, free: 10.29 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.9159, allocations: 3 kB / 0.9815 GB, free: 10.29 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.9159, allocations: 3.984 kB / 0.9815 GB, free: 10.28 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001329/0.9172, allocations: 0.941 MB / 0.9824 GB, free: 9.562 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.736e-06/0.9172, allocations: 1.875 kB / 0.9824 GB, free: 9.562 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002377/0.9175, allocations: 44.64 kB / 0.9825 GB, free: 9.555 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/0.9175, allocations: 6.75 kB / 0.9825 GB, free: 9.551 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.368e-05/0.9175, allocations: 13.3 kB / 0.9825 GB, free: 9.543 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.908e-06/0.9175, allocations: 4.594 kB / 0.9825 GB, free: 9.543 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.858e-06/0.9175, allocations: 6.5 kB / 0.9825 GB, free: 9.539 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009024/0.9185, allocations: 0.6134 MB / 0.9831 GB, free: 9.121 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001587/0.9186, allocations: 159.4 kB / 0.9832 GB, free: 8.969 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.791e-05/0.9187, allocations: 9.438 kB / 0.9833 GB, free: 8.965 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002195/0.9189, allocations: 13.27 kB / 0.9833 GB, free: 8.957 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.987e-05/0.919, allocations: 17.17 kB / 0.9833 GB, free: 8.949 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.848e-05/0.919, allocations: 14.44 kB / 0.9833 GB, free: 8.941 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000268/0.9193, allocations: 283.4 kB / 0.9836 GB, free: 8.77 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9193, allocations: 0 / 0.9836 GB, free: 8.77 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004431/0.9197, allocations: 114.6 kB / 0.9837 GB, free: 8.746 MB / 0.7325 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.001507/0.9212, allocations: 1.23 MB / 0.9849 GB, free: 7.758 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005952/0.9219, allocations: 300.6 kB / 0.9852 GB, free: 7.621 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.9219, allocations: 0 / 0.9852 GB, free: 7.621 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002612/0.9221, allocations: 161.6 kB / 0.9853 GB, free: 7.547 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00105/0.9232, allocations: 227.6 kB / 0.9855 GB, free: 7.426 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004515/0.9277, allocations: 3.83 MB / 0.9893 GB, free: 4.719 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003865/0.9281, allocations: 0.8296 MB / 0.9901 GB, free: 3.957 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003262/0.9285, allocations: 99.81 kB / 0.9902 GB, free: 3.91 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001977/0.9287, allocations: 140.2 kB / 0.9903 GB, free: 3.801 MB / 0.7325 GB Notification: Performance of SimCode: time 5.21e-07/0.9287, allocations: 0 / 0.9903 GB, free: 3.801 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03083/0.9595, allocations: 11.58 MB / 1.002 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.446/10.41, allocations: 10.53 kB / 1.002 GB, free: 14.13 MB / 0.7481 GB (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.fmu > Buildings_8_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1)