Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams,fileNamePrefix="IDEAS_dev_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.001166/0.001166, allocations: 174.7 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.7284/0.7284, allocations: 133.4 MB / 146.7 MB, free: 10.78 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.626/1.626, allocations: 221.3 MB / 400.4 MB, free: 5.828 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.001025/0.001025, allocations: 95.36 kB / 483.3 MB, free: 5.867 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.221e-05/4.225e-05, allocations: 3.469 kB / 0.5601 GB, free: 87.83 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2017/0.2018, allocations: 82.3 MB / 0.6405 GB, free: 7.73 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.759/5.961, allocations: 1.859 GB / 2.499 GB, free: 72.15 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002341/5.961, allocations: 83.95 kB / 2.499 GB, free: 72.07 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.087/10.05, allocations: 1.01 GB / 3.509 GB, free: 93.19 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.383e-06/10.05, allocations: 2.938 kB / 3.509 GB, free: 93.19 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001572/10.05, allocations: 30.33 kB / 3.509 GB, free: 93.18 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.006865/10.06, allocations: 1.799 MB / 3.511 GB, free: 92.26 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.066e-05/10.06, allocations: 7.281 kB / 3.511 GB, free: 92.26 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004878/10.06, allocations: 133.3 kB / 3.511 GB, free: 92.2 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003547/10.06, allocations: 0.5412 MB / 3.512 GB, free: 92.01 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00328/10.06, allocations: 1.077 MB / 3.513 GB, free: 91.48 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006793/10.06, allocations: 194.2 kB / 3.513 GB, free: 91.45 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003163/10.06, allocations: 79.25 kB / 3.513 GB, free: 91.45 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00219/10.07, allocations: 1.139 MB / 3.514 GB, free: 91.18 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.086e-05/10.07, allocations: 0 / 3.514 GB, free: 91.18 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001287/10.07, allocations: 36.56 kB / 3.514 GB, free: 91.18 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.61e-05/10.07, allocations: 44.8 kB / 3.514 GB, free: 91.18 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00214/10.07, allocations: 1.115 MB / 3.515 GB, free: 91 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.007558/10.08, allocations: 4.2 MB / 3.519 GB, free: 87.7 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001255/10.08, allocations: 0.7533 MB / 3.52 GB, free: 87.33 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007186/10.08, allocations: 0.5165 MB / 3.521 GB, free: 87.09 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009266/10.08, allocations: 0.6036 MB / 3.521 GB, free: 86.48 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.834e-05/10.08, allocations: 49.67 kB / 3.521 GB, free: 86.43 MB / 0.698 GB Notification: Performance of pre-optimization done (n=76): time 3.086e-06/10.08, allocations: 0 / 3.521 GB, free: 86.43 MB / 0.698 GB Notification: Performance of matching and sorting (n=76): time 0.002188/10.08, allocations: 1.013 MB / 3.522 GB, free: 85.93 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.234e-05/10.08, allocations: 62.31 kB / 3.522 GB, free: 85.87 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001159/10.08, allocations: 0.7065 MB / 3.523 GB, free: 85.48 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001422/10.08, allocations: 45.05 kB / 3.523 GB, free: 85.44 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003322/10.08, allocations: 446.8 kB / 3.523 GB, free: 85.05 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002283/10.08, allocations: 259.6 kB / 3.524 GB, free: 84.83 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.942e-05/10.08, allocations: 12.94 kB / 3.524 GB, free: 84.82 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.516e-05/10.08, allocations: 337.4 kB / 3.524 GB, free: 84.49 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006464/10.08, allocations: 413.7 kB / 3.524 GB, free: 84.3 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007203/10.08, allocations: 0.5381 MB / 3.525 GB, free: 83.97 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006923/10.09, allocations: 472 kB / 3.525 GB, free: 83.71 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/10.09, allocations: 3.844 kB / 3.525 GB, free: 83.71 MB / 0.698 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001871/10.09, allocations: 1.1 MB / 3.526 GB, free: 82.84 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000158/10.09, allocations: 484.8 kB / 3.527 GB, free: 82.34 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.098e-06/10.09, allocations: 0 / 3.527 GB, free: 82.34 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.34e-05/10.09, allocations: 8 kB / 3.527 GB, free: 82.33 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001626/10.09, allocations: 267.2 kB / 3.527 GB, free: 82.08 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005626/10.09, allocations: 1.194 MB / 3.528 GB, free: 80.84 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001542/10.09, allocations: 200.1 kB / 3.528 GB, free: 80.66 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001331/10.09, allocations: 43.97 kB / 3.529 GB, free: 80.61 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/10.09, allocations: 4 kB / 3.529 GB, free: 80.61 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00165/10.09, allocations: 0.9921 MB / 3.529 GB, free: 79.61 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/10.09, allocations: 0 / 3.529 GB, free: 79.61 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/10.09, allocations: 7.594 kB / 3.529 GB, free: 79.61 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00125/10.09, allocations: 253.2 kB / 3.53 GB, free: 79.36 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.778e-05/10.09, allocations: 6.406 kB / 3.53 GB, free: 79.36 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001549/10.1, allocations: 205.8 kB / 3.53 GB, free: 79.17 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001243/10.1, allocations: 43.97 kB / 3.53 GB, free: 79.13 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.0003121/10.1, allocations: 151.4 kB / 3.53 GB, free: 78.98 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003398/10.1, allocations: 106.7 kB / 3.53 GB, free: 78.87 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002187/10.1, allocations: 1.106 MB / 3.531 GB, free: 77.76 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.989e-06/10.1, allocations: 8 kB / 3.531 GB, free: 77.75 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.949e-06/10.1, allocations: 3.984 kB / 3.531 GB, free: 77.75 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.305e-06/10.1, allocations: 0 / 3.531 GB, free: 77.75 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004313/10.1, allocations: 2.622 MB / 3.534 GB, free: 75.05 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.044e-06/10.1, allocations: 4 kB / 3.534 GB, free: 75.04 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001313/10.11, allocations: 261.6 kB / 3.534 GB, free: 74.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-05/10.11, allocations: 4 kB / 3.534 GB, free: 74.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.196e-05/10.11, allocations: 39.84 kB / 3.534 GB, free: 74.76 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004256/10.11, allocations: 1.191 MB / 3.535 GB, free: 73.52 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/10.11, allocations: 4 kB / 3.535 GB, free: 73.52 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001753/10.11, allocations: 1.386 MB / 3.537 GB, free: 72 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007266/10.11, allocations: 319.6 kB / 3.537 GB, free: 71.66 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002271/10.11, allocations: 19.95 kB / 3.537 GB, free: 71.64 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001424/10.11, allocations: 173.3 kB / 3.537 GB, free: 71.49 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001477/10.11, allocations: 59.69 kB / 3.537 GB, free: 71.43 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.844e-05/10.11, allocations: 43.95 kB / 3.537 GB, free: 71.39 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000868/10.11, allocations: 0.5507 MB / 3.538 GB, free: 70.82 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.6e-07/10.11, allocations: 0 / 3.538 GB, free: 70.82 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003177/10.11, allocations: 0.7646 MB / 3.539 GB, free: 70.05 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.006078/10.12, allocations: 5.22 MB / 3.544 GB, free: 65.07 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003053/10.12, allocations: 1.67 MB / 3.545 GB, free: 63.36 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/10.12, allocations: 0 / 3.545 GB, free: 63.36 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009193/10.12, allocations: 0.5463 MB / 3.546 GB, free: 62.82 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002897/10.13, allocations: 0.4939 MB / 3.546 GB, free: 62.34 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01538/10.14, allocations: 2.624 MB / 3.549 GB, free: 59.62 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006817/10.14, allocations: 1.116 MB / 3.55 GB, free: 58.48 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002483/10.15, allocations: 487 kB / 3.55 GB, free: 58.01 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006625/10.15, allocations: 383.3 kB / 3.551 GB, free: 57.64 MB / 0.698 GB Notification: Performance of SimCode: time 1.954e-06/10.15, allocations: 7.875 kB / 3.551 GB, free: 57.63 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1164/10.26, allocations: 69.97 MB / 3.619 GB, free: 4.367 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000238/10.26, allocations: 246.4 kB / 3.619 GB, free: 4.031 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.761/15.02, allocations: 2.25 kB / 3.619 GB, free: 4.031 MB / 0.7136 GB (rm -f IDEAS_dev_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams.fmu > IDEAS_dev_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe 2>&1)