Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8681/0.8681, allocations: 143.3 MB / 158.3 MB, free: 5.773 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001545/0.001545, allocations: 181 kB / 191.5 MB, free: 5.754 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.617/1.617, allocations: 223.2 MB / 447.7 MB, free: 4.84 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.00111/0.00111, allocations: 92.27 kB / 0.5187 GB, free: 1.199 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001786/0.001786, allocations: 274.9 kB / 0.6005 GB, free: 48.8 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004459/0.000446, allocations: 13.56 kB / 0.6929 GB, free: 59.59 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1865/0.1869, allocations: 82.79 MB / 0.7738 GB, free: 13.81 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.797/4.983, allocations: 1.856 GB / 2.63 GB, free: 221.7 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002484/4.984, allocations: 90.48 kB / 2.63 GB, free: 221.7 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.241/8.225, allocations: 1.011 GB / 3.641 GB, free: 16.85 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.773e-06/8.225, allocations: 0 / 3.641 GB, free: 16.85 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.969e-05/8.225, allocations: 35.98 kB / 3.641 GB, free: 16.81 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.006181/8.231, allocations: 1.962 MB / 3.643 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/8.231, allocations: 8.031 kB / 3.643 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002931/8.232, allocations: 143.1 kB / 3.643 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003066/8.235, allocations: 0.537 MB / 3.643 GB, free: 14.1 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002657/8.237, allocations: 1.085 MB / 3.644 GB, free: 12.97 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005573/8.238, allocations: 197.9 kB / 3.645 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001339/8.238, allocations: 80 kB / 3.645 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002503/8.241, allocations: 1.341 MB / 3.646 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.838e-05/8.241, allocations: 0 / 3.646 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.778e-05/8.241, allocations: 35.98 kB / 3.646 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.801e-05/8.241, allocations: 45.98 kB / 3.646 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003038/8.244, allocations: 1.507 MB / 3.648 GB, free: 9.75 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.006279/8.25, allocations: 4.192 MB / 3.652 GB, free: 5.277 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00234/8.253, allocations: 1.085 MB / 3.653 GB, free: 4.184 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008697/8.253, allocations: 0.6009 MB / 3.653 GB, free: 3.473 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.641e-05/8.253, allocations: 43.22 kB / 3.653 GB, free: 3.422 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=76): time 4.538e-06/8.253, allocations: 4 kB / 3.653 GB, free: 3.418 MB / 0.7136 GB Notification: Performance of matching and sorting (n=76): time 0.004616/8.258, allocations: 1.992 MB / 3.655 GB, free: 1.418 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.256e-05/8.258, allocations: 60.06 kB / 3.655 GB, free: 1.348 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009794/8.259, allocations: 0.7052 MB / 3.656 GB, free: 0.6211 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001316/8.259, allocations: 45.7 kB / 3.656 GB, free: 0.5703 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.000255/8.26, allocations: 448.5 kB / 3.657 GB, free: 128 kB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002658/8.26, allocations: 256.3 kB / 3.657 GB, free: 15.87 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.255e-05/8.26, allocations: 16 kB / 3.657 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.000155/8.26, allocations: 337.7 kB / 3.657 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001491/8.262, allocations: 0.5875 MB / 3.658 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001619/8.263, allocations: 0.749 MB / 3.658 GB, free: 14.13 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001567/8.265, allocations: 0.6373 MB / 3.659 GB, free: 13.49 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.758e-06/8.265, allocations: 0 / 3.659 GB, free: 13.49 MB / 0.7292 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003774/8.269, allocations: 1.478 MB / 3.661 GB, free: 12 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002739/8.269, allocations: 486.6 kB / 3.661 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/8.269, allocations: 4 kB / 3.661 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.557e-05/8.269, allocations: 4 kB / 3.661 GB, free: 11.47 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001585/8.27, allocations: 275.6 kB / 3.661 GB, free: 11.2 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008976/8.271, allocations: 1.195 MB / 3.662 GB, free: 9.961 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001524/8.273, allocations: 199.2 kB / 3.663 GB, free: 9.766 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001272/8.273, allocations: 43.97 kB / 3.663 GB, free: 9.723 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/8.273, allocations: 7.938 kB / 3.663 GB, free: 9.715 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003373/8.276, allocations: 1.375 MB / 3.664 GB, free: 8.332 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/8.276, allocations: 0 / 3.664 GB, free: 8.332 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.816e-06/8.277, allocations: 4 kB / 3.664 GB, free: 8.328 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001313/8.278, allocations: 259.7 kB / 3.664 GB, free: 8.074 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.056e-05/8.278, allocations: 4 kB / 3.664 GB, free: 8.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001552/8.279, allocations: 203.2 kB / 3.664 GB, free: 7.871 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001029/8.28, allocations: 39.97 kB / 3.664 GB, free: 7.832 MB / 0.7292 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.0008495/8.28, allocations: 370 kB / 3.665 GB, free: 7.461 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002239/8.281, allocations: 102.7 kB / 3.665 GB, free: 7.359 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003712/8.284, allocations: 1.5 MB / 3.666 GB, free: 5.855 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.788e-06/8.284, allocations: 8 kB / 3.666 GB, free: 5.848 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/8.284, allocations: 0 / 3.666 GB, free: 5.848 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.211e-05/8.284, allocations: 7.938 kB / 3.666 GB, free: 5.84 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006371/8.291, allocations: 2.983 MB / 3.669 GB, free: 2.754 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.057e-05/8.291, allocations: 8.453 kB / 3.669 GB, free: 2.746 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001358/8.292, allocations: 263.5 kB / 3.67 GB, free: 2.488 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-05/8.292, allocations: 15.95 kB / 3.67 GB, free: 2.473 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-05/8.292, allocations: 27.98 kB / 3.67 GB, free: 2.445 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006968/8.293, allocations: 1.188 MB / 3.671 GB, free: 1.211 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/8.293, allocations: 4.188 kB / 3.671 GB, free: 1.207 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4351/8.728, allocations: 1.762 MB / 3.673 GB, free: 107.1 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007167/8.729, allocations: 317.5 kB / 3.673 GB, free: 107 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001447/8.729, allocations: 16.25 kB / 3.673 GB, free: 107 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00133/8.73, allocations: 174.4 kB / 3.673 GB, free: 107 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001298/8.731, allocations: 62.89 kB / 3.673 GB, free: 107 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.153e-05/8.731, allocations: 36.34 kB / 3.673 GB, free: 107 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0007472/8.731, allocations: 0.5656 MB / 3.674 GB, free: 106.9 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.71e-07/8.731, allocations: 0 / 3.674 GB, free: 106.9 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.00235/8.734, allocations: 0.7591 MB / 3.674 GB, free: 106.8 MB / 0.7292 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.00716/8.741, allocations: 5.607 MB / 3.68 GB, free: 104.1 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.005464/8.746, allocations: 2.214 MB / 3.682 GB, free: 104 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 8.766e-06/8.746, allocations: 2.156 kB / 3.682 GB, free: 104 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001773/8.748, allocations: 0.7367 MB / 3.683 GB, free: 103.9 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002615/8.751, allocations: 0.4941 MB / 3.683 GB, free: 103.9 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0176/8.769, allocations: 4.452 MB / 3.688 GB, free: 102 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008518/8.769, allocations: 1.115 MB / 3.689 GB, free: 101.3 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.002411/8.772, allocations: 411.1 kB / 3.689 GB, free: 101.3 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007626/8.773, allocations: 394.3 kB / 3.689 GB, free: 101.3 MB / 0.7292 GB Notification: Performance of SimCode: time 1.393e-06/8.773, allocations: 0 / 3.689 GB, free: 101.3 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09676/8.869, allocations: 62.34 MB / 3.75 GB, free: 100.1 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002005/8.87, allocations: 298.1 kB / 3.751 GB, free: 99.7 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.334/13.2, allocations: 0 / 3.751 GB, free: 99.7 MB / 0.7292 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams.fmu > BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe 2>&1)