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: translateModel(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008486/0.0008485, allocations: 100 kB / 15.05 MB, free: 1.105 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.0009227/0.0009227, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.338/1.338, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.657/1.657, allocations: 292.5 MB / 0.5497 GB, free: 14.63 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.0005467/0.0005468, allocations: 21.25 kB / 0.6735 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2264/0.227, allocations: 116.3 MB / 0.7871 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.6452/0.8722, allocations: 149.6 MB / 0.9332 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.007089/0.8794, allocations: 6.523 MB / 0.9395 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005479/0.8799, allocations: 17.66 kB / 0.9396 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0008933/0.8808, allocations: 251.5 kB / 0.9398 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002824/0.8837, allocations: 0.8177 MB / 0.9406 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002305/0.886, allocations: 0.5798 MB / 0.9412 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001292/0.8873, allocations: 0.6261 MB / 0.9418 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006652/0.888, allocations: 333.6 kB / 0.9421 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002014/0.89, allocations: 0.6949 MB / 0.9428 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005636/0.8906, allocations: 315.8 kB / 0.9431 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.173e-05/0.8906, allocations: 21.66 kB / 0.9431 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001416/0.892, allocations: 443 kB / 0.9435 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002048/0.8923, allocations: 137 kB / 0.9436 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001478/0.8924, allocations: 115 kB / 0.9438 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0009107/0.8933, allocations: 0.5224 MB / 0.9443 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.8933, allocations: 0 / 0.9443 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.463e-06/0.8934, allocations: 0.6562 kB / 0.9443 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.815e-06/0.8934, allocations: 0 / 0.9443 GB, free: 5.199 MB / 0.7169 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.001356/0.8947, allocations: 0.7128 MB / 0.945 GB, free: 20.67 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.8948, allocations: 9.281 kB / 0.945 GB, free: 20.67 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001034/0.8958, allocations: 154.7 kB / 0.9451 GB, free: 20.64 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000573/0.8964, allocations: 372.8 kB / 0.9455 GB, free: 20.4 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.261e-05/0.8964, allocations: 29.25 kB / 0.9455 GB, free: 20.4 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.542e-05/0.8965, allocations: 43.02 kB / 0.9455 GB, free: 20.4 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007887/0.8973, allocations: 446.3 kB / 0.946 GB, free: 20.29 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.8973, allocations: 2.906 kB / 0.946 GB, free: 20.29 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.344e-05/0.8974, allocations: 15.34 kB / 0.946 GB, free: 20.29 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/0.8974, allocations: 9.312 kB / 0.946 GB, free: 20.29 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005904/0.898, allocations: 330.2 kB / 0.9463 GB, free: 20.29 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.002082/0.9001, allocations: 2.016 MB / 0.9483 GB, free: 18.93 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004223/0.9005, allocations: 243.1 kB / 0.9485 GB, free: 18.9 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004299/0.901, allocations: 139.6 kB / 0.9486 GB, free: 18.8 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.805e-05/0.901, allocations: 37.75 kB / 0.9487 GB, free: 18.77 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=24): time 1.493e-06/0.901, allocations: 1.219 kB / 0.9487 GB, free: 18.77 MB / 0.7325 GB Notification: Performance of matching and sorting (n=24): time 0.0009954/0.902, allocations: 471.7 kB / 0.9491 GB, free: 18.7 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.801e-05/0.9021, allocations: 54.88 kB / 0.9492 GB, free: 18.64 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003985/0.9025, allocations: 397.4 kB / 0.9496 GB, free: 18.52 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.025e-05/0.9025, allocations: 32.98 kB / 0.9496 GB, free: 18.49 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001525/0.9027, allocations: 237.7 kB / 0.9498 GB, free: 18.36 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.66e-05/0.9027, allocations: 84.61 kB / 0.9499 GB, free: 18.31 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.384e-05/0.9027, allocations: 4.25 kB / 0.9499 GB, free: 18.31 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001645/0.9029, allocations: 347.8 kB / 0.9502 GB, free: 18 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002391/0.9032, allocations: 117.9 kB / 0.9503 GB, free: 18 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002904/0.9035, allocations: 182.8 kB / 0.9505 GB, free: 17.93 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002434/0.9037, allocations: 138.1 kB / 0.9507 GB, free: 17.93 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.9037, allocations: 1.375 kB / 0.9507 GB, free: 17.93 MB / 0.7325 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005898/0.9043, allocations: 374.3 kB / 0.951 GB, free: 17.87 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.9043, allocations: 7.547 kB / 0.951 GB, free: 17.87 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.9044, allocations: 2.25 kB / 0.951 GB, free: 17.87 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.9044, allocations: 4.312 kB / 0.951 GB, free: 17.87 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002683/0.9047, allocations: 57.97 kB / 0.9511 GB, free: 17.87 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.739e-06/0.9047, allocations: 7.219 kB / 0.9511 GB, free: 17.87 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00033/0.905, allocations: 56.78 kB / 0.9511 GB, free: 17.84 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.564e-05/0.9051, allocations: 17.33 kB / 0.9512 GB, free: 17.84 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001694/0.9052, allocations: 168.4 kB / 0.9513 GB, free: 17.72 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.022e-05/0.9053, allocations: 38.88 kB / 0.9514 GB, free: 17.7 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006777/0.906, allocations: 382.3 kB / 0.9517 GB, free: 17.65 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.72e-06/0.906, allocations: 2.281 kB / 0.9517 GB, free: 17.65 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.906, allocations: 1.062 kB / 0.9517 GB, free: 17.65 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.708e-06/0.906, allocations: 3.094 kB / 0.9517 GB, free: 17.65 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001354/0.9074, allocations: 0.9502 MB / 0.9527 GB, free: 17.28 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.9074, allocations: 1.25 kB / 0.9527 GB, free: 17.28 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002414/0.9076, allocations: 53.06 kB / 0.9527 GB, free: 17.28 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.642e-06/0.9076, allocations: 3.094 kB / 0.9527 GB, free: 17.28 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.437e-05/0.9077, allocations: 13.5 kB / 0.9527 GB, free: 17.27 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.9077, allocations: 3.562 kB / 0.9527 GB, free: 17.27 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.9077, allocations: 2.531 kB / 0.9527 GB, free: 17.27 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008918/0.9086, allocations: 0.7291 MB / 0.9534 GB, free: 16.93 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001765/0.9088, allocations: 144.7 kB / 0.9536 GB, free: 16.81 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.626e-05/0.9088, allocations: 11.06 kB / 0.9536 GB, free: 16.81 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002425/0.9091, allocations: 27.56 kB / 0.9536 GB, free: 16.81 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.689e-05/0.9092, allocations: 19.33 kB / 0.9536 GB, free: 16.81 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.585e-05/0.9092, allocations: 8.281 kB / 0.9536 GB, free: 16.81 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002546/0.9094, allocations: 279.4 kB / 0.9539 GB, free: 16.72 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9094, allocations: 0 / 0.9539 GB, free: 16.72 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005015/0.91, allocations: 112.4 kB / 0.954 GB, free: 16.71 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 (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.0003895/0.9103, allocations: 177.8 kB / 0.9542 GB, free: 16.61 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005461/0.9109, allocations: 301 kB / 0.9545 GB, free: 16.6 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.9109, allocations: 2.906 kB / 0.9545 GB, free: 16.6 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002402/0.9112, allocations: 147.9 kB / 0.9546 GB, free: 16.6 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000906/0.9121, allocations: 216.7 kB / 0.9548 GB, free: 16.57 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001156/0.9132, allocations: 0.9428 MB / 0.9557 GB, free: 16.05 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003556/0.9136, allocations: 0.8429 MB / 0.9566 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002979/0.9139, allocations: 97.14 kB / 0.9567 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.961e-05/0.914, allocations: 32.41 kB / 0.9567 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of SimCode: time 5.01e-07/0.914, allocations: 0 / 0.9567 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of Templates: time 0.0118/0.9258, allocations: 6.985 MB / 0.9635 GB, free: 14.83 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.makefile Environment - environmentSimulation: (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 & ./Buildings_8_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1) Environment - environmentSimulation: