Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008927/0.0008927, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.000969/0.000969, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.359/1.359, allocations: 223.2 MB / 240 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9501/0.9501, allocations: 135.3 MB / 426.4 MB, free: 14.36 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003727/0.0003727, allocations: 12 kB / 0.507 GB, free: 5.156 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2025/0.2029, allocations: 82.32 MB / 0.5874 GB, free: 3.008 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.3521/0.555, allocations: 38.29 MB / 0.6248 GB, free: 33.12 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01258/0.5676, allocations: 9.727 MB / 0.6343 GB, free: 26.13 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002377/0.57, allocations: 56.81 kB / 0.6343 GB, free: 26.1 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001917/0.572, allocations: 467.1 kB / 0.6348 GB, free: 25.85 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005036/0.577, allocations: 1.456 MB / 0.6362 GB, free: 25.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003345/0.5804, allocations: 0.8594 MB / 0.637 GB, free: 24.61 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005131/0.5855, allocations: 3.844 MB / 0.6408 GB, free: 23.04 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001161/0.5867, allocations: 0.7544 MB / 0.6415 GB, free: 22.76 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001827/0.5885, allocations: 0.9851 MB / 0.6425 GB, free: 22.36 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009774/0.5895, allocations: 0.8086 MB / 0.6433 GB, free: 22.03 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.811e-05/0.5896, allocations: 39.25 kB / 0.6433 GB, free: 22.03 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001445/0.5911, allocations: 495.3 kB / 0.6438 GB, free: 21.86 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001863/0.5913, allocations: 200.7 kB / 0.644 GB, free: 21.76 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002704/0.5915, allocations: 256.2 kB / 0.6442 GB, free: 21.62 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001219/0.5928, allocations: 1.375 MB / 0.6456 GB, free: 21.27 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.5928, allocations: 2.625 kB / 0.6456 GB, free: 21.27 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.603e-06/0.5928, allocations: 3.938 kB / 0.6456 GB, free: 21.27 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.423e-05/0.5928, allocations: 0 / 0.6456 GB, free: 21.27 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.001876/0.5947, allocations: 1.314 MB / 0.6468 GB, free: 20.37 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/0.5947, allocations: 8.906 kB / 0.6469 GB, free: 20.37 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003002/0.595, allocations: 137.1 kB / 0.647 GB, free: 20.31 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001363/0.5964, allocations: 1.041 MB / 0.648 GB, free: 19.68 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.288e-05/0.5965, allocations: 54.47 kB / 0.6481 GB, free: 19.66 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.036e-05/0.5966, allocations: 70.97 kB / 0.6481 GB, free: 19.63 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001188/0.5978, allocations: 0.7962 MB / 0.6489 GB, free: 19.26 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.317e-05/0.5978, allocations: 3.906 kB / 0.6489 GB, free: 19.26 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.954e-05/0.5979, allocations: 35.64 kB / 0.6489 GB, free: 19.23 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.698e-05/0.5979, allocations: 17.72 kB / 0.649 GB, free: 19.23 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009951/0.5989, allocations: 0.5836 MB / 0.6495 GB, free: 19.04 MB / 0.4981 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.003062/0.602, allocations: 3.548 MB / 0.653 GB, free: 16.45 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005053/0.6025, allocations: 275.1 kB / 0.6532 GB, free: 16.34 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002999/0.6028, allocations: 190.3 kB / 0.6534 GB, free: 16.28 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003574/0.6032, allocations: 0.6535 MB / 0.6541 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.758e-05/0.6032, allocations: 33.75 kB / 0.6541 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=31): time 1.934e-06/0.6032, allocations: 4 kB / 0.6541 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31): time 0.00108/0.6043, allocations: 0.5406 MB / 0.6546 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.352e-05/0.6043, allocations: 59.44 kB / 0.6547 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001172/0.6055, allocations: 0.9185 MB / 0.6556 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.539e-05/0.6055, allocations: 33.33 kB / 0.6556 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000353/0.6059, allocations: 0.4998 MB / 0.6561 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.415e-05/0.606, allocations: 115.8 kB / 0.6562 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.462e-05/0.606, allocations: 10.12 kB / 0.6562 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.607e-05/0.6061, allocations: 326.9 kB / 0.6565 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003817/0.6065, allocations: 172.3 kB / 0.6567 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000466/0.607, allocations: 353.3 kB / 0.657 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004723/0.6075, allocations: 239.3 kB / 0.6573 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.6075, allocations: 5.656 kB / 0.6573 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001336/0.6088, allocations: 0.6254 MB / 0.6579 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.464e-05/0.6088, allocations: 12.08 kB / 0.6579 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.61e-05/0.6089, allocations: 4.625 kB / 0.6579 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.341e-05/0.6089, allocations: 8.375 kB / 0.6579 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005129/0.6094, allocations: 133.5 kB / 0.658 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.19e-05/0.6095, allocations: 8.938 kB / 0.658 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008443/0.6103, allocations: 119.7 kB / 0.6582 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.338e-05/0.6104, allocations: 29.31 kB / 0.6582 GB, free: 13.22 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (65): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004612/0.6109, allocations: 280 kB / 0.6585 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001612/0.611, allocations: 99.52 kB / 0.6585 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001132/0.6122, allocations: 0.5029 MB / 0.659 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.931e-05/0.6122, allocations: 4.453 kB / 0.659 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.947e-06/0.6122, allocations: 0.8125 kB / 0.659 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007597/0.613, allocations: 469.3 kB / 0.6595 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00221/0.6152, allocations: 1.387 MB / 0.6608 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.6152, allocations: 1.469 kB / 0.6608 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003526/0.6156, allocations: 86.77 kB / 0.6609 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.213e-06/0.6156, allocations: 2.938 kB / 0.6609 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.669e-05/0.6156, allocations: 10.17 kB / 0.6609 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.382e-06/0.6156, allocations: 3.172 kB / 0.6609 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/0.6156, allocations: 4.594 kB / 0.6609 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001248/0.6169, allocations: 0.7891 MB / 0.6617 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003674/0.6173, allocations: 244.8 kB / 0.662 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001131/0.6174, allocations: 8.797 kB / 0.662 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005348/0.6179, allocations: 64.2 kB / 0.662 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.999e-05/0.618, allocations: 25.77 kB / 0.662 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.179e-05/0.6181, allocations: 24.34 kB / 0.6621 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0009687/0.6191, allocations: 0.6392 MB / 0.6627 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.1e-07/0.6191, allocations: 0 / 0.6627 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001087/0.6202, allocations: 333.7 kB / 0.663 GB, free: 10.76 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (fouPor.vol1.dynBal.U,fouPor.vol2.dynBal.U) * 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 (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006667/0.6208, allocations: 356.6 kB / 0.6634 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009631/0.6218, allocations: 442.4 kB / 0.6638 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/0.6218, allocations: 4.062 kB / 0.6638 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003891/0.6222, allocations: 200 kB / 0.664 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002878/0.6251, allocations: 0.5984 MB / 0.6646 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002928/0.6281, allocations: 1.957 MB / 0.6665 GB, free: 9.047 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005889/0.6287, allocations: 1.034 MB / 0.6675 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001013/0.6297, allocations: 198.3 kB / 0.6677 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001834/0.6299, allocations: 83.8 kB / 0.6677 GB, free: 8.254 MB / 0.4981 GB Notification: Performance of SimCode: time 9.02e-07/0.6299, allocations: 0 / 0.6677 GB, free: 8.254 MB / 0.4981 GB Notification: Performance of Templates: time 0.05062/0.6805, allocations: 19.52 MB / 0.6868 GB, free: 2.27 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1)