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.001026/0.001027, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.006286/0.006287, allocations: 171.6 kB / 16.26 MB, free: 6.613 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.403/1.403, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.878/2.878, allocations: 473.4 MB / 0.7469 GB, free: 6.023 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003708/0.0003708, allocations: 13.88 kB / 0.9158 GB, free: 33.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3161/0.3165, allocations: 162.2 MB / 1.074 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1826/0.4991, allocations: 163.2 MB / 1.233 GB, free: 3.781 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.007571/0.5067, allocations: 6.455 MB / 1.24 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004563/0.5072, allocations: 11.88 kB / 1.24 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005289/0.5077, allocations: 139.1 kB / 1.24 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002194/0.5099, allocations: 0.7899 MB / 1.241 GB, free: 12.37 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009765/0.5109, allocations: 287.2 kB / 1.241 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001294/0.5122, allocations: 1.017 MB / 1.242 GB, free: 11.07 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004821/0.5127, allocations: 238 kB / 1.242 GB, free: 10.83 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001455/0.5142, allocations: 0.498 MB / 1.243 GB, free: 10.33 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000427/0.5146, allocations: 278.9 kB / 1.243 GB, free: 10.06 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.665e-05/0.5147, allocations: 12 kB / 1.243 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008261/0.5155, allocations: 387 kB / 1.243 GB, free: 9.668 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000143/0.5156, allocations: 107.6 kB / 1.243 GB, free: 9.562 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001938/0.5158, allocations: 172.9 kB / 1.244 GB, free: 9.387 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006409/0.5165, allocations: 474.4 kB / 1.244 GB, free: 8.922 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.5165, allocations: 4 kB / 1.244 GB, free: 8.918 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.793e-06/0.5165, allocations: 0 / 1.244 GB, free: 8.918 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.5165, allocations: 4 kB / 1.244 GB, free: 8.914 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.0008095/0.5173, allocations: 0.5532 MB / 1.245 GB, free: 8.312 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.5174, allocations: 12.03 kB / 1.245 GB, free: 8.301 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003333/0.5177, allocations: 59.53 kB / 1.245 GB, free: 8.242 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003467/0.5181, allocations: 317.1 kB / 1.245 GB, free: 7.887 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.741e-05/0.5181, allocations: 24.56 kB / 1.245 GB, free: 7.863 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.129e-05/0.5182, allocations: 28 kB / 1.245 GB, free: 7.836 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005635/0.5188, allocations: 319.7 kB / 1.245 GB, free: 7.5 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.5188, allocations: 4 kB / 1.245 GB, free: 7.496 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.571e-05/0.5188, allocations: 12 kB / 1.245 GB, free: 7.484 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.508e-05/0.5188, allocations: 8 kB / 1.245 GB, free: 7.477 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000446/0.5193, allocations: 217.4 kB / 1.246 GB, free: 7.266 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.00162/0.5209, allocations: 1.542 MB / 1.247 GB, free: 5.586 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002593/0.5212, allocations: 118.5 kB / 1.247 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001908/0.5214, allocations: 96.8 kB / 1.247 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000637/0.522, allocations: 319.2 kB / 1.248 GB, free: 4.996 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.803e-05/0.5221, allocations: 34.81 kB / 1.248 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=13): time 1.463e-06/0.5221, allocations: 3.938 kB / 1.248 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13): time 0.0007619/0.5228, allocations: 292.8 kB / 1.248 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.745e-05/0.5229, allocations: 51.41 kB / 1.248 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003293/0.5232, allocations: 316.5 kB / 1.248 GB, free: 4.277 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.265e-05/0.5233, allocations: 25.7 kB / 1.248 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001346/0.5234, allocations: 180.1 kB / 1.248 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.005e-05/0.5235, allocations: 51.28 kB / 1.248 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.551e-05/0.5235, allocations: 21.72 kB / 1.248 GB, free: 3.988 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.5236, allocations: 338.8 kB / 1.249 GB, free: 3.648 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001548/0.5238, allocations: 63.95 kB / 1.249 GB, free: 3.586 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001978/0.524, allocations: 118.5 kB / 1.249 GB, free: 3.453 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003475/0.5244, allocations: 196.8 kB / 1.249 GB, free: 3.242 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.5244, allocations: 0 / 1.249 GB, free: 3.242 MB / 0.9981 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004311/0.5248, allocations: 229.1 kB / 1.249 GB, free: 3.012 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/0.5248, allocations: 8 kB / 1.249 GB, free: 3.004 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.5249, allocations: 0 / 1.249 GB, free: 3.004 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.5249, allocations: 4 kB / 1.249 GB, free: 3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001595/0.525, allocations: 35.92 kB / 1.249 GB, free: 2.965 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.5251, allocations: 3.984 kB / 1.249 GB, free: 2.961 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001969/0.5253, allocations: 35.95 kB / 1.249 GB, free: 2.926 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.96e-05/0.5253, allocations: 8 kB / 1.249 GB, free: 2.918 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.0001564/0.5255, allocations: 153.6 kB / 1.25 GB, free: 2.758 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.993e-05/0.5255, allocations: 31.62 kB / 1.25 GB, free: 2.727 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004863/0.526, allocations: 220.3 kB / 1.25 GB, free: 2.504 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.526, allocations: 3.938 kB / 1.25 GB, free: 2.5 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.526, allocations: 0 / 1.25 GB, free: 2.5 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.526, allocations: 4 kB / 1.25 GB, free: 2.496 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009992/0.5271, allocations: 0.6873 MB / 1.251 GB, free: 1.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.5271, allocations: 8.281 kB / 1.251 GB, free: 1.723 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001272/0.5272, allocations: 31.98 kB / 1.251 GB, free: 1.691 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.091e-06/0.5272, allocations: 3.984 kB / 1.251 GB, free: 1.688 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.486e-05/0.5272, allocations: 11.94 kB / 1.251 GB, free: 1.676 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.5272, allocations: 4 kB / 1.251 GB, free: 1.672 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.5272, allocations: 3.984 kB / 1.251 GB, free: 1.668 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004425/0.5277, allocations: 337.2 kB / 1.251 GB, free: 1.301 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/0.5278, allocations: 128.6 kB / 1.251 GB, free: 1.156 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.88e-05/0.5279, allocations: 11.88 kB / 1.251 GB, free: 1.145 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000176/0.528, allocations: 19.98 kB / 1.251 GB, free: 1.125 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.515e-05/0.5281, allocations: 11.98 kB / 1.251 GB, free: 1.113 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.361e-05/0.5281, allocations: 12 kB / 1.251 GB, free: 1.102 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002116/0.5283, allocations: 219 kB / 1.251 GB, free: 0.8867 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5283, allocations: 0 / 1.251 GB, free: 0.8867 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003857/0.5287, allocations: 83.78 kB / 1.251 GB, free: 0.8047 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.0003947/0.5291, allocations: 141.8 kB / 1.252 GB, free: 0.6602 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004286/0.5296, allocations: 172.1 kB / 1.252 GB, free: 0.4922 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.5296, allocations: 0 / 1.252 GB, free: 0.4922 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001822/0.5298, allocations: 83.83 kB / 1.252 GB, free: 420 kB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009321/0.5307, allocations: 154.4 kB / 1.252 GB, free: 272 kB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5954/1.126, allocations: 0.6422 MB / 1.253 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002826/1.126, allocations: 0.7853 MB / 1.253 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003114/1.127, allocations: 56.09 kB / 1.253 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.965e-05/1.127, allocations: 23.38 kB / 1.253 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of SimCode: time 1.052e-06/1.127, allocations: 5.75 kB / 1.253 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of Templates: time 0.0122/1.139, allocations: 4.846 MB / 1.258 GB, free: 183.7 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)