Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.781/2.781, allocations: 287.3 MB / 302.3 MB, free: 8.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001545/0.001545, allocations: 190.7 kB / 370.8 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.247/2.247, allocations: 205.4 MB / 0.6295 GB, free: 10.55 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00118/0.00118, allocations: 84.11 kB / 0.7428 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007414/0.0007417, allocations: 16.33 kB / 0.8657 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2308/0.2316, allocations: 115.3 MB / 0.9783 GB, free: 28.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.9528/1.185, allocations: 149.6 MB / 1.124 GB, free: 340 kB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.01307/1.198, allocations: 6.534 MB / 1.131 GB, free: 15.85 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00104/1.199, allocations: 13.62 kB / 1.131 GB, free: 15.84 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001433/1.2, allocations: 252.7 kB / 1.131 GB, free: 15.79 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.004125/1.204, allocations: 0.8208 MB / 1.132 GB, free: 15.75 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002856/1.207, allocations: 0.5753 MB / 1.132 GB, free: 15.73 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001771/1.209, allocations: 0.6259 MB / 1.133 GB, free: 15.7 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000829/1.21, allocations: 337.9 kB / 1.133 GB, free: 15.66 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002733/1.213, allocations: 0.6896 MB / 1.134 GB, free: 15.58 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009754/1.214, allocations: 323.9 kB / 1.134 GB, free: 15.53 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 8.62e-05/1.214, allocations: 20.28 kB / 1.134 GB, free: 15.53 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001754/1.216, allocations: 447.3 kB / 1.135 GB, free: 15.51 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002058/1.216, allocations: 132.5 kB / 1.135 GB, free: 15.49 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001784/1.216, allocations: 111.4 kB / 1.135 GB, free: 15.45 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001186/1.217, allocations: 0.5222 MB / 1.135 GB, free: 15.4 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/1.217, allocations: 0 / 1.135 GB, free: 15.4 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.984e-06/1.217, allocations: 0 / 1.135 GB, free: 15.4 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.576e-06/1.217, allocations: 0 / 1.135 GB, free: 15.4 MB / 0.698 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.00153/1.219, allocations: 0.7069 MB / 1.136 GB, free: 14.87 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.2e-05/1.219, allocations: 10.28 kB / 1.136 GB, free: 14.87 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001116/1.219, allocations: 78.53 kB / 1.136 GB, free: 14.83 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001355/1.22, allocations: 161.6 kB / 1.136 GB, free: 14.79 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008019/1.221, allocations: 367.5 kB / 1.137 GB, free: 14.55 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.84e-05/1.221, allocations: 29.97 kB / 1.137 GB, free: 14.55 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.562e-05/1.221, allocations: 36.22 kB / 1.137 GB, free: 14.55 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001097/1.222, allocations: 450.3 kB / 1.137 GB, free: 14.44 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.9e-05/1.222, allocations: 0 / 1.137 GB, free: 14.44 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.06e-05/1.223, allocations: 18.38 kB / 1.137 GB, free: 14.44 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.478e-05/1.223, allocations: 7.719 kB / 1.137 GB, free: 14.44 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000976/1.224, allocations: 335.7 kB / 1.138 GB, free: 14.42 MB / 0.698 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.003387/1.227, allocations: 2.015 MB / 1.14 GB, free: 13.04 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006404/1.228, allocations: 238.6 kB / 1.14 GB, free: 13.02 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006681/1.228, allocations: 141.5 kB / 1.14 GB, free: 12.92 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.321e-05/1.228, allocations: 33.61 kB / 1.14 GB, free: 12.88 MB / 0.698 GB Notification: Performance of pre-optimization done (n=24): time 2.946e-06/1.228, allocations: 0.75 kB / 1.14 GB, free: 12.88 MB / 0.698 GB Notification: Performance of matching and sorting (n=24): time 0.001692/1.23, allocations: 473.9 kB / 1.14 GB, free: 12.81 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.034e-05/1.23, allocations: 58.7 kB / 1.14 GB, free: 12.75 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006626/1.231, allocations: 394 kB / 1.141 GB, free: 12.63 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.587e-05/1.231, allocations: 33.7 kB / 1.141 GB, free: 12.59 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002214/1.231, allocations: 233.5 kB / 1.141 GB, free: 12.47 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001133/1.231, allocations: 82.86 kB / 1.141 GB, free: 12.42 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.316e-05/1.231, allocations: 4.031 kB / 1.141 GB, free: 12.42 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001829/1.231, allocations: 349.8 kB / 1.141 GB, free: 12.11 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003909/1.232, allocations: 114.9 kB / 1.142 GB, free: 12.11 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004742/1.232, allocations: 189.9 kB / 1.142 GB, free: 12.02 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004446/1.233, allocations: 141.9 kB / 1.142 GB, free: 11.99 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/1.233, allocations: 1.062 kB / 1.142 GB, free: 11.99 MB / 0.698 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001105/1.234, allocations: 374.4 kB / 1.142 GB, free: 11.88 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/1.234, allocations: 5.594 kB / 1.142 GB, free: 11.88 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.769e-06/1.234, allocations: 2.75 kB / 1.142 GB, free: 11.88 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.059e-05/1.234, allocations: 5.297 kB / 1.142 GB, free: 11.88 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005295/1.235, allocations: 59.12 kB / 1.142 GB, free: 11.87 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.403e-05/1.235, allocations: 6.766 kB / 1.142 GB, free: 11.87 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005132/1.235, allocations: 59.12 kB / 1.142 GB, free: 11.84 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.396e-05/1.235, allocations: 12.66 kB / 1.142 GB, free: 11.84 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003047/1.235, allocations: 169.5 kB / 1.143 GB, free: 11.71 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.785e-05/1.236, allocations: 48.62 kB / 1.143 GB, free: 11.68 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001154/1.237, allocations: 371.2 kB / 1.143 GB, free: 11.58 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.185e-06/1.237, allocations: 2.969 kB / 1.143 GB, free: 11.58 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/1.237, allocations: 0 / 1.143 GB, free: 11.58 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.478e-06/1.237, allocations: 4.891 kB / 1.143 GB, free: 11.58 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002371/1.239, allocations: 0.9477 MB / 1.144 GB, free: 11.04 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.324e-06/1.239, allocations: 2.469 kB / 1.144 GB, free: 11.04 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000473/1.24, allocations: 50.95 kB / 1.144 GB, free: 11.03 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.428e-05/1.24, allocations: 2.781 kB / 1.144 GB, free: 11.03 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.192e-05/1.24, allocations: 12.62 kB / 1.144 GB, free: 11.03 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.855e-06/1.24, allocations: 3.062 kB / 1.144 GB, free: 11.03 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/1.24, allocations: 7 kB / 1.144 GB, free: 11.02 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001725/1.242, allocations: 0.7444 MB / 1.145 GB, free: 10.6 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002994/1.242, allocations: 144.6 kB / 1.145 GB, free: 10.47 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.747e-05/1.242, allocations: 10.02 kB / 1.145 GB, free: 10.47 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004462/1.242, allocations: 27.77 kB / 1.145 GB, free: 10.46 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.682e-05/1.243, allocations: 19.81 kB / 1.145 GB, free: 10.45 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.213e-05/1.243, allocations: 6.969 kB / 1.145 GB, free: 10.45 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004903/1.243, allocations: 282.1 kB / 1.145 GB, free: 10.33 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.9e-07/1.243, allocations: 1.562 kB / 1.145 GB, free: 10.33 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007369/1.244, allocations: 105.1 kB / 1.145 GB, free: 10.32 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002715/1.247, allocations: 1.818 MB / 1.147 GB, free: 8.887 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001018/1.248, allocations: 290.8 kB / 1.147 GB, free: 8.828 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.541e-06/1.248, allocations: 1.062 kB / 1.147 GB, free: 8.828 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004823/1.248, allocations: 159.1 kB / 1.147 GB, free: 8.797 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001771/1.25, allocations: 214.8 kB / 1.148 GB, free: 8.719 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006418/1.256, allocations: 3.497 MB / 1.151 GB, free: 6.441 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000629/1.257, allocations: 0.8375 MB / 1.152 GB, free: 5.68 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0006759/1.258, allocations: 98.8 kB / 1.152 GB, free: 5.637 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003005/1.258, allocations: 139.1 kB / 1.152 GB, free: 5.613 MB / 0.698 GB Notification: Performance of SimCode: time 1.283e-06/1.258, allocations: 1.125 kB / 1.152 GB, free: 5.613 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04559/1.304, allocations: 10.91 MB / 1.163 GB, free: 420 kB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003828/1.304, allocations: 236.5 kB / 1.163 GB, free: 164 kB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.057/4.361, allocations: 7.875 kB / 1.163 GB, free: 156 kB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.fmu > Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1)