Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.AirHeater_T.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.HeatExchangers.Examples.AirHeater_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.AirHeater_T") translateModel(BuildingSystems.Fluid.HeatExchangers.Examples.AirHeater_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.AirHeater_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 108.5 kB / 16.41 MB, free: 6.512 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.001021/0.001021, allocations: 190.7 kB / 17.35 MB, free: 5.738 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.291/1.291, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002121/0.002121, allocations: 285.6 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9296/0.9296, allocations: 169.2 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00317/0.00317, allocations: 95.86 kB / 0.6821 GB, free: 6.973 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4611/0.4642, allocations: 86.97 MB / 0.7671 GB, free: 3.941 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.Examples.AirHeater_T): time 0.5721/1.036, allocations: 236.4 MB / 0.9979 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.02054/1.057, allocations: 17.53 MB / 1.015 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002988/1.06, allocations: 89.38 kB / 1.015 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.004976/1.065, allocations: 2.122 MB / 1.017 GB, free: 1.293 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.007864/1.073, allocations: 3.581 MB / 1.021 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.005737/1.079, allocations: 2.581 MB / 1.023 GB, free: 1.082 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01053/1.089, allocations: 7.878 MB / 1.031 GB, free: 1.051 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002768/1.092, allocations: 1.942 MB / 1.033 GB, free: 0.8086 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005334/1.097, allocations: 2.736 MB / 1.035 GB, free: 0.668 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003177/1.1, allocations: 1.621 MB / 1.037 GB, free: 400 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0003823/1.101, allocations: 214.3 kB / 1.037 GB, free: 396 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00617/1.107, allocations: 3.61 MB / 1.041 GB, free: 352 kB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0008716/1.108, allocations: 0.8926 MB / 1.042 GB, free: 236 kB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001629/1.11, allocations: 1.387 MB / 1.043 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.007215/1.117, allocations: 4.912 MB / 1.048 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.982e-06/1.117, allocations: 4 kB / 1.048 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.292e-06/1.117, allocations: 0 / 1.048 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.847e-05/1.117, allocations: 0 / 1.048 GB, free: 13.38 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 337 * Number of variables: 337 Notification: Performance of Generate backend data structure: time 0.005412/1.122, allocations: 3.245 MB / 1.051 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/1.122, allocations: 9.156 kB / 1.051 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0054/1.128, allocations: 0.8854 MB / 1.052 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004459/1.132, allocations: 2.797 MB / 1.055 GB, free: 8.805 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.637e-05/1.132, allocations: 105.9 kB / 1.055 GB, free: 8.758 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002013/1.132, allocations: 144.9 kB / 1.055 GB, free: 8.711 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003102/1.136, allocations: 1.664 MB / 1.056 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.909e-05/1.136, allocations: 2.438 kB / 1.056 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001425/1.136, allocations: 60.28 kB / 1.057 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.502e-05/1.136, allocations: 46.86 kB / 1.057 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003396/1.139, allocations: 1.453 MB / 1.058 GB, free: 6.594 MB / 0.7325 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.01088/1.15, allocations: 8.113 MB / 1.066 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002728/1.153, allocations: 1.561 MB / 1.067 GB, free: 12.34 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001141/1.154, allocations: 0.5181 MB / 1.068 GB, free: 11.82 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001321/1.155, allocations: 0.7708 MB / 1.069 GB, free: 10.91 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001256/1.157, allocations: 0.543 MB / 1.069 GB, free: 10.35 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=82): time 3.276e-06/1.157, allocations: 0 / 1.069 GB, free: 10.35 MB / 0.7481 GB Notification: Performance of matching and sorting (n=82): time 0.004538/1.161, allocations: 1.601 MB / 1.071 GB, free: 8.723 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.807e-05/1.161, allocations: 64.06 kB / 1.071 GB, free: 8.645 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003031/1.164, allocations: 2.16 MB / 1.073 GB, free: 6.461 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001343/1.164, allocations: 52.23 kB / 1.073 GB, free: 6.406 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009293/1.165, allocations: 1.055 MB / 1.074 GB, free: 5.344 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002566/1.166, allocations: 288.9 kB / 1.074 GB, free: 5.062 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000441/1.166, allocations: 325.5 kB / 1.075 GB, free: 4.742 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001025/1.166, allocations: 305.1 kB / 1.075 GB, free: 4.441 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00126/1.167, allocations: 0.6235 MB / 1.076 GB, free: 3.816 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001555/1.169, allocations: 1.004 MB / 1.076 GB, free: 2.664 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002665/1.172, allocations: 1.551 MB / 1.078 GB, free: 1.027 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.684e-06/1.172, allocations: 4 kB / 1.078 GB, free: 1.023 MB / 0.7481 GB Notification: Performance of matching and sorting (n=199) (initialization): time 0.003778/1.176, allocations: 1.899 MB / 1.08 GB, free: 15.16 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 5.451e-05/1.176, allocations: 52.81 kB / 1.08 GB, free: 15.11 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.704e-05/1.176, allocations: 15.98 kB / 1.08 GB, free: 15.09 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.748e-05/1.176, allocations: 16 kB / 1.08 GB, free: 15.08 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001298/1.177, allocations: 317.7 kB / 1.08 GB, free: 14.79 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.408e-05/1.177, allocations: 33.08 kB / 1.08 GB, free: 14.76 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001628/1.179, allocations: 178.5 kB / 1.08 GB, free: 14.58 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001046/1.179, allocations: 63.98 kB / 1.081 GB, free: 14.52 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002072/1.181, allocations: 1.101 MB / 1.082 GB, free: 13.41 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001553/1.182, allocations: 1.012 MB / 1.083 GB, free: 12.26 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002633/1.185, allocations: 1.55 MB / 1.084 GB, free: 10.62 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.436e-06/1.185, allocations: 11.94 kB / 1.084 GB, free: 10.61 MB / 0.7637 GB Notification: Performance of matching and sorting (n=199) (initialization_lambda0): time 0.003623/1.189, allocations: 1.897 MB / 1.086 GB, free: 8.742 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 3.425e-05/1.189, allocations: 37.69 kB / 1.086 GB, free: 8.699 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.54e-05/1.189, allocations: 8 kB / 1.086 GB, free: 8.691 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/1.189, allocations: 19.94 kB / 1.086 GB, free: 8.672 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001285/1.19, allocations: 326.1 kB / 1.086 GB, free: 8.371 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.678e-05/1.19, allocations: 25.14 kB / 1.086 GB, free: 8.352 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001631/1.192, allocations: 151 kB / 1.086 GB, free: 8.203 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001136/1.192, allocations: 63.98 kB / 1.087 GB, free: 8.141 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 6 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,$whenCondition1,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (165): * Single equations (assignments): 162 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * 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.0003115/1.192, allocations: 264.4 kB / 1.087 GB, free: 7.895 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003771/1.193, allocations: 209.3 kB / 1.087 GB, free: 7.688 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002965/1.196, allocations: 1.179 MB / 1.088 GB, free: 6.5 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002339/1.198, allocations: 1.233 MB / 1.089 GB, free: 5.184 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/1.198, allocations: 0 / 1.089 GB, free: 5.184 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008201/1.199, allocations: 402.1 kB / 1.09 GB, free: 4.77 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003593/1.199, allocations: 16 kB / 1.09 GB, free: 4.754 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001192/1.2, allocations: 75.86 kB / 1.09 GB, free: 4.68 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001486/1.2, allocations: 56.92 kB / 1.09 GB, free: 4.621 MB / 0.7637 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003312/1.204, allocations: 1.201 MB / 1.091 GB, free: 3.43 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003647/1.207, allocations: 1.814 MB / 1.093 GB, free: 1.598 MB / 0.7637 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001011/1.208, allocations: 479.7 kB / 1.093 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.002424/1.211, allocations: 1.441 MB / 1.095 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of Backend: time 5.91e-07/1.211, allocations: 0 / 1.095 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.007749/1.219, allocations: 3.108 MB / 1.098 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of SimCode: time 0.009388/1.228, allocations: 5.109 MB / 1.103 GB, free: 7.715 MB / 0.7794 GB Notification: Performance of Templates: time 0.0824/1.311, allocations: 50.69 MB / 1.152 GB, free: 5.668 MB / 0.8262 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.AirHeater_T.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.AirHeater_T.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.AirHeater_T.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.AirHeater_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.AirHeater_T.pipe 2>&1)