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.01314/0.01314, allocations: 170.2 kB / 15.11 MB, free: 6.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8404/0.8404, allocations: 135.2 MB / 151 MB, free: 13.8 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.677/1.677, allocations: 223.2 MB / 406.8 MB, free: 3.227 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001181/0.001181, allocations: 96.7 kB / 489.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003717/0.0003717, allocations: 8 kB / 0.5692 GB, free: 14.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.516/0.5164, allocations: 82.3 MB / 0.6495 GB, free: 36.14 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.758/5.275, allocations: 1.859 GB / 2.508 GB, free: 117 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002306/5.275, allocations: 91.89 kB / 2.508 GB, free: 116.9 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.823/9.098, allocations: 1.011 GB / 3.519 GB, free: 104.8 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.104e-06/9.098, allocations: 3.938 kB / 3.519 GB, free: 104.8 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001637/9.098, allocations: 31.23 kB / 3.519 GB, free: 104.8 MB / 0.7136 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.00754/9.106, allocations: 1.968 MB / 3.521 GB, free: 104 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/9.106, allocations: 11.62 kB / 3.521 GB, free: 104 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005298/9.106, allocations: 132.6 kB / 3.521 GB, free: 103.9 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003425/9.11, allocations: 0.5511 MB / 3.522 GB, free: 103.9 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003445/9.113, allocations: 1.077 MB / 3.523 GB, free: 103.6 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006299/9.114, allocations: 201.1 kB / 3.523 GB, free: 103.6 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003274/9.114, allocations: 82.19 kB / 3.523 GB, free: 103.6 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003097/9.118, allocations: 1.348 MB / 3.524 GB, free: 103.5 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.243e-05/9.118, allocations: 0 / 3.524 GB, free: 103.5 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001354/9.118, allocations: 28.38 kB / 3.524 GB, free: 103.5 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.416e-05/9.118, allocations: 44.78 kB / 3.524 GB, free: 103.5 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003411/9.121, allocations: 1.503 MB / 3.526 GB, free: 103.5 MB / 0.7136 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.00809/9.129, allocations: 4.186 MB / 3.53 GB, free: 102 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00247/9.132, allocations: 1.074 MB / 3.531 GB, free: 101.9 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009353/9.133, allocations: 0.608 MB / 3.531 GB, free: 101.4 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.058e-05/9.133, allocations: 43.34 kB / 3.532 GB, free: 101.3 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=76): time 3.246e-06/9.133, allocations: 2.594 kB / 3.532 GB, free: 101.3 MB / 0.7136 GB Notification: Performance of matching and sorting (n=76): time 0.005075/9.138, allocations: 1.987 MB / 3.533 GB, free: 101.2 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.25e-05/9.138, allocations: 63.69 kB / 3.534 GB, free: 101.2 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001181/9.139, allocations: 0.7039 MB / 3.534 GB, free: 101 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001613/9.139, allocations: 46.36 kB / 3.534 GB, free: 101 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003529/9.14, allocations: 457.6 kB / 3.535 GB, free: 100.9 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.000225/9.14, allocations: 255.4 kB / 3.535 GB, free: 100.7 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.479e-05/9.14, allocations: 14 kB / 3.535 GB, free: 100.7 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.636e-05/9.14, allocations: 336 kB / 3.535 GB, free: 100.4 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001386/9.141, allocations: 0.5912 MB / 3.536 GB, free: 100.4 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001476/9.143, allocations: 0.7461 MB / 3.537 GB, free: 100.3 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001409/9.144, allocations: 0.641 MB / 3.537 GB, free: 100.3 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/9.144, allocations: 0 / 3.537 GB, free: 100.3 MB / 0.7136 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.0034/9.148, allocations: 1.482 MB / 3.539 GB, free: 100.1 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001493/9.148, allocations: 488.8 kB / 3.539 GB, free: 99.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/9.148, allocations: 6.969 kB / 3.539 GB, free: 99.64 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.19e-05/9.148, allocations: 2.562 kB / 3.539 GB, free: 99.64 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001588/9.15, allocations: 277.2 kB / 3.539 GB, free: 99.64 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005411/9.15, allocations: 1.198 MB / 3.541 GB, free: 98.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001511/9.152, allocations: 203.4 kB / 3.541 GB, free: 98.43 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001267/9.152, allocations: 46.08 kB / 3.541 GB, free: 98.43 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.648e-06/9.152, allocations: 3.906 kB / 3.541 GB, free: 98.43 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003003/9.155, allocations: 1.37 MB / 3.542 GB, free: 98.38 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/9.155, allocations: 0 / 3.542 GB, free: 98.38 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/9.155, allocations: 3.625 kB / 3.542 GB, free: 98.38 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001224/9.156, allocations: 263.3 kB / 3.542 GB, free: 98.38 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/9.156, allocations: 3.531 kB / 3.542 GB, free: 98.38 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001533/9.158, allocations: 199.7 kB / 3.543 GB, free: 98.34 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001232/9.158, allocations: 38.89 kB / 3.543 GB, free: 98.34 MB / 0.7136 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 () * 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 (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.0007881/9.159, allocations: 378.6 kB / 3.543 GB, free: 98.15 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000363/9.159, allocations: 102 kB / 3.543 GB, free: 98.1 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003523/9.163, allocations: 1.499 MB / 3.545 GB, free: 98.03 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.327e-06/9.163, allocations: 7.562 kB / 3.545 GB, free: 98.03 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.787e-06/9.163, allocations: 0 / 3.545 GB, free: 98.03 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.756e-06/9.163, allocations: 3.703 kB / 3.545 GB, free: 98.03 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00583/9.168, allocations: 2.992 MB / 3.547 GB, free: 97.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.197e-06/9.168, allocations: 3.875 kB / 3.547 GB, free: 97.57 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001429/9.17, allocations: 255.3 kB / 3.548 GB, free: 97.57 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.85e-05/9.17, allocations: 8.938 kB / 3.548 GB, free: 97.57 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.302e-05/9.17, allocations: 36.84 kB / 3.548 GB, free: 97.57 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003981/9.17, allocations: 1.186 MB / 3.549 GB, free: 96.4 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.6e-06/9.17, allocations: 9.188 kB / 3.549 GB, free: 96.4 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003417/9.174, allocations: 1.765 MB / 3.551 GB, free: 95.82 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008555/9.175, allocations: 317.6 kB / 3.551 GB, free: 95.67 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002843/9.175, allocations: 18.22 kB / 3.551 GB, free: 95.67 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001545/9.177, allocations: 171.1 kB / 3.551 GB, free: 95.66 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001433/9.177, allocations: 62.16 kB / 3.551 GB, free: 95.66 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001023/9.177, allocations: 43.41 kB / 3.551 GB, free: 95.66 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0008592/9.178, allocations: 0.561 MB / 3.552 GB, free: 95.55 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.61e-07/9.178, allocations: 0 / 3.552 GB, free: 95.55 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002749/9.181, allocations: 0.7534 MB / 3.553 GB, free: 95.5 MB / 0.7136 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 (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.007247/9.188, allocations: 5.616 MB / 3.558 GB, free: 92.62 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.005921/9.194, allocations: 2.219 MB / 3.56 GB, free: 92.48 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.057e-05/9.194, allocations: 0 / 3.56 GB, free: 92.48 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001896/9.196, allocations: 0.731 MB / 3.561 GB, free: 92.47 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00281/9.199, allocations: 0.4955 MB / 3.561 GB, free: 92.45 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01754/9.216, allocations: 4.449 MB / 3.566 GB, free: 90.48 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007747/9.217, allocations: 1.119 MB / 3.567 GB, free: 89.77 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002237/9.219, allocations: 414.4 kB / 3.567 GB, free: 89.76 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008175/9.22, allocations: 395.8 kB / 3.568 GB, free: 89.75 MB / 0.7136 GB Notification: Performance of SimCode: time 1.863e-06/9.22, allocations: 3.312 kB / 3.568 GB, free: 89.75 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09917/9.319, allocations: 62.3 MB / 3.628 GB, free: 52.59 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000183/9.32, allocations: 271 kB / 3.629 GB, free: 52.24 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.073/13.39, allocations: 0 / 3.629 GB, free: 52.24 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)