Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.HeatExchangers.Examples.AirHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.AirHeater_u") translateModel(IBPSA.Fluid.HeatExchangers.Examples.AirHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001021/0.001021, allocations: 90.55 kB / 16.67 MB, free: 6.598 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.0009072/0.0009072, allocations: 179.3 kB / 17.57 MB, free: 6.184 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.389/1.389, allocations: 223.3 MB / 241.6 MB, free: 14.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7224/0.7224, allocations: 115.5 MB / 408.2 MB, free: 7.117 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003388/0.0003388, allocations: 8 kB / 496.5 MB, free: 15.74 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4337/0.434, allocations: 77.52 MB / 0.5606 GB, free: 35.45 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Examples.AirHeater_u): time 0.6516/1.086, allocations: 255.1 MB / 0.8097 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02884/1.115, allocations: 18.85 MB / 0.8281 GB, free: 1.062 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005537/1.12, allocations: 85.5 kB / 0.8282 GB, free: 1.062 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.01008/1.13, allocations: 4.458 MB / 0.8326 GB, free: 0.9609 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01319/1.144, allocations: 3.767 MB / 0.8362 GB, free: 392 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.007824/1.151, allocations: 2.342 MB / 0.8385 GB, free: 15.89 MB / 0.5919 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1080:9-1080:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.3240000000000001}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.0163/1.168, allocations: 10.81 MB / 0.8491 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004017/1.172, allocations: 1.799 MB / 0.8508 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006846/1.179, allocations: 2.306 MB / 0.8531 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004952/1.184, allocations: 1.802 MB / 0.8548 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0005801/1.184, allocations: 94.25 kB / 0.8549 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0111/1.195, allocations: 4.669 MB / 0.8595 GB, free: 8.273 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001794/1.197, allocations: 0.847 MB / 0.8603 GB, free: 7.445 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002825/1.2, allocations: 1.379 MB / 0.8617 GB, free: 6.078 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.007483/1.207, allocations: 4.125 MB / 0.8657 GB, free: 2.148 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/1.208, allocations: 0 / 0.8657 GB, free: 2.148 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.535e-06/1.208, allocations: 0 / 0.8657 GB, free: 2.148 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001768/1.208, allocations: 0 / 0.8657 GB, free: 2.148 MB / 0.5919 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.008004/1.216, allocations: 3.007 MB / 0.8686 GB, free: 15.1 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/1.216, allocations: 8.031 kB / 0.8686 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006178/1.222, allocations: 0.9288 MB / 0.8695 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005691/1.228, allocations: 2.83 MB / 0.8723 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004591/1.228, allocations: 193.7 kB / 0.8725 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003578/1.229, allocations: 163.9 kB / 0.8727 GB, free: 11 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003947/1.232, allocations: 1.871 MB / 0.8745 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.877e-05/1.233, allocations: 0 / 0.8745 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001767/1.233, allocations: 64 kB / 0.8745 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.242e-05/1.233, allocations: 62.89 kB / 0.8746 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003811/1.237, allocations: 1.649 MB / 0.8762 GB, free: 7.312 MB / 0.6075 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.01449/1.251, allocations: 8.727 MB / 0.8847 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003088/1.254, allocations: 1.815 MB / 0.8865 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001529/1.256, allocations: 0.6981 MB / 0.8872 GB, free: 11.46 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005857/1.256, allocations: 238 kB / 0.8874 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001615/1.258, allocations: 0.6912 MB / 0.8881 GB, free: 10.5 MB / 0.6231 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001229/1.259, allocations: 138.8 kB / 0.8882 GB, free: 10.36 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=101): time 6.603e-06/1.259, allocations: 0 / 0.8882 GB, free: 10.36 MB / 0.6231 GB Notification: Performance of matching and sorting (n=104): time 0.01059/1.27, allocations: 3.835 MB / 0.892 GB, free: 6.453 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.534e-05/1.27, allocations: 64.41 kB / 0.892 GB, free: 6.379 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004175/1.274, allocations: 2.116 MB / 0.8941 GB, free: 4.242 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0002344/1.274, allocations: 49.7 kB / 0.8941 GB, free: 4.188 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001303/1.276, allocations: 1.104 MB / 0.8952 GB, free: 3.078 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005268/1.276, allocations: 370.2 kB / 0.8956 GB, free: 2.719 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003315/1.277, allocations: 177.6 kB / 0.8957 GB, free: 2.539 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001178/1.277, allocations: 301.1 kB / 0.896 GB, free: 2.242 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001738/1.279, allocations: 0.7418 MB / 0.8968 GB, free: 1.5 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001964/1.281, allocations: 1.143 MB / 0.8979 GB, free: 228 kB / 0.6231 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.01719/1.298, allocations: 4.931 MB / 0.9027 GB, free: 11.17 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.211e-05/1.298, allocations: 0 / 0.9027 GB, free: 11.17 MB / 0.6387 GB Notification: Performance of matching and sorting (n=223) (initialization): time 0.005147/1.303, allocations: 2.233 MB / 0.9049 GB, free: 8.965 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003283/1.303, allocations: 372.4 kB / 0.9052 GB, free: 8.48 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.206e-05/1.303, allocations: 8 kB / 0.9052 GB, free: 8.473 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002207/1.304, allocations: 59.36 kB / 0.9053 GB, free: 8.414 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001561/1.305, allocations: 363.3 kB / 0.9056 GB, free: 8.078 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001531/1.307, allocations: 1.509 MB / 0.9071 GB, free: 6.449 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002743/1.309, allocations: 224.2 kB / 0.9073 GB, free: 6.227 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002135/1.31, allocations: 63.98 kB / 0.9074 GB, free: 6.164 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/1.31, allocations: 5.875 kB / 0.9074 GB, free: 6.16 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004441/1.314, allocations: 2.005 MB / 0.9093 GB, free: 4.203 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.616e-05/1.314, allocations: 16.72 kB / 0.9094 GB, free: 4.188 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001562/1.314, allocations: 48.94 kB / 0.9094 GB, free: 4.137 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001518/1.316, allocations: 368.2 kB / 0.9098 GB, free: 3.797 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001353/1.317, allocations: 1.514 MB / 0.9112 GB, free: 2.164 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002586/1.32, allocations: 220.6 kB / 0.9114 GB, free: 1.949 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001736/1.32, allocations: 63.98 kB / 0.9115 GB, free: 1.887 MB / 0.6387 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: 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 (185): * Single equations (assignments): 180 * 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.001477/1.322, allocations: 0.6974 MB / 0.9122 GB, free: 1.203 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005864/1.322, allocations: 233.1 kB / 0.9124 GB, free: 0.9727 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00382/1.326, allocations: 1.492 MB / 0.9139 GB, free: 15.46 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.251e-05/1.326, allocations: 12 kB / 0.9139 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/1.326, allocations: 0 / 0.9139 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002774/1.329, allocations: 1.218 MB / 0.9151 GB, free: 14.22 MB / 0.6544 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 postOpt removeSimpleEquations (simulation): time 0.008543/1.337, allocations: 3.829 MB / 0.9188 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.504e-06/1.337, allocations: 0 / 0.9188 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001251/1.339, allocations: 251.6 kB / 0.9191 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002688/1.339, allocations: 69.66 kB / 0.9191 GB, free: 10.01 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000101/1.339, allocations: 35.98 kB / 0.9192 GB, free: 9.977 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002264/1.341, allocations: 2.755 MB / 0.9218 GB, free: 6.969 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/1.341, allocations: 4.031 kB / 0.9218 GB, free: 6.965 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004951/1.346, allocations: 2.222 MB / 0.924 GB, free: 4.707 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001248/1.348, allocations: 438 kB / 0.9244 GB, free: 4.258 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005689/1.348, allocations: 24 kB / 0.9245 GB, free: 4.234 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002039/1.35, allocations: 186.6 kB / 0.9246 GB, free: 4.055 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001854/1.35, allocations: 80.83 kB / 0.9247 GB, free: 3.977 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001014/1.35, allocations: 35.98 kB / 0.9247 GB, free: 3.941 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.002989/1.353, allocations: 1.415 MB / 0.9261 GB, free: 2.516 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.084e-06/1.353, allocations: 0 / 0.9261 GB, free: 2.516 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.004606/1.358, allocations: 1.085 MB / 0.9272 GB, free: 1.434 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 9 (vol.dynBal.medium.Xi[1],vol.dynBal.U,mov.filter.s[1],mov.filter.s[2],conPI.I.y,THeaOut.T,hea.vol.dynBal.medium.Xi[1],hea.vol.dynBal.U,hea.vol.dynBal.m) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001489/1.36, allocations: 0.4977 MB / 0.9277 GB, free: 0.9648 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.006423/1.366, allocations: 3.032 MB / 0.9306 GB, free: 13.96 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/1.366, allocations: 0 / 0.9306 GB, free: 13.96 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001766/1.368, allocations: 0.8736 MB / 0.9315 GB, free: 13.09 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006662/1.375, allocations: 1.126 MB / 0.9326 GB, free: 11.99 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01126/1.386, allocations: 5.781 MB / 0.9382 GB, free: 6.156 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001991/1.388, allocations: 1.751 MB / 0.9399 GB, free: 4.375 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008582/1.389, allocations: 183.4 kB / 0.9401 GB, free: 4.195 MB / 0.67 GB Notification: Performance of SimCode: time 6.01e-07/1.389, allocations: 0 / 0.9401 GB, free: 4.195 MB / 0.67 GB Notification: Performance of Templates: time 0.07918/1.468, allocations: 54.77 MB / 0.9936 GB, free: 13.66 MB / 0.7325 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.AirHeater_u.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.AirHeater_u.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.AirHeater_u.sim & ./IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.AirHeater_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.AirHeater_u.pipe 2>&1)