Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.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.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams") translateModel(IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001527/0.001527, allocations: 104.9 kB / 15.98 MB, free: 6.355 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.001797/0.001797, allocations: 196.5 kB / 16.91 MB, free: 6.191 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.358/1.358, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8203/0.8203, allocations: 132.2 MB / 422.9 MB, free: 6.844 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.00116, allocations: 59.91 kB / 0.5019 GB, free: 12.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4487/0.4499, allocations: 80.19 MB / 0.5802 GB, free: 26.8 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams): time 0.6757/1.126, allocations: 211.5 MB / 0.7868 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01149/1.137, allocations: 6.997 MB / 0.7936 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002596/1.14, allocations: 39.03 kB / 0.7936 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002377/1.142, allocations: 0.6923 MB / 0.7943 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007226/1.15, allocations: 2.356 MB / 0.7966 GB, free: 1.328 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003462/1.153, allocations: 1.065 MB / 0.7977 GB, free: 1.301 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004832/1.158, allocations: 2.828 MB / 0.8004 GB, free: 1.289 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001804/1.16, allocations: 1.085 MB / 0.8015 GB, free: 1.164 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004987/1.165, allocations: 1.974 MB / 0.8034 GB, free: 1.137 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002647/1.167, allocations: 0.9783 MB / 0.8044 GB, free: 1.117 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002432/1.168, allocations: 117.2 kB / 0.8045 GB, free: 1.117 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004789/1.172, allocations: 2.572 MB / 0.807 GB, free: 1.094 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004993/1.173, allocations: 427.7 kB / 0.8074 GB, free: 1.043 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0009879/1.174, allocations: 0.6913 MB / 0.8081 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003014/1.177, allocations: 1.853 MB / 0.8099 GB, free: 0.7109 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/1.177, allocations: 1.031 kB / 0.8099 GB, free: 0.7109 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.954e-06/1.177, allocations: 0 / 0.8099 GB, free: 0.7109 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.526e-05/1.177, allocations: 0 / 0.8099 GB, free: 0.7109 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.004581/1.182, allocations: 1.849 MB / 0.8117 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/1.182, allocations: 11.83 kB / 0.8117 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003103/1.185, allocations: 0.5331 MB / 0.8122 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001832/1.187, allocations: 0.9522 MB / 0.8132 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006102/1.187, allocations: 182 kB / 0.8133 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001606/1.187, allocations: 87.48 kB / 0.8134 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002749/1.19, allocations: 1.231 MB / 0.8146 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.262e-05/1.19, allocations: 8.359 kB / 0.8146 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001071/1.19, allocations: 29.91 kB / 0.8146 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-05/1.19, allocations: 45.91 kB / 0.8147 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003439/1.194, allocations: 1.549 MB / 0.8162 GB, free: 15.3 MB / 0.5919 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.006843/1.201, allocations: 4.045 MB / 0.8202 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00234/1.203, allocations: 0.994 MB / 0.8211 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001353/1.204, allocations: 0.6624 MB / 0.8218 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001116/1.206, allocations: 0.6116 MB / 0.8224 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.129e-05/1.206, allocations: 46.69 kB / 0.8224 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=76): time 3.116e-06/1.206, allocations: 4 kB / 0.8224 GB, free: 13 MB / 0.5919 GB Notification: Performance of matching and sorting (n=76): time 0.004999/1.211, allocations: 1.812 MB / 0.8242 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.938e-05/1.211, allocations: 59.66 kB / 0.8242 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001755/1.212, allocations: 0.8216 MB / 0.825 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001563/1.213, allocations: 43.73 kB / 0.8251 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003701/1.213, allocations: 438.5 kB / 0.8255 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002539/1.213, allocations: 265.4 kB / 0.8258 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003054/1.214, allocations: 159.5 kB / 0.8259 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001305/1.214, allocations: 341.7 kB / 0.8262 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001397/1.215, allocations: 0.5382 MB / 0.8268 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001685/1.217, allocations: 0.6582 MB / 0.8274 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00305/1.22, allocations: 1.163 MB / 0.8285 GB, free: 9.949 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.344e-06/1.22, allocations: 0 / 0.8285 GB, free: 9.949 MB / 0.5919 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003925/1.224, allocations: 1.359 MB / 0.8299 GB, free: 9.281 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 7.478e-05/1.224, allocations: 43.25 kB / 0.8299 GB, free: 9.238 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/1.224, allocations: 2.969 kB / 0.8299 GB, free: 9.238 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.621e-05/1.224, allocations: 2.531 kB / 0.8299 GB, free: 9.238 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001574/1.226, allocations: 266.9 kB / 0.8302 GB, free: 9.164 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008339/1.226, allocations: 1.192 MB / 0.8313 GB, free: 7.961 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001488/1.228, allocations: 171.6 kB / 0.8315 GB, free: 7.875 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001178/1.228, allocations: 36.23 kB / 0.8315 GB, free: 7.863 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001944/1.23, allocations: 0.7636 MB / 0.8323 GB, free: 7.434 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001494/1.232, allocations: 0.662 MB / 0.8329 GB, free: 7.059 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002727/1.234, allocations: 1.144 MB / 0.834 GB, free: 6.461 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.817e-06/1.234, allocations: 2.375 kB / 0.834 GB, free: 6.461 MB / 0.5919 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.003418/1.238, allocations: 1.353 MB / 0.8354 GB, free: 5.359 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.867e-05/1.238, allocations: 40.19 kB / 0.8354 GB, free: 5.316 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/1.238, allocations: 8.062 kB / 0.8354 GB, free: 5.309 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.009e-05/1.238, allocations: 4 kB / 0.8354 GB, free: 5.305 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001208/1.239, allocations: 228.5 kB / 0.8356 GB, free: 5.09 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.379e-05/1.239, allocations: 7.938 kB / 0.8356 GB, free: 5.082 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001378/1.24, allocations: 167.4 kB / 0.8358 GB, free: 4.918 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001021/1.241, allocations: 43.17 kB / 0.8358 GB, free: 4.879 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 (hex.i2_w,hex.i1_w) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003521/1.241, allocations: 221.1 kB / 0.836 GB, free: 4.664 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003417/1.241, allocations: 106.7 kB / 0.8362 GB, free: 4.559 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003585/1.245, allocations: 1.358 MB / 0.8375 GB, free: 3.195 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.196e-05/1.245, allocations: 11.94 kB / 0.8375 GB, free: 3.184 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/1.245, allocations: 3.938 kB / 0.8375 GB, free: 3.18 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/1.245, allocations: 3.984 kB / 0.8375 GB, free: 3.176 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006015/1.251, allocations: 2.867 MB / 0.8403 GB, free: 260 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.036e-05/1.251, allocations: 4 kB / 0.8403 GB, free: 256 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001269/1.252, allocations: 232.7 kB / 0.8405 GB, free: 32 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.672e-05/1.252, allocations: 8 kB / 0.8405 GB, free: 24 kB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001026/1.252, allocations: 31.97 kB / 0.8406 GB, free: 15.99 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006614/1.253, allocations: 1.19 MB / 0.8417 GB, free: 14.76 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.144e-06/1.253, allocations: 6.906 kB / 0.8417 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00345/1.256, allocations: 1.469 MB / 0.8432 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000745/1.257, allocations: 311.4 kB / 0.8435 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002737/1.258, allocations: 16 kB / 0.8435 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001454/1.259, allocations: 147.8 kB / 0.8436 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001572/1.259, allocations: 63.42 kB / 0.8437 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001006/1.259, allocations: 39.98 kB / 0.8437 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001069/1.26, allocations: 0.5661 MB / 0.8443 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/1.26, allocations: 0 / 0.8443 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001937/1.262, allocations: 0.538 MB / 0.8448 GB, free: 11.53 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 simulation (76): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000699/1.263, allocations: 275.7 kB / 0.8451 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.005769/1.269, allocations: 2.144 MB / 0.8472 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/1.269, allocations: 0 / 0.8472 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001736/1.271, allocations: 0.6747 MB / 0.8478 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002915/1.273, allocations: 0.4969 MB / 0.8483 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005223/1.279, allocations: 2.557 MB / 0.8508 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008405/1.28, allocations: 1.093 MB / 0.8519 GB, free: 4.273 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005625/1.28, allocations: 103.4 kB / 0.852 GB, free: 4.172 MB / 0.6075 GB Notification: Performance of SimCode: time 9.62e-07/1.28, allocations: 4 kB / 0.852 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of Templates: time 0.03804/1.318, allocations: 26.75 MB / 0.8781 GB, free: 9.59 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.makefile (rm -f IDEAS_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; mkfifo IDEAS_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe >> ../files/IDEAS_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.sim & ./IDEAS_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe 2>&1)