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.001701/0.001701, allocations: 176.2 kB / 7.649 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.015/1.015, allocations: 133.6 MB / 141.6 MB, free: 2.895 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.893/1.893, allocations: 221.5 MB / 395.4 MB, free: 10.78 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.001156/0.001156, allocations: 105.8 kB / 478.2 MB, free: 1.324 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.41e-05/2.427e-05, allocations: 4 kB / 0.5535 GB, free: 8.965 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5876/0.5876, allocations: 82.3 MB / 0.6339 GB, free: 40.78 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.789/6.377, allocations: 1.858 GB / 2.492 GB, free: 137.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002819/6.377, allocations: 86.2 kB / 2.492 GB, free: 137.8 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.201/10.58, allocations: 0.9988 GB / 3.491 GB, free: 96.19 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.205e-06/10.58, allocations: 0 / 3.491 GB, free: 96.19 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001941/10.58, allocations: 36.58 kB / 3.491 GB, free: 96.19 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.007453/10.59, allocations: 1.792 MB / 3.493 GB, free: 95.48 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.054e-05/10.59, allocations: 11.95 kB / 3.493 GB, free: 95.47 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003477/10.59, allocations: 0.5457 MB / 3.493 GB, free: 95.41 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003326/10.59, allocations: 1.073 MB / 3.494 GB, free: 95.14 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006461/10.59, allocations: 164.5 kB / 3.494 GB, free: 95.13 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002806/10.59, allocations: 47.97 kB / 3.494 GB, free: 95.13 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002099/10.6, allocations: 0.9972 MB / 3.495 GB, free: 95.12 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002122/10.6, allocations: 1.032 MB / 3.496 GB, free: 95.04 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.727e-05/10.6, allocations: 1.969 kB / 3.496 GB, free: 95.04 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001201/10.6, allocations: 0 / 3.496 GB, free: 95.04 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.77e-05/10.6, allocations: 46.53 kB / 3.496 GB, free: 95.04 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.007463/10.61, allocations: 4.002 MB / 3.5 GB, free: 93.56 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001138/10.61, allocations: 0.7339 MB / 3.501 GB, free: 93.54 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006498/10.61, allocations: 0.4949 MB / 3.502 GB, free: 93.52 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009432/10.61, allocations: 0.6104 MB / 3.502 GB, free: 92.96 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.249e-05/10.61, allocations: 47.72 kB / 3.502 GB, free: 92.92 MB / 0.698 GB Notification: Performance of pre-optimization done (n=76): time 2.414e-06/10.61, allocations: 0 / 3.502 GB, free: 92.92 MB / 0.698 GB Notification: Performance of matching and sorting (n=76): time 0.002515/10.61, allocations: 1.139 MB / 3.503 GB, free: 92.82 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.864e-05/10.61, allocations: 61.81 kB / 3.503 GB, free: 92.76 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007484/10.61, allocations: 0.5569 MB / 3.504 GB, free: 92.64 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001041/10.61, allocations: 29.33 kB / 3.504 GB, free: 92.61 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003162/10.61, allocations: 453.5 kB / 3.504 GB, free: 92.45 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002103/10.61, allocations: 247.2 kB / 3.505 GB, free: 92.32 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.838e-05/10.61, allocations: 3.5 kB / 3.505 GB, free: 92.32 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.639e-05/10.61, allocations: 332.9 kB / 3.505 GB, free: 92.02 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005031/10.61, allocations: 395.3 kB / 3.505 GB, free: 92.01 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005966/10.61, allocations: 0.5288 MB / 3.506 GB, free: 91.89 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001091/10.61, allocations: 0.5794 MB / 3.506 GB, free: 91.88 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/10.61, allocations: 0 / 3.506 GB, free: 91.88 MB / 0.698 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002012/10.62, allocations: 1.176 MB / 3.507 GB, free: 91.79 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001788/10.62, allocations: 484 kB / 3.508 GB, free: 91.29 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/10.62, allocations: 7.156 kB / 3.508 GB, free: 91.29 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.32e-05/10.62, allocations: 3.25 kB / 3.508 GB, free: 91.29 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001563/10.62, allocations: 279.2 kB / 3.508 GB, free: 91.29 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005773/10.62, allocations: 1.205 MB / 3.509 GB, free: 90.12 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001319/10.62, allocations: 174.8 kB / 3.51 GB, free: 90.11 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001252/10.62, allocations: 41.88 kB / 3.51 GB, free: 90.11 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/10.62, allocations: 3.281 kB / 3.51 GB, free: 90.11 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001864/10.62, allocations: 1.059 MB / 3.511 GB, free: 90.09 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/10.62, allocations: 0 / 3.511 GB, free: 90.09 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/10.62, allocations: 13.39 kB / 3.511 GB, free: 90.09 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001217/10.62, allocations: 254.8 kB / 3.511 GB, free: 90.09 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.207e-05/10.62, allocations: 4.656 kB / 3.511 GB, free: 90.09 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001234/10.62, allocations: 174 kB / 3.511 GB, free: 90.08 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001053/10.62, allocations: 38.77 kB / 3.511 GB, free: 90.08 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.0002483/10.63, allocations: 118.8 kB / 3.511 GB, free: 89.97 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00182/10.63, allocations: 1.081 MB / 3.512 GB, free: 89.88 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000193/10.63, allocations: 102.5 kB / 3.512 GB, free: 89.82 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002124/10.63, allocations: 1.2 MB / 3.514 GB, free: 89.75 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.566e-06/10.63, allocations: 7 kB / 3.514 GB, free: 89.75 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/10.63, allocations: 3.156 kB / 3.514 GB, free: 89.75 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/10.63, allocations: 3.703 kB / 3.514 GB, free: 89.75 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004362/10.63, allocations: 2.571 MB / 3.516 GB, free: 89.33 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.305e-05/10.63, allocations: 10.75 kB / 3.516 GB, free: 89.33 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00128/10.64, allocations: 250.9 kB / 3.516 GB, free: 89.33 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-05/10.64, allocations: 10.34 kB / 3.516 GB, free: 89.33 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.783e-05/10.64, allocations: 19.44 kB / 3.516 GB, free: 89.33 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004737/10.64, allocations: 1.197 MB / 3.518 GB, free: 88.16 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.995e-06/10.64, allocations: 10.47 kB / 3.518 GB, free: 88.16 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002255/10.64, allocations: 1.488 MB / 3.519 GB, free: 87.58 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007134/10.64, allocations: 305.9 kB / 3.519 GB, free: 87.44 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002185/10.64, allocations: 7.375 kB / 3.519 GB, free: 87.44 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00142/10.64, allocations: 159.5 kB / 3.519 GB, free: 87.43 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000141/10.64, allocations: 66.06 kB / 3.519 GB, free: 87.43 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.32e-05/10.64, allocations: 40.11 kB / 3.52 GB, free: 87.43 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006395/10.64, allocations: 441.7 kB / 3.52 GB, free: 87.34 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/10.64, allocations: 0 / 3.52 GB, free: 87.34 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00267/10.64, allocations: 0.6842 MB / 3.521 GB, free: 87.29 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.006923/10.65, allocations: 5.569 MB / 3.526 GB, free: 84.43 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002997/10.65, allocations: 1.614 MB / 3.528 GB, free: 84.28 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.376e-06/10.65, allocations: 3.625 kB / 3.528 GB, free: 84.28 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009121/10.65, allocations: 0.5178 MB / 3.528 GB, free: 84.28 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002516/10.66, allocations: 425.8 kB / 3.529 GB, free: 84.26 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01542/10.67, allocations: 2.53 MB / 3.531 GB, free: 83.73 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008192/10.67, allocations: 1.116 MB / 3.532 GB, free: 83.03 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002603/10.68, allocations: 453.1 kB / 3.533 GB, free: 83.02 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007111/10.68, allocations: 375.5 kB / 3.533 GB, free: 83.01 MB / 0.698 GB Notification: Performance of SimCode: time 1.322e-06/10.68, allocations: 3.938 kB / 3.533 GB, free: 83.01 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08723/10.76, allocations: 43.54 MB / 3.575 GB, free: 80.87 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000209/10.76, allocations: 194.6 kB / 3.576 GB, free: 80.61 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.025/14.79, allocations: 3.75 kB / 3.576 GB, free: 80.61 MB / 0.698 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)