Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.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.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001461/0.001461, allocations: 108 kB / 15.6 MB, free: 128 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.001722/0.001722, allocations: 195.6 kB / 16.53 MB, free: 6.672 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.4/1.4, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.778/2.778, allocations: 472.6 MB / 0.7451 GB, free: 4.664 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001991/0.001991, allocations: 70.12 kB / 0.912 GB, free: 33.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3653/0.3673, allocations: 159.9 MB / 1.068 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1926/0.5599, allocations: 167.6 MB / 1.232 GB, free: 2.246 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01227/0.5722, allocations: 6.532 MB / 1.238 GB, free: 11.7 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006959/0.573, allocations: 11.94 kB / 1.238 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007108/0.5738, allocations: 170.7 kB / 1.238 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003453/0.5772, allocations: 0.8401 MB / 1.239 GB, free: 10.67 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001432/0.5787, allocations: 322.8 kB / 1.239 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001205/0.5799, allocations: 0.7211 MB / 1.24 GB, free: 9.637 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006179/0.5805, allocations: 287.3 kB / 1.24 GB, free: 9.348 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001569/0.5821, allocations: 0.5408 MB / 1.241 GB, free: 8.805 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005308/0.5827, allocations: 270.9 kB / 1.241 GB, free: 8.539 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.593e-05/0.5827, allocations: 24 kB / 1.241 GB, free: 8.516 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008992/0.5836, allocations: 339.2 kB / 1.242 GB, free: 8.184 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001561/0.5838, allocations: 103.7 kB / 1.242 GB, free: 8.082 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002203/0.584, allocations: 167.1 kB / 1.242 GB, free: 7.918 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000813/0.5849, allocations: 458.6 kB / 1.242 GB, free: 7.469 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.5849, allocations: 0 / 1.242 GB, free: 7.469 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.114e-06/0.5849, allocations: 0 / 1.242 GB, free: 7.469 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.406e-06/0.5849, allocations: 0 / 1.242 GB, free: 7.469 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001154/0.5861, allocations: 0.6232 MB / 1.243 GB, free: 6.797 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.701e-05/0.5861, allocations: 8.031 kB / 1.243 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004765/0.5866, allocations: 63.58 kB / 1.243 GB, free: 6.727 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005337/0.5872, allocations: 309.2 kB / 1.243 GB, free: 6.379 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.205e-05/0.5872, allocations: 16.56 kB / 1.243 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.452e-05/0.5873, allocations: 32 kB / 1.243 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007568/0.588, allocations: 315.7 kB / 1.244 GB, free: 6 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.5881, allocations: 0 / 1.244 GB, free: 6 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.837e-05/0.5881, allocations: 12 kB / 1.244 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.47e-05/0.5881, allocations: 11.94 kB / 1.244 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000619/0.5888, allocations: 193.6 kB / 1.244 GB, free: 5.789 MB / 0.9981 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.002084/0.5909, allocations: 1.554 MB / 1.245 GB, free: 4.098 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003598/0.5912, allocations: 118.5 kB / 1.245 GB, free: 3.973 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002524/0.5915, allocations: 92.8 kB / 1.246 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009153/0.5924, allocations: 307.2 kB / 1.246 GB, free: 3.523 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.355e-05/0.5925, allocations: 30.56 kB / 1.246 GB, free: 3.484 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=13): time 1.864e-06/0.5925, allocations: 0 / 1.246 GB, free: 3.484 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13): time 0.001074/0.5936, allocations: 273.5 kB / 1.246 GB, free: 3.211 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.96e-05/0.5936, allocations: 51.41 kB / 1.246 GB, free: 3.148 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004556/0.5941, allocations: 316.5 kB / 1.246 GB, free: 2.836 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.154e-05/0.5942, allocations: 33.64 kB / 1.246 GB, free: 2.797 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001774/0.5943, allocations: 176.2 kB / 1.247 GB, free: 2.621 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.654e-05/0.5944, allocations: 51.3 kB / 1.247 GB, free: 2.57 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.033e-05/0.5945, allocations: 33.7 kB / 1.247 GB, free: 2.531 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001832/0.5947, allocations: 342.8 kB / 1.247 GB, free: 2.188 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002203/0.5949, allocations: 63.89 kB / 1.247 GB, free: 2.125 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00027/0.5952, allocations: 113.9 kB / 1.247 GB, free: 1.996 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004631/0.5957, allocations: 177 kB / 1.247 GB, free: 1.805 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.5957, allocations: 3.938 kB / 1.247 GB, free: 1.801 MB / 0.9981 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005969/0.5963, allocations: 217.2 kB / 1.248 GB, free: 1.582 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.5963, allocations: 4 kB / 1.248 GB, free: 1.578 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.5964, allocations: 0 / 1.248 GB, free: 1.578 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.202e-05/0.5964, allocations: 4 kB / 1.248 GB, free: 1.574 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002349/0.5966, allocations: 31.92 kB / 1.248 GB, free: 1.543 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.505e-05/0.5967, allocations: 11.94 kB / 1.248 GB, free: 1.531 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002478/0.5969, allocations: 27.73 kB / 1.248 GB, free: 1.504 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.372e-05/0.597, allocations: 12.16 kB / 1.248 GB, free: 1.492 MB / 0.9981 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.0001906/0.5972, allocations: 153.7 kB / 1.248 GB, free: 1.332 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.362e-05/0.5973, allocations: 27.7 kB / 1.248 GB, free: 1.305 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006142/0.5979, allocations: 208.3 kB / 1.248 GB, free: 1.094 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.5979, allocations: 0 / 1.248 GB, free: 1.094 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.5979, allocations: 0 / 1.248 GB, free: 1.094 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.5979, allocations: 48 / 1.248 GB, free: 1.094 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001516/0.5994, allocations: 0.6914 MB / 1.249 GB, free: 332 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.5995, allocations: 0 / 1.249 GB, free: 332 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002045/0.5997, allocations: 31.91 kB / 1.249 GB, free: 300 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.726e-06/0.5997, allocations: 4 kB / 1.249 GB, free: 296 kB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.175e-05/0.5997, allocations: 8 kB / 1.249 GB, free: 288 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.945e-06/0.5997, allocations: 7.938 kB / 1.249 GB, free: 280 kB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.5998, allocations: 0 / 1.249 GB, free: 280 kB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6096/1.209, allocations: 325.3 kB / 1.249 GB, free: 187.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001608/1.21, allocations: 121.1 kB / 1.249 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.157e-05/1.21, allocations: 7.141 kB / 1.249 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002014/1.21, allocations: 12.16 kB / 1.249 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.031e-05/1.21, allocations: 14.53 kB / 1.249 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.501e-05/1.21, allocations: 4.719 kB / 1.249 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002353/1.21, allocations: 224.3 kB / 1.249 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of sort global known variables: time 5.61e-07/1.21, allocations: 1.594 kB / 1.249 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004854/1.211, allocations: 77.81 kB / 1.25 GB, free: 187.1 MB / 0.9981 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.0003909/1.211, allocations: 158.1 kB / 1.25 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004708/1.212, allocations: 156.5 kB / 1.25 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/1.212, allocations: 5.234 kB / 1.25 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001968/1.212, allocations: 88.2 kB / 1.25 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008684/1.213, allocations: 151.9 kB / 1.25 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008401/1.214, allocations: 0.5363 MB / 1.251 GB, free: 186.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002294/1.214, allocations: 0.7791 MB / 1.251 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002045/1.214, allocations: 70.56 kB / 1.251 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.753e-05/1.214, allocations: 25.81 kB / 1.251 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of SimCode: time 3.61e-07/1.214, allocations: 3.562 kB / 1.251 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of Templates: time 0.01112/1.225, allocations: 5.123 MB / 1.256 GB, free: 185.9 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)