Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.AirHeater_u.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_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.AirHeater_u") translateModel(BuildingSystems.Fluid.HeatExchangers.Examples.AirHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.AirHeater_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001452/0.001452, allocations: 113.6 kB / 16.42 MB, free: 6.492 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.001729/0.001729, allocations: 186.6 kB / 17.35 MB, free: 5.762 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.36/1.36, allocations: 222.9 MB / 241 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.002122/0.002122, allocations: 275.9 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.9817/0.9817, allocations: 169.3 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001838/0.001838, allocations: 103.8 kB / 0.6821 GB, free: 6.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4008/0.4027, allocations: 86.97 MB / 0.7671 GB, free: 3.953 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.Examples.AirHeater_u): time 0.6386/1.041, allocations: 260.9 MB / 1.022 GB, free: 1.355 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.02524/1.067, allocations: 18.83 MB / 1.04 GB, free: 0.9141 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003791/1.07, allocations: 97.5 kB / 1.04 GB, free: 0.9141 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.005689/1.076, allocations: 2.277 MB / 1.043 GB, free: 0.8633 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01066/1.087, allocations: 4.331 MB / 1.047 GB, free: 0.6719 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00675/1.094, allocations: 2.668 MB / 1.049 GB, free: 0.5898 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01477/1.108, allocations: 8.821 MB / 1.058 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004086/1.113, allocations: 2.195 MB / 1.06 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00673/1.119, allocations: 2.829 MB / 1.063 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004201/1.123, allocations: 1.851 MB / 1.065 GB, free: 11.19 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0009956/1.125, allocations: 251.4 kB / 1.065 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009454/1.134, allocations: 4.246 MB / 1.069 GB, free: 9.582 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.001865/1.136, allocations: 1.009 MB / 1.07 GB, free: 8.633 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.004092/1.14, allocations: 1.555 MB / 1.072 GB, free: 7.098 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0122/1.152, allocations: 5.604 MB / 1.077 GB, free: 1.785 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/1.152, allocations: 4 kB / 1.077 GB, free: 1.781 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.933e-06/1.152, allocations: 3.938 kB / 1.077 GB, free: 1.777 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0001718/1.152, allocations: 0 / 1.077 GB, free: 1.777 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: 381 * Number of variables: 381 Notification: Performance of Generate backend data structure: time 0.008808/1.161, allocations: 3.529 MB / 1.08 GB, free: 14.2 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/1.161, allocations: 8.031 kB / 1.08 GB, free: 14.19 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006328/1.168, allocations: 0.8981 MB / 1.081 GB, free: 13.29 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006472/1.174, allocations: 2.948 MB / 1.084 GB, free: 10.37 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001502/1.174, allocations: 127 kB / 1.084 GB, free: 10.24 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005229/1.175, allocations: 162.7 kB / 1.085 GB, free: 10.09 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004422/1.179, allocations: 1.836 MB / 1.086 GB, free: 8.188 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.101e-05/1.179, allocations: 0 / 1.086 GB, free: 8.188 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002264/1.18, allocations: 70.73 kB / 1.086 GB, free: 8.121 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.678e-05/1.18, allocations: 60.75 kB / 1.086 GB, free: 8.062 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003815/1.183, allocations: 1.587 MB / 1.088 GB, free: 6.48 MB / 0.7481 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.01417/1.198, allocations: 8.742 MB / 1.097 GB, free: 13.28 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002899/1.201, allocations: 1.733 MB / 1.098 GB, free: 11.4 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001454/1.202, allocations: 0.6634 MB / 1.099 GB, free: 10.74 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005172/1.203, allocations: 233.6 kB / 1.099 GB, free: 10.48 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00155/1.204, allocations: 0.6571 MB / 1.1 GB, free: 9.809 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=99): time 3.667e-06/1.204, allocations: 0 / 1.1 GB, free: 9.809 MB / 0.7637 GB Notification: Performance of matching and sorting (n=102): time 0.009773/1.214, allocations: 3.722 MB / 1.103 GB, free: 6.016 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.218e-05/1.214, allocations: 64.41 kB / 1.103 GB, free: 5.941 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003643/1.218, allocations: 2.131 MB / 1.106 GB, free: 3.789 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0001921/1.218, allocations: 49.7 kB / 1.106 GB, free: 3.734 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.001088/1.219, allocations: 1.103 MB / 1.107 GB, free: 2.625 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003924/1.219, allocations: 369.3 kB / 1.107 GB, free: 2.266 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005969/1.22, allocations: 349.3 kB / 1.107 GB, free: 1.918 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 8.865e-05/1.22, allocations: 305.1 kB / 1.108 GB, free: 1.617 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001524/1.222, allocations: 0.7231 MB / 1.108 GB, free: 0.8906 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001793/1.223, allocations: 1.113 MB / 1.109 GB, free: 15.64 MB / 0.7794 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (hea.vol.dynBal.p_start = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01609/1.24, allocations: 4.53 MB / 1.114 GB, free: 11 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.047e-05/1.24, allocations: 3.938 kB / 1.114 GB, free: 11 MB / 0.7794 GB Notification: Performance of matching and sorting (n=221) (initialization): time 0.004676/1.244, allocations: 2.178 MB / 1.116 GB, free: 8.852 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.342e-05/1.244, allocations: 37.7 kB / 1.116 GB, free: 8.809 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.887e-05/1.244, allocations: 11.94 kB / 1.116 GB, free: 8.797 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001875/1.245, allocations: 48.83 kB / 1.116 GB, free: 8.746 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001501/1.246, allocations: 354.2 kB / 1.116 GB, free: 8.422 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001345/1.247, allocations: 1.677 MB / 1.118 GB, free: 6.621 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002059/1.25, allocations: 99.98 kB / 1.118 GB, free: 6.523 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001753/1.25, allocations: 67.98 kB / 1.118 GB, free: 6.457 MB / 0.7794 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002545/1.252, allocations: 1.257 MB / 1.119 GB, free: 5.195 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001824/1.254, allocations: 1.108 MB / 1.121 GB, free: 3.957 MB / 0.7794 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (hea.vol.dynBal.p_start = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01588/1.27, allocations: 4.516 MB / 1.125 GB, free: 15.32 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.403e-05/1.27, allocations: 4 kB / 1.125 GB, free: 15.32 MB / 0.795 GB Notification: Performance of matching and sorting (n=221) (initialization_lambda0): time 0.004636/1.275, allocations: 2.17 MB / 1.127 GB, free: 13.18 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.585e-05/1.275, allocations: 44.64 kB / 1.127 GB, free: 13.13 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.638e-05/1.275, allocations: 8 kB / 1.127 GB, free: 13.12 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001435/1.275, allocations: 40.84 kB / 1.127 GB, free: 13.08 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0015/1.276, allocations: 355.1 kB / 1.127 GB, free: 12.75 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001318/1.278, allocations: 1.685 MB / 1.129 GB, free: 10.94 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002145/1.28, allocations: 108 kB / 1.129 GB, free: 10.83 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001829/1.28, allocations: 60 kB / 1.129 GB, free: 10.77 MB / 0.795 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization_lambda0 system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.TSet.count,$PRE.TSet.T_start,TSet.count,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 (183): * Single equations (assignments): 178 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004364/1.281, allocations: 278.3 kB / 1.13 GB, free: 10.52 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005473/1.281, allocations: 221.2 kB / 1.13 GB, free: 10.3 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003514/1.285, allocations: 1.44 MB / 1.131 GB, free: 8.848 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00263/1.287, allocations: 1.159 MB / 1.132 GB, free: 7.672 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/1.287, allocations: 2.625 kB / 1.132 GB, free: 7.672 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001197/1.288, allocations: 438 kB / 1.133 GB, free: 7.223 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005857/1.289, allocations: 20 kB / 1.133 GB, free: 7.203 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001505/1.291, allocations: 80.48 kB / 1.133 GB, free: 7.125 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001699/1.291, allocations: 68.89 kB / 1.133 GB, free: 7.055 MB / 0.795 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004021/1.295, allocations: 1.518 MB / 1.134 GB, free: 5.547 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004367/1.299, allocations: 2.182 MB / 1.136 GB, free: 3.348 MB / 0.795 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001219/1.3, allocations: 0.5934 MB / 1.137 GB, free: 2.758 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.002478/1.303, allocations: 1.426 MB / 1.138 GB, free: 1.32 MB / 0.795 GB Notification: Performance of Backend: time 7.71e-07/1.303, allocations: 2.625 kB / 1.138 GB, free: 1.32 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.00882/1.312, allocations: 3.473 MB / 1.142 GB, free: 13.94 MB / 0.8106 GB Notification: Performance of SimCode: time 0.01107/1.323, allocations: 5.568 MB / 1.147 GB, free: 8.352 MB / 0.8106 GB Notification: Performance of Templates: time 0.09266/1.416, allocations: 58.15 MB / 1.204 GB, free: 14.92 MB / 0.8731 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.AirHeater_u.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.AirHeater_u.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.AirHeater_u.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.AirHeater_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.AirHeater_u.pipe 2>&1)