Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001012/0.001012, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.008932/0.008932, allocations: 169.9 kB / 16.27 MB, free: 6.652 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.42/1.42, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.909/2.909, allocations: 473.4 MB / 0.7469 GB, free: 6.039 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003438/0.0003439, allocations: 12.28 kB / 0.9158 GB, free: 33.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3758/0.3762, allocations: 162.2 MB / 1.074 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.2069/0.5831, allocations: 174.9 MB / 1.245 GB, free: 8.027 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.009725/0.5929, allocations: 7.747 MB / 1.252 GB, free: 264 kB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006631/0.5936, allocations: 15.88 kB / 1.252 GB, free: 248 kB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.000742/0.5943, allocations: 190.8 kB / 1.253 GB, free: 56 kB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.7608/1.355, allocations: 1.137 MB / 1.254 GB, free: 6.379 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002237/1.357, allocations: 0.6684 MB / 1.254 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002675/1.36, allocations: 1.54 MB / 1.256 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006174/1.361, allocations: 344.2 kB / 1.256 GB, free: 6.348 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002734/1.364, allocations: 0.7485 MB / 1.257 GB, free: 6.344 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008038/1.364, allocations: 444.4 kB / 1.257 GB, free: 6.344 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 6.114e-05/1.364, allocations: 26.59 kB / 1.257 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002473/1.367, allocations: 1.082 MB / 1.258 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000205/1.367, allocations: 143.6 kB / 1.259 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006185/1.368, allocations: 256.4 kB / 1.259 GB, free: 22.3 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001771/1.37, allocations: 0.9699 MB / 1.26 GB, free: 22.24 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/1.37, allocations: 0.7812 kB / 1.26 GB, free: 22.24 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.816e-06/1.37, allocations: 0.5156 kB / 1.26 GB, free: 22.24 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.454e-06/1.37, allocations: 0 / 1.26 GB, free: 22.24 MB / 1.014 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.001143/1.371, allocations: 0.7227 MB / 1.261 GB, free: 21.7 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/1.371, allocations: 9.781 kB / 1.261 GB, free: 21.7 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009615/1.372, allocations: 151.6 kB / 1.261 GB, free: 21.67 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005533/1.372, allocations: 378.6 kB / 1.261 GB, free: 21.43 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.852e-05/1.372, allocations: 32.22 kB / 1.261 GB, free: 21.43 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.482e-05/1.372, allocations: 37.53 kB / 1.261 GB, free: 21.43 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008127/1.373, allocations: 451.1 kB / 1.262 GB, free: 21.34 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/1.373, allocations: 5.828 kB / 1.262 GB, free: 21.34 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.58e-05/1.373, allocations: 15.91 kB / 1.262 GB, free: 21.34 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.908e-06/1.373, allocations: 11 kB / 1.262 GB, free: 21.34 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006236/1.374, allocations: 333.6 kB / 1.262 GB, free: 21.34 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.002292/1.376, allocations: 2.021 MB / 1.264 GB, free: 19.98 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004247/1.377, allocations: 246.2 kB / 1.264 GB, free: 19.96 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002488/1.377, allocations: 157.8 kB / 1.264 GB, free: 19.95 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006274/1.378, allocations: 322.4 kB / 1.265 GB, free: 19.66 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.702e-05/1.378, allocations: 39.64 kB / 1.265 GB, free: 19.62 MB / 1.014 GB Notification: Performance of pre-optimization done (n=24): time 2.254e-06/1.378, allocations: 3.188 kB / 1.265 GB, free: 19.62 MB / 1.014 GB Notification: Performance of matching and sorting (n=24): time 0.001015/1.379, allocations: 471.1 kB / 1.265 GB, free: 19.57 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.239e-05/1.379, allocations: 54.47 kB / 1.265 GB, free: 19.5 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004249/1.379, allocations: 398.3 kB / 1.265 GB, free: 19.39 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.161e-05/1.379, allocations: 29.64 kB / 1.265 GB, free: 19.36 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001527/1.379, allocations: 231.3 kB / 1.266 GB, free: 19.24 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 6.121e-05/1.379, allocations: 79.14 kB / 1.266 GB, free: 19.19 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.366e-05/1.379, allocations: 29.72 kB / 1.266 GB, free: 19.17 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001579/1.38, allocations: 352.4 kB / 1.266 GB, free: 18.86 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002339/1.38, allocations: 118.4 kB / 1.266 GB, free: 18.86 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002677/1.38, allocations: 198.1 kB / 1.266 GB, free: 18.78 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004808/1.381, allocations: 322.2 kB / 1.267 GB, free: 18.71 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/1.381, allocations: 5.969 kB / 1.267 GB, free: 18.71 MB / 1.014 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006035/1.381, allocations: 372.8 kB / 1.267 GB, free: 18.65 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/1.381, allocations: 8.062 kB / 1.267 GB, free: 18.65 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/1.381, allocations: 4 kB / 1.267 GB, free: 18.64 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/1.381, allocations: 5.25 kB / 1.267 GB, free: 18.64 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002751/1.382, allocations: 65.38 kB / 1.267 GB, free: 18.64 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.121e-05/1.382, allocations: 3.234 kB / 1.267 GB, free: 18.64 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003045/1.382, allocations: 54.91 kB / 1.267 GB, free: 18.62 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.705e-05/1.382, allocations: 19.19 kB / 1.267 GB, free: 18.62 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.0001854/1.382, allocations: 160.5 kB / 1.267 GB, free: 18.5 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.648e-05/1.382, allocations: 37.91 kB / 1.267 GB, free: 18.48 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007106/1.383, allocations: 385.5 kB / 1.268 GB, free: 18.43 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/1.383, allocations: 3.312 kB / 1.268 GB, free: 18.43 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/1.383, allocations: 0 / 1.268 GB, free: 18.43 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/1.383, allocations: 1.359 kB / 1.268 GB, free: 18.43 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001426/1.384, allocations: 0.9408 MB / 1.269 GB, free: 18.07 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/1.384, allocations: 11.8 kB / 1.269 GB, free: 18.06 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002567/1.385, allocations: 56.09 kB / 1.269 GB, free: 18.06 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.294e-06/1.385, allocations: 6.047 kB / 1.269 GB, free: 18.06 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.108e-05/1.385, allocations: 8.531 kB / 1.269 GB, free: 18.06 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/1.385, allocations: 4.344 kB / 1.269 GB, free: 18.06 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/1.385, allocations: 4.656 kB / 1.269 GB, free: 18.05 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009441/1.386, allocations: 0.6471 MB / 1.269 GB, free: 17.83 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001593/1.386, allocations: 145.9 kB / 1.27 GB, free: 17.71 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.513e-05/1.386, allocations: 8.578 kB / 1.27 GB, free: 17.71 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002548/1.386, allocations: 30.23 kB / 1.27 GB, free: 17.71 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.75e-05/1.386, allocations: 20.52 kB / 1.27 GB, free: 17.71 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.874e-05/1.386, allocations: 10.27 kB / 1.27 GB, free: 17.71 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003097/1.387, allocations: 284.5 kB / 1.27 GB, free: 17.62 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.3e-07/1.387, allocations: 0 / 1.27 GB, free: 17.62 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004733/1.387, allocations: 115.9 kB / 1.27 GB, free: 17.61 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.0004296/1.387, allocations: 177.1 kB / 1.27 GB, free: 17.51 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0006182/1.388, allocations: 291.9 kB / 1.271 GB, free: 17.5 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/1.388, allocations: 1.375 kB / 1.271 GB, free: 17.5 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003183/1.388, allocations: 155.4 kB / 1.271 GB, free: 17.5 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001272/1.39, allocations: 217.5 kB / 1.271 GB, free: 17.48 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001323/1.391, allocations: 0.9808 MB / 1.272 GB, free: 16.91 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004491/1.392, allocations: 0.832 MB / 1.273 GB, free: 16.21 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.000342/1.392, allocations: 98.53 kB / 1.273 GB, free: 16.2 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001037/1.392, allocations: 34.08 kB / 1.273 GB, free: 16.19 MB / 1.014 GB Notification: Performance of SimCode: time 2.4e-07/1.392, allocations: 0 / 1.273 GB, free: 16.19 MB / 1.014 GB Notification: Performance of Templates: time 0.01855/1.411, allocations: 7.204 MB / 1.28 GB, free: 15.75 MB / 1.014 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & ./Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1)