Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.523/1.523, allocations: 252 MB / 267.3 MB, free: 10.84 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00113/0.00113, allocations: 177.9 kB / 327 MB, free: 2.09 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.981/1.981, allocations: 205.4 MB / 0.578 GB, free: 20.07 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008325/0.0008325, allocations: 90.22 kB / 0.6826 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003797/0.0003797, allocations: 11.22 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2624/0.2628, allocations: 106.3 MB / 0.9009 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.8388/1.102, allocations: 175 MB / 1.072 GB, free: 1.895 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01315/1.115, allocations: 7.82 MB / 1.079 GB, free: 1.727 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009378/1.116, allocations: 15.38 kB / 1.079 GB, free: 1.727 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0008366/1.117, allocations: 190.1 kB / 1.08 GB, free: 1.723 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.004115/1.121, allocations: 1.144 MB / 1.081 GB, free: 1.664 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002392/1.123, allocations: 0.6729 MB / 1.081 GB, free: 1.637 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0028/1.126, allocations: 1.569 MB / 1.083 GB, free: 1.633 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000801/1.127, allocations: 356.7 kB / 1.083 GB, free: 1.59 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003391/1.13, allocations: 0.7764 MB / 1.084 GB, free: 1.574 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009114/1.131, allocations: 461.9 kB / 1.084 GB, free: 1.57 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 7.81e-05/1.131, allocations: 24.84 kB / 1.085 GB, free: 1.57 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002567/1.134, allocations: 1.088 MB / 1.086 GB, free: 1.559 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002079/1.134, allocations: 152 kB / 1.086 GB, free: 1.555 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0004961/1.135, allocations: 261.3 kB / 1.086 GB, free: 17.52 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.001695/1.136, allocations: 0.9998 MB / 1.087 GB, free: 17.46 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/1.136, allocations: 0 / 1.087 GB, free: 17.46 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.004e-06/1.136, allocations: 1 kB / 1.087 GB, free: 17.46 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.195e-06/1.136, allocations: 0 / 1.087 GB, free: 17.46 MB / 0.7136 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.001219/1.138, allocations: 0.7311 MB / 1.088 GB, free: 16.92 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.206e-05/1.138, allocations: 13.09 kB / 1.088 GB, free: 16.92 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.915e-05/1.138, allocations: 77.45 kB / 1.088 GB, free: 16.88 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009463/1.139, allocations: 151.3 kB / 1.088 GB, free: 16.85 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006019/1.139, allocations: 403.1 kB / 1.088 GB, free: 16.61 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.544e-05/1.139, allocations: 27.03 kB / 1.088 GB, free: 16.61 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.571e-05/1.139, allocations: 45.66 kB / 1.088 GB, free: 16.6 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007516/1.14, allocations: 395.7 kB / 1.089 GB, free: 16.55 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/1.14, allocations: 0 / 1.089 GB, free: 16.55 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.605e-05/1.14, allocations: 15.56 kB / 1.089 GB, free: 16.55 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.435e-05/1.14, allocations: 8.219 kB / 1.089 GB, free: 16.55 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006927/1.141, allocations: 360.3 kB / 1.089 GB, free: 16.54 MB / 0.7136 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.002077/1.143, allocations: 1.418 MB / 1.09 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004969/1.144, allocations: 335.8 kB / 1.091 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003263/1.144, allocations: 186.2 kB / 1.091 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006841/1.145, allocations: 325.1 kB / 1.091 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.891e-05/1.145, allocations: 42.78 kB / 1.091 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=33): time 1.523e-06/1.145, allocations: 1.094 kB / 1.091 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of matching and sorting (n=33): time 0.001252/1.146, allocations: 0.556 MB / 1.092 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.46e-05/1.146, allocations: 57.56 kB / 1.092 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00044/1.146, allocations: 380.9 kB / 1.092 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.523e-05/1.146, allocations: 32.02 kB / 1.092 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001472/1.147, allocations: 213.5 kB / 1.093 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001332/1.147, allocations: 115.9 kB / 1.093 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.947e-05/1.147, allocations: 5.125 kB / 1.093 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001637/1.147, allocations: 351.7 kB / 1.093 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000287/1.147, allocations: 145.4 kB / 1.093 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003482/1.148, allocations: 183 kB / 1.093 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000588/1.148, allocations: 337.7 kB / 1.094 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/1.148, allocations: 3.938 kB / 1.094 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007355/1.149, allocations: 431 kB / 1.094 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/1.149, allocations: 4.25 kB / 1.094 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/1.149, allocations: 1.125 kB / 1.094 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/1.149, allocations: 2.188 kB / 1.094 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003298/1.149, allocations: 69.78 kB / 1.094 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/1.149, allocations: 1.094 kB / 1.094 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003056/1.15, allocations: 54.97 kB / 1.094 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.993e-05/1.15, allocations: 16.34 kB / 1.094 GB, free: 14.61 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (37): * Single equations (assignments): 37 * 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.0001992/1.15, allocations: 172.4 kB / 1.094 GB, free: 14.49 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.454e-05/1.15, allocations: 44.75 kB / 1.094 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007896/1.151, allocations: 459.2 kB / 1.095 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.79e-06/1.151, allocations: 2.938 kB / 1.095 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/1.151, allocations: 7.094 kB / 1.095 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/1.151, allocations: 2.953 kB / 1.095 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001534/1.152, allocations: 1.073 MB / 1.096 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/1.152, allocations: 3.375 kB / 1.096 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003098/1.153, allocations: 69.2 kB / 1.096 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/1.153, allocations: 3.438 kB / 1.096 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.924e-05/1.153, allocations: 10.56 kB / 1.096 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.163e-06/1.153, allocations: 9.969 kB / 1.096 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/1.153, allocations: 3.406 kB / 1.096 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009968/1.154, allocations: 0.7675 MB / 1.097 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001743/1.154, allocations: 157.8 kB / 1.097 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.756e-05/1.154, allocations: 10.98 kB / 1.097 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002525/1.154, allocations: 36.31 kB / 1.097 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.437e-05/1.154, allocations: 26.44 kB / 1.097 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.273e-05/1.154, allocations: 13.98 kB / 1.097 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0002713/1.155, allocations: 275 kB / 1.097 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.9e-07/1.155, allocations: 4 kB / 1.097 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004574/1.155, allocations: 115.9 kB / 1.097 GB, free: 13.57 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (senH_flow.h_out,senH.h_out,senHLat_flow.h_out,senHSen_flow.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 (33): * Single equations (assignments): 33 * 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.001683/1.157, allocations: 1.368 MB / 1.099 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0006035/1.157, allocations: 358 kB / 1.099 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/1.157, allocations: 3.938 kB / 1.099 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002992/1.158, allocations: 193.7 kB / 1.099 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00116/1.159, allocations: 217 kB / 1.099 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005454/1.164, allocations: 4.416 MB / 1.104 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004528/1.165, allocations: 0.8372 MB / 1.105 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0003845/1.165, allocations: 102.5 kB / 1.105 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000211/1.165, allocations: 144.7 kB / 1.105 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of SimCode: time 1.352e-06/1.165, allocations: 0 / 1.105 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02553/1.191, allocations: 11.48 MB / 1.116 GB, free: 8.84 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002048/1.191, allocations: 261 kB / 1.116 GB, free: 8.547 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.644/3.836, allocations: 2.953 kB / 1.116 GB, free: 8.547 MB / 0.7136 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1)