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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams,fileNamePrefix="IDEAS_IDEAS_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams,fileNamePrefix="IDEAS_IDEAS_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 175.2 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.829/0.829, allocations: 133.4 MB / 146.7 MB, free: 10.79 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.661/1.661, allocations: 221.3 MB / 400.4 MB, free: 5.883 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 99.38 kB / 483.3 MB, free: 5.902 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.85e-05/3.853e-05, allocations: 2.969 kB / 0.5601 GB, free: 87.89 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2175/0.2176, allocations: 82.3 MB / 0.6405 GB, free: 7.754 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.716/5.934, allocations: 1.859 GB / 2.499 GB, free: 36.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002241/5.934, allocations: 85.27 kB / 2.499 GB, free: 36.75 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.004/9.938, allocations: 1.01 GB / 3.509 GB, free: 75.09 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.784e-06/9.938, allocations: 0 / 3.509 GB, free: 75.09 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.925e-05/9.939, allocations: 27.98 kB / 3.509 GB, free: 75.07 MB / 0.698 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.006504/9.945, allocations: 1.787 MB / 3.511 GB, free: 73.23 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.874e-05/9.945, allocations: 19.19 kB / 3.511 GB, free: 73.21 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002494/9.945, allocations: 131.1 kB / 3.511 GB, free: 73.07 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003209/9.949, allocations: 0.5426 MB / 3.512 GB, free: 72.55 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002658/9.951, allocations: 1.074 MB / 3.513 GB, free: 71.44 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005941/9.952, allocations: 195.8 kB / 3.513 GB, free: 71.26 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001539/9.952, allocations: 83.98 kB / 3.513 GB, free: 71.18 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00183/9.954, allocations: 1.149 MB / 3.514 GB, free: 70.02 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.822e-05/9.954, allocations: 0 / 3.514 GB, free: 70.02 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001006/9.954, allocations: 28 kB / 3.514 GB, free: 69.99 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-05/9.954, allocations: 41.98 kB / 3.514 GB, free: 69.95 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001598/9.956, allocations: 1.113 MB / 3.515 GB, free: 68.84 MB / 0.698 GB Warning: The model contains alias variables with conflicting start and/or 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.00642/9.962, allocations: 4.204 MB / 3.519 GB, free: 64.41 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001123/9.963, allocations: 0.7484 MB / 3.52 GB, free: 63.65 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006515/9.964, allocations: 0.512 MB / 3.521 GB, free: 63.14 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008859/9.965, allocations: 0.6116 MB / 3.521 GB, free: 62.42 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.493e-05/9.965, allocations: 39.34 kB / 3.521 GB, free: 62.38 MB / 0.698 GB Notification: Performance of pre-optimization done (n=76): time 3.847e-06/9.965, allocations: 0 / 3.521 GB, free: 62.38 MB / 0.698 GB Notification: Performance of matching and sorting (n=76): time 0.001892/9.967, allocations: 1.018 MB / 3.522 GB, free: 61.35 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.208e-05/9.967, allocations: 60.19 kB / 3.522 GB, free: 61.28 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008186/9.968, allocations: 0.7049 MB / 3.523 GB, free: 60.55 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.04e-05/9.968, allocations: 45.7 kB / 3.523 GB, free: 60.5 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002603/9.968, allocations: 436.6 kB / 3.523 GB, free: 60.07 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001764/9.968, allocations: 268.2 kB / 3.524 GB, free: 59.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.18e-05/9.968, allocations: 12 kB / 3.524 GB, free: 59.79 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.189e-05/9.968, allocations: 337.9 kB / 3.524 GB, free: 59.45 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000571/9.969, allocations: 405.4 kB / 3.524 GB, free: 59.06 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006441/9.97, allocations: 0.553 MB / 3.525 GB, free: 58.46 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005954/9.97, allocations: 466.2 kB / 3.525 GB, free: 58 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/9.97, allocations: 4 kB / 3.525 GB, free: 58 MB / 0.698 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001603/9.972, allocations: 1.094 MB / 3.526 GB, free: 56.89 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001229/9.972, allocations: 481.8 kB / 3.527 GB, free: 56.38 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/9.972, allocations: 4 kB / 3.527 GB, free: 56.38 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.123e-05/9.972, allocations: 4 kB / 3.527 GB, free: 56.38 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001557/9.974, allocations: 279.6 kB / 3.527 GB, free: 56.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005151/9.974, allocations: 1.188 MB / 3.528 GB, free: 54.87 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001363/9.975, allocations: 199.2 kB / 3.528 GB, free: 54.67 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001051/9.976, allocations: 43.97 kB / 3.529 GB, free: 54.63 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/9.976, allocations: 4.938 kB / 3.529 GB, free: 54.62 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001433/9.977, allocations: 0.9921 MB / 3.529 GB, free: 53.62 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/9.977, allocations: 3.703 kB / 3.529 GB, free: 53.62 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.889e-06/9.977, allocations: 8.094 kB / 3.529 GB, free: 53.62 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001192/9.978, allocations: 259.6 kB / 3.53 GB, free: 53.36 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/9.978, allocations: 4 kB / 3.53 GB, free: 53.36 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001315/9.98, allocations: 207.1 kB / 3.53 GB, free: 53.16 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.392e-05/9.98, allocations: 43.92 kB / 3.53 GB, free: 53.11 MB / 0.698 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.i1_w,hex.i2_w) * Number of discrete 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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002497/9.98, allocations: 140.9 kB / 3.53 GB, free: 52.97 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001821/9.98, allocations: 110.7 kB / 3.53 GB, free: 52.86 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001874/9.982, allocations: 1.112 MB / 3.531 GB, free: 51.74 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/9.982, allocations: 8 kB / 3.531 GB, free: 51.73 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/9.982, allocations: 0 / 3.531 GB, free: 51.73 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/9.982, allocations: 3.984 kB / 3.531 GB, free: 51.73 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003687/9.986, allocations: 2.626 MB / 3.534 GB, free: 49 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/9.986, allocations: 4 kB / 3.534 GB, free: 48.99 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001269/9.987, allocations: 252.1 kB / 3.534 GB, free: 48.75 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.354e-05/9.987, allocations: 8 kB / 3.534 GB, free: 48.74 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.113e-05/9.987, allocations: 35.97 kB / 3.534 GB, free: 48.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003973/9.988, allocations: 1.188 MB / 3.535 GB, free: 47.47 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/9.988, allocations: 7.938 kB / 3.535 GB, free: 47.46 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001611/9.989, allocations: 1.397 MB / 3.537 GB, free: 45.91 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006051/9.99, allocations: 315.5 kB / 3.537 GB, free: 45.58 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001324/9.99, allocations: 20 kB / 3.537 GB, free: 45.56 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00124/9.991, allocations: 163.7 kB / 3.537 GB, free: 45.4 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000136/9.991, allocations: 72.31 kB / 3.537 GB, free: 45.33 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.811e-05/9.991, allocations: 39.97 kB / 3.537 GB, free: 45.29 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007185/9.992, allocations: 0.5508 MB / 3.538 GB, free: 44.73 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/9.992, allocations: 0 / 3.538 GB, free: 44.73 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002462/9.995, allocations: 0.7685 MB / 3.539 GB, free: 43.96 MB / 0.698 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 () * 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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00548/10, allocations: 5.213 MB / 3.544 GB, free: 38.54 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002916/10, allocations: 1.682 MB / 3.545 GB, free: 36.82 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.134e-06/10, allocations: 4 kB / 3.545 GB, free: 36.82 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008651/10, allocations: 0.5389 MB / 3.546 GB, free: 36.28 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002693/10.01, allocations: 0.4938 MB / 3.546 GB, free: 35.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01474/10.02, allocations: 2.616 MB / 3.549 GB, free: 33.09 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006317/10.02, allocations: 1.12 MB / 3.55 GB, free: 31.94 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002496/10.02, allocations: 481.8 kB / 3.55 GB, free: 31.47 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006712/10.03, allocations: 383.3 kB / 3.551 GB, free: 31.1 MB / 0.698 GB Notification: Performance of SimCode: time 2.114e-06/10.03, allocations: 0 / 3.551 GB, free: 31.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6306/10.66, allocations: 69.95 MB / 3.619 GB, free: 111.6 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001995/10.66, allocations: 245.1 kB / 3.619 GB, free: 111.2 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.549/15.21, allocations: 0 / 3.619 GB, free: 111.2 MB / 0.7136 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams.fmu > IDEAS_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe 2>&1)