Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u") translateModel(IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001128/0.001128, allocations: 109.5 kB / 16.42 MB, free: 5.918 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.0011/0.0011, allocations: 191 kB / 17.35 MB, free: 5.555 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.333/1.333, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8228/0.8228, allocations: 132.2 MB / 423.4 MB, free: 6.547 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001436, allocations: 69.94 kB / 0.582 GB, free: 23.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1534/0.1549, allocations: 80.2 MB / 0.6604 GB, free: 10.22 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter mov.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u): time 0.6074/0.7623, allocations: 260.4 MB / 0.9147 GB, free: 1.305 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02436/0.7867, allocations: 16.96 MB / 0.9312 GB, free: 300 kB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003568/0.7904, allocations: 99.44 kB / 0.9313 GB, free: 200 kB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.004142/0.7945, allocations: 1.468 MB / 0.9328 GB, free: 14.72 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.01057/0.8051, allocations: 4.15 MB / 0.9368 GB, free: 10.55 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.006424/0.8115, allocations: 2.579 MB / 0.9393 GB, free: 7.996 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.008207/0.8198, allocations: 5.89 MB / 0.9451 GB, free: 2.09 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00322/0.823, allocations: 2.16 MB / 0.9472 GB, free: 15.88 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005642/0.8287, allocations: 2.83 MB / 0.95 GB, free: 13.04 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003671/0.8324, allocations: 1.777 MB / 0.9517 GB, free: 11.27 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0007764/0.8331, allocations: 236 kB / 0.9519 GB, free: 11.04 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007949/0.8411, allocations: 4.069 MB / 0.9559 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001343/0.8425, allocations: 0.8725 MB / 0.9567 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.002446/0.8449, allocations: 1.365 MB / 0.9581 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.009802/0.8548, allocations: 5.03 MB / 0.963 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.758e-06/0.8548, allocations: 0 / 0.963 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.232e-06/0.8548, allocations: 0 / 0.963 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.000118/0.8549, allocations: 0 / 0.963 GB, free: 15.66 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: 377 * Number of variables: 377 Notification: Performance of Generate backend data structure: time 0.006723/0.8617, allocations: 3.199 MB / 0.9661 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.8617, allocations: 8.031 kB / 0.9661 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005295/0.867, allocations: 0.8062 MB / 0.9669 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004035/0.8711, allocations: 1.897 MB / 0.9688 GB, free: 9.625 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001203/0.8712, allocations: 126.9 kB / 0.9689 GB, free: 9.5 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003721/0.8716, allocations: 160 kB / 0.969 GB, free: 9.344 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00368/0.8753, allocations: 1.822 MB / 0.9708 GB, free: 7.457 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.264e-05/0.8753, allocations: 7.891 kB / 0.9708 GB, free: 7.449 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001639/0.8755, allocations: 64 kB / 0.9709 GB, free: 7.387 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.574e-05/0.8756, allocations: 58.86 kB / 0.9709 GB, free: 7.328 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003377/0.879, allocations: 1.553 MB / 0.9725 GB, free: 5.77 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.01191/0.8909, allocations: 8.355 MB / 0.9806 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002531/0.8934, allocations: 1.739 MB / 0.9823 GB, free: 10.91 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001339/0.8948, allocations: 0.6712 MB / 0.983 GB, free: 10.24 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005013/0.8953, allocations: 223.9 kB / 0.9832 GB, free: 9.98 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001387/0.8967, allocations: 0.661 MB / 0.9838 GB, free: 9.305 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=100): time 3.687e-06/0.8967, allocations: 0 / 0.9838 GB, free: 9.305 MB / 0.7481 GB Notification: Performance of matching and sorting (n=103): time 0.008331/0.9051, allocations: 3.661 MB / 0.9874 GB, free: 5.57 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.72e-05/0.9051, allocations: 60.41 kB / 0.9875 GB, free: 5.496 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002351/0.9075, allocations: 1.548 MB / 0.989 GB, free: 3.902 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001463/0.9076, allocations: 53.7 kB / 0.989 GB, free: 3.844 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007805/0.9084, allocations: 0.9693 MB / 0.99 GB, free: 2.863 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003559/0.9088, allocations: 380.8 kB / 0.9903 GB, free: 2.488 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003967/0.9092, allocations: 242.8 kB / 0.9906 GB, free: 2.246 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.9093, allocations: 349.9 kB / 0.9909 GB, free: 1.898 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001199/0.9105, allocations: 0.5525 MB / 0.9914 GB, free: 1.34 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001546/0.9121, allocations: 0.8881 MB / 0.9923 GB, free: 324 kB / 0.7481 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.0159/0.928, allocations: 4.259 MB / 0.9965 GB, free: 11.92 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.045e-05/0.928, allocations: 4 kB / 0.9965 GB, free: 11.92 MB / 0.7637 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.00368/0.9317, allocations: 1.693 MB / 0.9981 GB, free: 10.21 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 4.085e-05/0.9318, allocations: 33.7 kB / 0.9982 GB, free: 10.17 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.81e-05/0.9318, allocations: 12 kB / 0.9982 GB, free: 10.16 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001688/0.932, allocations: 49.38 kB / 0.9982 GB, free: 10.11 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001327/0.9333, allocations: 295.6 kB / 0.9985 GB, free: 9.816 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001299/0.9346, allocations: 1.675 MB / 1 GB, free: 8.004 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001669/0.9363, allocations: 93.33 kB / 1 GB, free: 7.918 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001234/0.9365, allocations: 51.98 kB / 1 GB, free: 7.867 MB / 0.7637 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.001992/0.9385, allocations: 0.9631 MB / 1.001 GB, free: 6.898 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001425/0.9399, allocations: 0.8647 MB / 1.002 GB, free: 5.898 MB / 0.7637 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.01516/0.9551, allocations: 4.164 MB / 1.006 GB, free: 1.59 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.562e-06/0.9551, allocations: 0 / 1.006 GB, free: 1.59 MB / 0.7637 GB Notification: Performance of matching and sorting (n=155) (initialization_lambda0): time 0.003602/0.9587, allocations: 1.678 MB / 1.008 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.642e-05/0.9588, allocations: 33.7 kB / 1.008 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/0.9588, allocations: 8 kB / 1.008 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001345/0.9589, allocations: 49.45 kB / 1.008 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001308/0.9602, allocations: 295.6 kB / 1.008 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001232/0.9615, allocations: 1.674 MB / 1.01 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001677/0.9632, allocations: 88.59 kB / 1.01 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001262/0.9633, allocations: 63.92 kB / 1.01 GB, free: 13.54 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_lambda0 system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * 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 (149): * Single equations (assignments): 145 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * 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.0003498/0.9637, allocations: 259.2 kB / 1.01 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004252/0.9641, allocations: 198.7 kB / 1.01 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003222/0.9673, allocations: 1.424 MB / 1.012 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002454/0.9698, allocations: 1.164 MB / 1.013 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.9698, allocations: 0 / 1.013 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008042/0.9706, allocations: 383.7 kB / 1.013 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000328/0.971, allocations: 23.98 kB / 1.013 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00123/0.9722, allocations: 74.75 kB / 1.013 GB, free: 9.98 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001747/0.9724, allocations: 64.91 kB / 1.013 GB, free: 9.918 MB / 0.7794 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003841/0.9762, allocations: 1.495 MB / 1.015 GB, free: 8.41 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004119/0.9804, allocations: 2.226 MB / 1.017 GB, free: 6.168 MB / 0.7794 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001144/0.9815, allocations: 0.5856 MB / 1.018 GB, free: 5.582 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001679/0.9832, allocations: 1.039 MB / 1.019 GB, free: 4.52 MB / 0.7794 GB Notification: Performance of Backend: time 7.41e-07/0.9832, allocations: 0 / 1.019 GB, free: 4.52 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.007144/0.9904, allocations: 2.818 MB / 1.021 GB, free: 1.66 MB / 0.7794 GB Notification: Performance of SimCode: time 0.008965/0.9994, allocations: 4.825 MB / 1.026 GB, free: 12.81 MB / 0.795 GB Notification: Performance of Templates: time 0.4009/1.4, allocations: 49.76 MB / 1.075 GB, free: 305.2 MB / 0.8106 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u.makefile (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u.sim & ./IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u.pipe 2>&1)