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.005436/0.005436, allocations: 110.5 kB / 15.7 MB, free: 5.527 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.001236/0.001236, allocations: 198.3 kB / 16.64 MB, free: 5.477 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.321/1.321, allocations: 205.1 MB / 222.5 MB, free: 12.25 MB / 190.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.735/1.735, allocations: 292.3 MB / 0.549 GB, free: 17.45 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.001472/0.001472, allocations: 67.91 kB / 0.6718 GB, free: 6.312 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.223/0.2245, allocations: 114.6 MB / 0.7836 GB, free: 3.641 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.5683/0.7928, allocations: 179.4 MB / 0.9588 GB, free: 6.887 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.008881/0.8017, allocations: 7.826 MB / 0.9665 GB, free: 15.04 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005589/0.8023, allocations: 19.88 kB / 0.9665 GB, free: 15.02 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0006908/0.803, allocations: 238.2 kB / 0.9667 GB, free: 14.79 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.002898/0.806, allocations: 1.225 MB / 0.9679 GB, free: 13.56 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.001783/0.8078, allocations: 0.7259 MB / 0.9686 GB, free: 12.83 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.001319/0.8091, allocations: 1.091 MB / 0.9697 GB, free: 11.74 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005636/0.8097, allocations: 400.6 kB / 0.9701 GB, free: 11.35 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00238/0.8121, allocations: 0.8216 MB / 0.9709 GB, free: 10.54 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005893/0.8127, allocations: 438.4 kB / 0.9713 GB, free: 10.11 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 5.624e-05/0.8127, allocations: 36 kB / 0.9713 GB, free: 10.08 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001642/0.8144, allocations: 0.9549 MB / 0.9723 GB, free: 9.121 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0001685/0.8146, allocations: 155.6 kB / 0.9724 GB, free: 8.969 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0002453/0.8148, allocations: 250.7 kB / 0.9727 GB, free: 8.723 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.001234/0.816, allocations: 0.9388 MB / 0.9736 GB, free: 7.781 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.8161, allocations: 0 / 0.9736 GB, free: 7.781 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.623e-06/0.8161, allocations: 7.938 kB / 0.9736 GB, free: 7.773 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 7.845e-06/0.8161, allocations: 0 / 0.9736 GB, free: 7.773 MB / 0.7637 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.001112/0.8172, allocations: 0.8022 MB / 0.9744 GB, free: 6.922 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.8173, allocations: 8.031 kB / 0.9744 GB, free: 6.914 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.901e-05/0.8173, allocations: 76.41 kB / 0.9744 GB, free: 6.832 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008825/0.8182, allocations: 155.8 kB / 0.9746 GB, free: 6.68 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005541/0.8188, allocations: 411.2 kB / 0.975 GB, free: 6.234 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.653e-05/0.8188, allocations: 29 kB / 0.975 GB, free: 6.207 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.72e-05/0.8189, allocations: 36 kB / 0.975 GB, free: 6.172 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006723/0.8196, allocations: 450.4 kB / 0.9755 GB, free: 5.707 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.8196, allocations: 7.984 kB / 0.9755 GB, free: 5.699 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.196e-05/0.8196, allocations: 15.94 kB / 0.9755 GB, free: 5.684 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.127e-05/0.8196, allocations: 8 kB / 0.9755 GB, free: 5.676 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005867/0.8202, allocations: 323.8 kB / 0.9758 GB, free: 5.355 MB / 0.7637 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.001971/0.8222, allocations: 2.005 MB / 0.9778 GB, free: 3.18 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003719/0.8226, allocations: 238.4 kB / 0.978 GB, free: 2.938 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002348/0.8228, allocations: 148.8 kB / 0.9781 GB, free: 2.789 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005307/0.8234, allocations: 311.2 kB / 0.9784 GB, free: 2.43 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.119e-05/0.8234, allocations: 34.56 kB / 0.9785 GB, free: 2.387 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=24): time 1.332e-06/0.8234, allocations: 0 / 0.9785 GB, free: 2.387 MB / 0.7637 GB Notification: Performance of matching and sorting (n=24): time 0.0009539/0.8244, allocations: 462.1 kB / 0.9789 GB, free: 1.934 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.063e-05/0.8244, allocations: 55.41 kB / 0.979 GB, free: 1.867 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003602/0.8248, allocations: 396.1 kB / 0.9793 GB, free: 1.473 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 2.824e-05/0.8248, allocations: 29.7 kB / 0.9794 GB, free: 1.438 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001458/0.825, allocations: 236.2 kB / 0.9796 GB, free: 1.203 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 6.482e-05/0.8251, allocations: 78.83 kB / 0.9797 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.992e-05/0.8252, allocations: 61.69 kB / 0.9797 GB, free: 1.059 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001231/0.8253, allocations: 350.7 kB / 0.9801 GB, free: 0.707 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000207/0.8255, allocations: 107.9 kB / 0.9802 GB, free: 0.6016 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002584/0.8258, allocations: 183.8 kB / 0.9803 GB, free: 408 kB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000445/0.8262, allocations: 314.7 kB / 0.9806 GB, free: 72 kB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.8262, allocations: 2.188 kB / 0.9806 GB, free: 72 kB / 0.7637 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005841/0.8268, allocations: 360.8 kB / 0.981 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.8269, allocations: 4 kB / 0.981 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.8269, allocations: 12.16 kB / 0.981 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.8269, allocations: 4 kB / 0.981 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000254/0.8271, allocations: 59.91 kB / 0.9811 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.8272, allocations: 4 kB / 0.9811 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002264/0.8274, allocations: 43.52 kB / 0.9811 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.179e-05/0.8274, allocations: 8 kB / 0.9811 GB, free: 15.57 MB / 0.7794 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.0001578/0.8276, allocations: 170.8 kB / 0.9813 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.291e-05/0.8277, allocations: 43.53 kB / 0.9813 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006629/0.8283, allocations: 372.5 kB / 0.9817 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.8284, allocations: 0 / 0.9817 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.8284, allocations: 0 / 0.9817 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.8284, allocations: 7.656 kB / 0.9817 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001274/0.8297, allocations: 0.942 MB / 0.9826 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.8297, allocations: 0 / 0.9826 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002275/0.8299, allocations: 50.91 kB / 0.9826 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.722e-06/0.8299, allocations: 7.938 kB / 0.9827 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.12e-05/0.8299, allocations: 12.22 kB / 0.9827 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.83, allocations: 4 kB / 0.9827 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.83, allocations: 0 / 0.9827 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008478/0.8308, allocations: 0.6295 MB / 0.9833 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001355/0.831, allocations: 144.5 kB / 0.9834 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.339e-05/0.831, allocations: 11.98 kB / 0.9834 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002048/0.8312, allocations: 12 kB / 0.9834 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.115e-05/0.8313, allocations: 24.03 kB / 0.9835 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.745e-05/0.8313, allocations: 8 kB / 0.9835 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002539/0.8316, allocations: 283.1 kB / 0.9837 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8316, allocations: 0 / 0.9837 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004437/0.832, allocations: 107.8 kB / 0.9839 GB, free: 12.64 MB / 0.7794 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.001379/0.8334, allocations: 1.252 MB / 0.9851 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005383/0.834, allocations: 287.6 kB / 0.9853 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/0.834, allocations: 4.438 kB / 0.9854 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002438/0.8342, allocations: 153.6 kB / 0.9855 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009902/0.8352, allocations: 213 kB / 0.9857 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004368/0.8396, allocations: 3.79 MB / 0.9894 GB, free: 6.773 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003904/0.84, allocations: 0.8272 MB / 0.9902 GB, free: 5.922 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0003029/0.8403, allocations: 98.69 kB / 0.9903 GB, free: 5.824 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001879/0.8405, allocations: 144 kB / 0.9904 GB, free: 5.684 MB / 0.7794 GB Notification: Performance of SimCode: time 3.51e-07/0.8405, allocations: 0 / 0.9904 GB, free: 5.684 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03137/0.8719, allocations: 11.59 MB / 1.002 GB, free: 10.47 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.206/9.077, allocations: 8.312 kB / 1.002 GB, free: 10.46 MB / 0.795 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)