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.0008012/0.0008015, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005122/0.005123, allocations: 169.9 kB / 16.26 MB, free: 6.676 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.435/1.435, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.723/1.723, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.000577/0.000577, allocations: 17.22 kB / 0.6744 GB, free: 25.7 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.244/0.2446, allocations: 116.3 MB / 0.788 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.663/0.9077, allocations: 174.9 MB / 0.9587 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.008354/0.9161, allocations: 7.75 MB / 0.9663 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008635/0.917, allocations: 19 kB / 0.9663 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0008457/0.9178, allocations: 190.4 kB / 0.9665 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.003813/0.9217, allocations: 1.141 MB / 0.9676 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.00201/0.9237, allocations: 0.6674 MB / 0.9683 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002182/0.9259, allocations: 1.547 MB / 0.9698 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006352/0.9265, allocations: 336.4 kB / 0.9701 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00296/0.9295, allocations: 0.7556 MB / 0.9708 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008062/0.9303, allocations: 441.7 kB / 0.9713 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.437e-05/0.9304, allocations: 22.09 kB / 0.9713 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002143/0.9325, allocations: 1.087 MB / 0.9724 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001782/0.9327, allocations: 144.1 kB / 0.9725 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002886/0.933, allocations: 259 kB / 0.9727 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.00159/0.9346, allocations: 0.965 MB / 0.9737 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.184e-06/0.9346, allocations: 4.688 kB / 0.9737 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.544e-06/0.9346, allocations: 3.938 kB / 0.9737 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.306e-06/0.9347, allocations: 1.859 kB / 0.9737 GB, free: 14.13 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.001124/0.9358, allocations: 0.7111 MB / 0.9744 GB, free: 13.58 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.9359, allocations: 9.625 kB / 0.9744 GB, free: 13.58 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.719e-05/0.936, allocations: 84.27 kB / 0.9745 GB, free: 13.53 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000962/0.9369, allocations: 153.2 kB / 0.9746 GB, free: 13.47 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005673/0.9375, allocations: 388.1 kB / 0.975 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.544e-05/0.9375, allocations: 30.94 kB / 0.975 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.054e-05/0.9376, allocations: 35.69 kB / 0.9751 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007798/0.9384, allocations: 453.6 kB / 0.9755 GB, free: 12.97 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.9384, allocations: 0.875 kB / 0.9755 GB, free: 12.97 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.871e-05/0.9385, allocations: 22.19 kB / 0.9755 GB, free: 12.97 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.511e-05/0.9385, allocations: 8.906 kB / 0.9755 GB, free: 12.97 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006474/0.9392, allocations: 329.8 kB / 0.9758 GB, free: 12.91 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.002188/0.9414, allocations: 2.017 MB / 0.9778 GB, free: 11.31 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000401/0.9418, allocations: 247.4 kB / 0.978 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002702/0.942, allocations: 156.4 kB / 0.9782 GB, free: 11.22 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006295/0.9427, allocations: 320.4 kB / 0.9785 GB, free: 10.91 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.158e-05/0.9427, allocations: 43.75 kB / 0.9785 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=24): time 2.044e-06/0.9427, allocations: 0 / 0.9785 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of matching and sorting (n=24): time 0.001135/0.9439, allocations: 471.3 kB / 0.979 GB, free: 10.74 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.217e-05/0.9439, allocations: 53.66 kB / 0.979 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004382/0.9444, allocations: 399 kB / 0.9794 GB, free: 10.51 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.723e-05/0.9444, allocations: 30.58 kB / 0.9794 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001565/0.9446, allocations: 233.3 kB / 0.9797 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.915e-05/0.9447, allocations: 84.31 kB / 0.9797 GB, free: 10.28 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.884e-05/0.9447, allocations: 29.36 kB / 0.9798 GB, free: 10.26 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.9449, allocations: 354.8 kB / 0.9801 GB, free: 9.93 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002075/0.9451, allocations: 114.9 kB / 0.9802 GB, free: 9.91 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002682/0.9454, allocations: 183.7 kB / 0.9804 GB, free: 9.82 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004748/0.9458, allocations: 318.1 kB / 0.9807 GB, free: 9.711 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.9459, allocations: 0 / 0.9807 GB, free: 9.711 MB / 0.7325 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005931/0.9465, allocations: 378.5 kB / 0.9811 GB, free: 9.602 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.9465, allocations: 3 kB / 0.9811 GB, free: 9.602 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.9465, allocations: 5.156 kB / 0.9811 GB, free: 9.602 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.9465, allocations: 2.531 kB / 0.9811 GB, free: 9.602 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002621/0.9468, allocations: 66.66 kB / 0.9811 GB, free: 9.586 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.697e-06/0.9468, allocations: 8.016 kB / 0.9811 GB, free: 9.582 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003289/0.9471, allocations: 55.62 kB / 0.9812 GB, free: 9.555 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.125e-05/0.9472, allocations: 12.69 kB / 0.9812 GB, free: 9.555 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.0001737/0.9474, allocations: 176.7 kB / 0.9814 GB, free: 9.418 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.656e-05/0.9474, allocations: 41.62 kB / 0.9814 GB, free: 9.395 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006741/0.9481, allocations: 377 kB / 0.9818 GB, free: 9.289 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.9481, allocations: 3.375 kB / 0.9818 GB, free: 9.289 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.9481, allocations: 4 kB / 0.9818 GB, free: 9.285 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.9481, allocations: 0 / 0.9818 GB, free: 9.285 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001346/0.9495, allocations: 0.9497 MB / 0.9827 GB, free: 8.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.9495, allocations: 2.188 kB / 0.9827 GB, free: 8.75 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002437/0.9498, allocations: 53.25 kB / 0.9828 GB, free: 8.738 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.188e-06/0.9498, allocations: 6.812 kB / 0.9828 GB, free: 8.734 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.233e-05/0.9498, allocations: 13.48 kB / 0.9828 GB, free: 8.73 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.9498, allocations: 4 kB / 0.9828 GB, free: 8.73 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.9498, allocations: 1.969 kB / 0.9828 GB, free: 8.73 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008681/0.9507, allocations: 0.6477 MB / 0.9834 GB, free: 8.441 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001438/0.9509, allocations: 145.7 kB / 0.9836 GB, free: 8.312 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.193e-05/0.9509, allocations: 9.312 kB / 0.9836 GB, free: 8.312 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002487/0.9512, allocations: 28.66 kB / 0.9836 GB, free: 8.301 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.604e-05/0.9512, allocations: 21.64 kB / 0.9836 GB, free: 8.293 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.622e-05/0.9513, allocations: 10.64 kB / 0.9836 GB, free: 8.289 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002666/0.9515, allocations: 281.6 kB / 0.9839 GB, free: 8.168 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9515, allocations: 0 / 0.9839 GB, free: 8.168 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005624/0.9521, allocations: 111.9 kB / 0.984 GB, free: 8.156 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.001545/0.9537, allocations: 1.257 MB / 0.9852 GB, free: 7.301 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005967/0.9543, allocations: 299.8 kB / 0.9855 GB, free: 7.242 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.9543, allocations: 1.859 kB / 0.9855 GB, free: 7.242 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002984/0.9546, allocations: 160.2 kB / 0.9857 GB, free: 7.207 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001266/0.9559, allocations: 217.2 kB / 0.9859 GB, free: 7.137 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004814/0.9607, allocations: 4.023 MB / 0.9898 GB, free: 4.602 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004285/0.9612, allocations: 0.8327 MB / 0.9906 GB, free: 3.836 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0004211/0.9616, allocations: 92.7 kB / 0.9907 GB, free: 3.801 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001993/0.9618, allocations: 136.5 kB / 0.9908 GB, free: 3.691 MB / 0.7325 GB Notification: Performance of SimCode: time 9.72e-07/0.9618, allocations: 0 / 0.9908 GB, free: 3.691 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02406/0.9859, allocations: 10.93 MB / 1.002 GB, free: 14.49 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002189/0.9861, allocations: 250.2 kB / 1.002 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.969/2.955, allocations: 0 / 1.002 GB, free: 14.23 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)