Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_1.6_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001136/0.001136, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00118/0.00118, allocations: 193.4 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.802/2.802, allocations: 472.6 MB / 0.7451 GB, free: 4.598 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 61.55 kB / 0.912 GB, free: 33.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3191/0.3204, allocations: 159.9 MB / 1.068 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.2094/0.5299, allocations: 179.4 MB / 1.243 GB, free: 6.312 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.6605/1.19, allocations: 7.815 MB / 1.251 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007296/1.191, allocations: 19.72 kB / 1.251 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008952/1.192, allocations: 245.3 kB / 1.251 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003989/1.196, allocations: 1.227 MB / 1.252 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00237/1.199, allocations: 0.7226 MB / 1.253 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001701/1.2, allocations: 1.08 MB / 1.254 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005937/1.201, allocations: 406.3 kB / 1.255 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00233/1.203, allocations: 0.8225 MB / 1.255 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007657/1.204, allocations: 431.7 kB / 1.256 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001002/1.204, allocations: 37.62 kB / 1.256 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001887/1.206, allocations: 0.9465 MB / 1.257 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001656/1.206, allocations: 157.1 kB / 1.257 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002845/1.206, allocations: 250.3 kB / 1.257 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00138/1.208, allocations: 0.9263 MB / 1.258 GB, free: 5.594 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/1.208, allocations: 3.281 kB / 1.258 GB, free: 5.594 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.322e-06/1.208, allocations: 0.9688 kB / 1.258 GB, free: 5.594 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.404e-06/1.208, allocations: 0 / 1.258 GB, free: 5.594 MB / 0.9981 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.001315/1.209, allocations: 0.8035 MB / 1.259 GB, free: 21.05 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/1.209, allocations: 8.812 kB / 1.259 GB, free: 21.05 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000932/1.21, allocations: 145.6 kB / 1.259 GB, free: 21.03 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00049/1.211, allocations: 388.8 kB / 1.259 GB, free: 20.79 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.359e-05/1.211, allocations: 31.27 kB / 1.259 GB, free: 20.79 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.496e-05/1.211, allocations: 39.34 kB / 1.259 GB, free: 20.79 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006954/1.212, allocations: 449.2 kB / 1.26 GB, free: 20.7 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/1.212, allocations: 0 / 1.26 GB, free: 20.7 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.59e-05/1.212, allocations: 19.28 kB / 1.26 GB, free: 20.7 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.936e-06/1.212, allocations: 11.97 kB / 1.26 GB, free: 20.7 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005679/1.212, allocations: 316.8 kB / 1.26 GB, free: 20.7 MB / 1.014 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.00199/1.214, allocations: 2.028 MB / 1.262 GB, free: 19.36 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003753/1.215, allocations: 237.9 kB / 1.262 GB, free: 19.34 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002391/1.215, allocations: 152.7 kB / 1.263 GB, free: 19.33 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005758/1.215, allocations: 306.7 kB / 1.263 GB, free: 19.05 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.865e-05/1.215, allocations: 30.56 kB / 1.263 GB, free: 19.01 MB / 1.014 GB Notification: Performance of pre-optimization done (n=24): time 1.613e-06/1.215, allocations: 1.031 kB / 1.263 GB, free: 19.01 MB / 1.014 GB Notification: Performance of matching and sorting (n=24): time 0.0009518/1.216, allocations: 465.4 kB / 1.263 GB, free: 18.95 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.156e-05/1.216, allocations: 55.2 kB / 1.263 GB, free: 18.89 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003513/1.217, allocations: 398.6 kB / 1.264 GB, free: 18.77 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.836e-05/1.217, allocations: 33.33 kB / 1.264 GB, free: 18.74 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001243/1.217, allocations: 231.4 kB / 1.264 GB, free: 18.62 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 5.044e-05/1.217, allocations: 81.23 kB / 1.264 GB, free: 18.57 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.351e-05/1.217, allocations: 65.25 kB / 1.264 GB, free: 18.55 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001149/1.217, allocations: 348.3 kB / 1.264 GB, free: 18.23 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002072/1.217, allocations: 112.2 kB / 1.265 GB, free: 18.23 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002423/1.218, allocations: 186.2 kB / 1.265 GB, free: 18.17 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004295/1.218, allocations: 307.6 kB / 1.265 GB, free: 18.1 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/1.218, allocations: 0.9688 kB / 1.265 GB, free: 18.1 MB / 1.014 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005632/1.219, allocations: 369.2 kB / 1.265 GB, free: 18.05 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/1.219, allocations: 6.406 kB / 1.265 GB, free: 18.05 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/1.219, allocations: 2.281 kB / 1.265 GB, free: 18.05 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/1.219, allocations: 3.562 kB / 1.265 GB, free: 18.05 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002604/1.219, allocations: 60.88 kB / 1.265 GB, free: 18.05 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/1.219, allocations: 6.344 kB / 1.265 GB, free: 18.05 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002391/1.219, allocations: 44.44 kB / 1.266 GB, free: 18.02 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.033e-05/1.219, allocations: 12.3 kB / 1.266 GB, free: 18.02 MB / 1.014 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.000158/1.219, allocations: 166.8 kB / 1.266 GB, free: 17.91 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.017e-05/1.22, allocations: 43.97 kB / 1.266 GB, free: 17.89 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006508/1.22, allocations: 365.3 kB / 1.266 GB, free: 17.85 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.812e-06/1.22, allocations: 4.844 kB / 1.266 GB, free: 17.85 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/1.22, allocations: 3.188 kB / 1.266 GB, free: 17.85 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/1.22, allocations: 5.297 kB / 1.266 GB, free: 17.84 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001491/1.222, allocations: 0.9387 MB / 1.267 GB, free: 17.48 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/1.222, allocations: 4.078 kB / 1.267 GB, free: 17.48 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002577/1.222, allocations: 50.22 kB / 1.267 GB, free: 17.48 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.358e-06/1.222, allocations: 4.953 kB / 1.267 GB, free: 17.48 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.395e-05/1.222, allocations: 9.703 kB / 1.267 GB, free: 17.48 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/1.222, allocations: 2.094 kB / 1.267 GB, free: 17.48 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/1.222, allocations: 2.969 kB / 1.267 GB, free: 17.48 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000884/1.223, allocations: 0.6264 MB / 1.268 GB, free: 17.27 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001379/1.223, allocations: 145.1 kB / 1.268 GB, free: 17.15 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.638e-05/1.223, allocations: 7.5 kB / 1.268 GB, free: 17.15 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002153/1.223, allocations: 11.81 kB / 1.268 GB, free: 17.15 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.364e-05/1.223, allocations: 28.8 kB / 1.268 GB, free: 17.14 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.754e-05/1.224, allocations: 8.812 kB / 1.268 GB, free: 17.14 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002696/1.224, allocations: 281.1 kB / 1.268 GB, free: 17.07 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.183e-06/1.224, allocations: 4 kB / 1.268 GB, free: 17.07 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.000463/1.224, allocations: 113.9 kB / 1.268 GB, free: 17.05 MB / 1.014 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.0003504/1.225, allocations: 177.8 kB / 1.268 GB, free: 16.95 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0005851/1.225, allocations: 300.4 kB / 1.269 GB, free: 16.95 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/1.225, allocations: 0.9062 kB / 1.269 GB, free: 16.95 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002632/1.225, allocations: 148 kB / 1.269 GB, free: 16.95 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001071/1.227, allocations: 221.6 kB / 1.269 GB, free: 16.92 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001159/1.228, allocations: 0.8183 MB / 1.27 GB, free: 16.54 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003871/1.228, allocations: 0.8268 MB / 1.271 GB, free: 15.84 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0003171/1.228, allocations: 97.06 kB / 1.271 GB, free: 15.84 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.785e-05/1.229, allocations: 43.03 kB / 1.271 GB, free: 15.83 MB / 1.014 GB Notification: Performance of SimCode: time 2.6e-07/1.229, allocations: 0 / 1.271 GB, free: 15.83 MB / 1.014 GB Notification: Performance of Templates: time 0.01567/1.244, allocations: 7.611 MB / 1.278 GB, free: 15.54 MB / 1.014 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.makefile (rm -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & ./Buildings_1.6_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1)