Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.353/2.353, allocations: 391.2 MB / 407 MB, free: 10.84 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001502/0.001502, allocations: 201.3 kB / 499.1 MB, free: 4.609 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.414/1.414, allocations: 222.9 MB / 0.7948 GB, free: 15.8 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009994/0.0009995, allocations: 106.6 kB / 0.9329 GB, free: 7.055 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001039/0.001039, allocations: 51.91 kB / 1.081 GB, free: 218.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.247/0.248, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.151/0.3991, allocations: 165.3 MB / 1.379 GB, free: 15.27 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.007856/0.407, allocations: 6.55 MB / 1.386 GB, free: 8.703 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004736/0.4075, allocations: 11.94 kB / 1.386 GB, free: 8.691 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.00058/0.4081, allocations: 131.1 kB / 1.386 GB, free: 8.562 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.002143/0.4103, allocations: 0.7938 MB / 1.387 GB, free: 7.766 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009887/0.4113, allocations: 295.1 kB / 1.387 GB, free: 7.48 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.001152/0.4125, allocations: 1.01 MB / 1.388 GB, free: 6.469 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004671/0.4129, allocations: 242.1 kB / 1.388 GB, free: 6.227 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001234/0.4142, allocations: 0.5135 MB / 1.389 GB, free: 5.711 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000538/0.4147, allocations: 290.9 kB / 1.389 GB, free: 5.426 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 5.58e-05/0.4148, allocations: 16 kB / 1.389 GB, free: 5.41 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007712/0.4156, allocations: 395 kB / 1.389 GB, free: 5.023 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0001426/0.4158, allocations: 95.7 kB / 1.39 GB, free: 4.93 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0002134/0.416, allocations: 155.2 kB / 1.39 GB, free: 4.777 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0007359/0.4167, allocations: 482.4 kB / 1.39 GB, free: 4.305 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.4167, allocations: 0 / 1.39 GB, free: 4.305 MB / 0.8855 GB Notification: Performance of FrontEnd: time 8.62e-07/0.4167, allocations: 0 / 1.39 GB, free: 4.305 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.501e-05/0.4168, allocations: 4 kB / 1.39 GB, free: 4.301 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001038/0.4178, allocations: 0.6194 MB / 1.391 GB, free: 3.633 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.4179, allocations: 15.98 kB / 1.391 GB, free: 3.617 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003275/0.4182, allocations: 55.59 kB / 1.391 GB, free: 3.562 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004955/0.4187, allocations: 313.1 kB / 1.391 GB, free: 3.219 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.23e-05/0.4187, allocations: 20.56 kB / 1.391 GB, free: 3.199 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.87e-05/0.4188, allocations: 24 kB / 1.391 GB, free: 3.176 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005328/0.4193, allocations: 315.7 kB / 1.391 GB, free: 2.84 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.4194, allocations: 3.938 kB / 1.391 GB, free: 2.836 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.566e-05/0.4194, allocations: 12 kB / 1.392 GB, free: 2.824 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.458e-06/0.4194, allocations: 7.938 kB / 1.392 GB, free: 2.816 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004214/0.4198, allocations: 205.6 kB / 1.392 GB, free: 2.613 MB / 0.8855 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.001635/0.4215, allocations: 1.538 MB / 1.393 GB, free: 0.9414 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002616/0.4217, allocations: 118.5 kB / 1.393 GB, free: 0.8164 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001754/0.4219, allocations: 88.8 kB / 1.393 GB, free: 0.7266 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006839/0.4226, allocations: 303.2 kB / 1.394 GB, free: 384 kB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.494e-05/0.4227, allocations: 38.5 kB / 1.394 GB, free: 336 kB / 0.8855 GB Notification: Performance of pre-optimization done (n=13): time 1.984e-06/0.4227, allocations: 0 / 1.394 GB, free: 336 kB / 0.8855 GB Notification: Performance of matching and sorting (n=13): time 0.0008403/0.4235, allocations: 280.7 kB / 1.394 GB, free: 52 kB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.98e-05/0.4236, allocations: 51.41 kB / 1.394 GB, free: 15.99 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004141/0.424, allocations: 312.5 kB / 1.394 GB, free: 15.67 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 2.82e-05/0.4241, allocations: 25.7 kB / 1.394 GB, free: 15.64 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001728/0.4243, allocations: 176.2 kB / 1.395 GB, free: 15.46 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 6.035e-05/0.4243, allocations: 55.28 kB / 1.395 GB, free: 15.41 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/0.4244, allocations: 37.7 kB / 1.395 GB, free: 15.37 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001661/0.4246, allocations: 338.8 kB / 1.395 GB, free: 15.03 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001758/0.4248, allocations: 63.86 kB / 1.395 GB, free: 14.96 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002129/0.425, allocations: 110.3 kB / 1.395 GB, free: 14.84 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003549/0.4254, allocations: 173 kB / 1.395 GB, free: 14.65 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.171e-06/0.4254, allocations: 7.938 kB / 1.395 GB, free: 14.64 MB / 0.9011 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004912/0.4259, allocations: 217.1 kB / 1.396 GB, free: 14.43 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.436e-05/0.4259, allocations: 8 kB / 1.396 GB, free: 14.42 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.4259, allocations: 3.938 kB / 1.396 GB, free: 14.41 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.363e-05/0.426, allocations: 4 kB / 1.396 GB, free: 14.41 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001761/0.4262, allocations: 31.92 kB / 1.396 GB, free: 14.38 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.34e-05/0.4262, allocations: 8 kB / 1.396 GB, free: 14.37 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002505/0.4264, allocations: 39.88 kB / 1.396 GB, free: 14.33 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.056e-05/0.4265, allocations: 8 kB / 1.396 GB, free: 14.32 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (17): * Single equations (assignments): 17 * 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.0001654/0.4266, allocations: 150.4 kB / 1.396 GB, free: 14.17 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.336e-05/0.4267, allocations: 27.72 kB / 1.396 GB, free: 14.14 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004481/0.4272, allocations: 212.3 kB / 1.396 GB, free: 13.93 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.4272, allocations: 4 kB / 1.396 GB, free: 13.92 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.4272, allocations: 0 / 1.396 GB, free: 13.92 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.4272, allocations: 0 / 1.396 GB, free: 13.92 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00109/0.4283, allocations: 0.6756 MB / 1.397 GB, free: 13.17 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.4283, allocations: 4 kB / 1.397 GB, free: 13.16 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001345/0.4285, allocations: 31.92 kB / 1.397 GB, free: 13.13 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.082e-06/0.4285, allocations: 4 kB / 1.397 GB, free: 13.13 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.711e-05/0.4285, allocations: 4 kB / 1.397 GB, free: 13.12 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.452e-06/0.4285, allocations: 7.922 kB / 1.397 GB, free: 13.12 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/0.4285, allocations: 4 kB / 1.397 GB, free: 13.11 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009285/0.4295, allocations: 1.007 MB / 1.398 GB, free: 12.03 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001431/0.4296, allocations: 120.7 kB / 1.398 GB, free: 11.89 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.548e-05/0.4297, allocations: 4 kB / 1.398 GB, free: 11.89 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001772/0.4298, allocations: 19.92 kB / 1.398 GB, free: 11.87 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.08e-05/0.4299, allocations: 15.98 kB / 1.398 GB, free: 11.85 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.053e-05/0.4299, allocations: 4 kB / 1.398 GB, free: 11.85 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0002104/0.4301, allocations: 231 kB / 1.398 GB, free: 11.62 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4301, allocations: 0 / 1.398 GB, free: 11.62 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0004902/0.4306, allocations: 63.91 kB / 1.398 GB, free: 11.56 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (13): * Single equations (assignments): 13 * 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.0004069/0.431, allocations: 178.2 kB / 1.398 GB, free: 11.39 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.000392/0.4314, allocations: 162.3 kB / 1.398 GB, free: 11.23 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.4315, allocations: 0 / 1.398 GB, free: 11.23 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0001707/0.4316, allocations: 75.89 kB / 1.399 GB, free: 11.16 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008697/0.4325, allocations: 144.8 kB / 1.399 GB, free: 11.02 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00109/0.4336, allocations: 0.7832 MB / 1.399 GB, free: 10.18 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003891/0.434, allocations: 0.7797 MB / 1.4 GB, free: 9.367 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0002246/0.4343, allocations: 62.94 kB / 1.4 GB, free: 9.309 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.36e-05/0.4343, allocations: 27.44 kB / 1.4 GB, free: 9.281 MB / 0.9011 GB Notification: Performance of SimCode: time 6.61e-07/0.4343, allocations: 0 / 1.4 GB, free: 9.281 MB / 0.9011 GB Notification: Performance of Templates: time 0.01012/0.4445, allocations: 4.985 MB / 1.405 GB, free: 4.371 MB / 0.9011 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)